* armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 4 Jul 2000 06:06:30 +0000 (06:06 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 4 Jul 2000 06:06:30 +0000 (06:06 +0000)
commit4ef2594f4ed0fe4191d9e791e84b6241f968fc7c
tree545186364e09c607b926694db19d6ec5755133f7
parent8de8f17e3d3138b6f1e31105823d8bb4efc66723
* armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
(SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
(SETPSR, SET_INTMODE, SETCC): Removed.
* armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
mask.  Use SETPSR_* to modify PSR.
(ARMul_SetCPSR): Load all bits from value.
* armemu.c (ARMul_Emulate, msr): Do not test bit mask.
sim/arm/ChangeLog
sim/arm/armemu.c
sim/arm/armemu.h
sim/arm/armsupp.c