|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 2/3] target/ppc: ppc_store_fpscr doesn't update bit 52 |
Date: | Fri, 19 Nov 2021 10:21:05 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
On 11/18/21 2:25 PM, Lucas Mateus Castro (alqotel) wrote:
+/* FPSCR bits that can be set by mtfsf, mtfsfi and mtfsb1 */ +#define FPSCR_MTFS_MASK (~((1ull << 11) | FP_VX | FP_FEX))
If you're going to make the reserved bit 52 read-as-zero-writes-ignored, you should do the same for reserved bits 0-31. Otherwise drop this and let the bits be read-write with no effect.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |