Re: [PATCH] target/arm/tcg/cpu32.c: swap ATCM and BTCM register names

2024-11-25 Thread Peter Maydell
On Thu, 21 Nov 2024 at 17:16, Michael Tokarev wrote: > > According to Cortex-R5 r1p2 manual, register with opcode2=0 is > BTCM and with opcode2=1 is ATCM, - exactly the opposite from how > qemu labels them. Just swap the labels to avoid confusion, - > both registers are implemented as always-zero

Re: [PATCH] target/arm/tcg/cpu32.c: swap ATCM and BTCM register names

2024-11-22 Thread Richard Henderson
On 11/21/24 11:16, Michael Tokarev wrote: According to Cortex-R5 r1p2 manual, register with opcode2=0 is BTCM and with opcode2=1 is ATCM, - exactly the opposite from how qemu labels them. Just swap the labels to avoid confusion, - both registers are implemented as always-zero. Signed-off-by: Mi

[PATCH] target/arm/tcg/cpu32.c: swap ATCM and BTCM register names

2024-11-21 Thread Michael Tokarev
According to Cortex-R5 r1p2 manual, register with opcode2=0 is BTCM and with opcode2=1 is ATCM, - exactly the opposite from how qemu labels them. Just swap the labels to avoid confusion, - both registers are implemented as always-zero. Signed-off-by: Michael Tokarev --- target/arm/tcg/cpu32.c |