Re: [PATCH] target/ppc: Change FPSCR_* to follow POWER ISA numbering convention

2022-06-27 Thread Daniel Henrique Barboza
On 6/22/22 16:32, Víctor Colombo wrote: FPSCR_* bit values in QEMU are in the 'inverted' order from what Power ISA defines (e.g. FPSCR.FI is bit 46 but is defined as 17 in cpu.h). Now that PPC_BIT_NR macro was introduced to fix this situation for the MSR bits, we can use it for the FPSCR bits

Re: [PATCH] target/ppc: Change FPSCR_* to follow POWER ISA numbering convention

2022-06-23 Thread Fabiano Rosas
Víctor Colombo writes: > FPSCR_* bit values in QEMU are in the 'inverted' order from what Power > ISA defines (e.g. FPSCR.FI is bit 46 but is defined as 17 in cpu.h). > Now that PPC_BIT_NR macro was introduced to fix this situation for the > MSR bits, we can use it for the FPSCR bits too. > > Als

[PATCH] target/ppc: Change FPSCR_* to follow POWER ISA numbering convention

2022-06-22 Thread Víctor Colombo
FPSCR_* bit values in QEMU are in the 'inverted' order from what Power ISA defines (e.g. FPSCR.FI is bit 46 but is defined as 17 in cpu.h). Now that PPC_BIT_NR macro was introduced to fix this situation for the MSR bits, we can use it for the FPSCR bits too. Also, adjust the comments to make then