rtc style

This commit is contained in:
Elliot Nunn 2018-07-15 18:45:36 +08:00
parent 05350c4884
commit dbb5a001b8
2 changed files with 6 additions and 8 deletions

View File

@ -53,11 +53,9 @@ IllegalInstruction
bc BO_IF_NOT, 15, @FAIL
@retry_rtc
DIALECT POWER
mfrtcu r20
mfrtcl r21
mfrtcu r23
DIALECT POWERPC
mfspr r20, rtcu
mfspr r21, rtcl
mfspr r23, rtcu
xor. r23, r23, r20
lis r23, 1000000000 >> 16
rlwinm r28, r8, 13, 25, 29 ; r28 = dest register number * 4

View File

@ -2848,9 +2848,9 @@ FDP_18d8
FDP_18ec
DIALECT POWER
mfrtcu r20 ; RTCU = 4
mfrtcl r21 ; RTCL = 5
mfrtcu r23 ; RTCU = 4
mfspr r20, rtcu
mfspr r21, rtcu
mfspr r23, rtcu
DIALECT PowerPC
xor. r23, r23, r20