target/sparc: Split psr and xcc into components
Step in removing CC_OP: change the representation of CC_OP_FLAGS. The 8 bits are distributed between 6 variables, which should make it easy to keep up to date. The code within cc_helper.c is quite ugly but is only temporary. Tested-by:Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by:
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Showing
- linux-user/sparc/cpu_loop.c 2 additions, 4 deletionslinux-user/sparc/cpu_loop.c
- linux-user/sparc/target_cpu.h 12 additions, 5 deletionslinux-user/sparc/target_cpu.h
- target/sparc/cc_helper.c 24 additions, 27 deletionstarget/sparc/cc_helper.c
- target/sparc/cpu.h 27 additions, 3 deletionstarget/sparc/cpu.h
- target/sparc/machine.c 44 additions, 1 deletiontarget/sparc/machine.c
- target/sparc/translate.c 136 additions, 222 deletionstarget/sparc/translate.c
- target/sparc/win_helper.c 44 additions, 8 deletionstarget/sparc/win_helper.c
Loading
Please register or sign in to comment