Handle inf/nan if dummy2 flag is set
This commit is contained in:
parent
624e9d110e
commit
c9e92348a6
|
@ -63,6 +63,8 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define FLAG r11
|
||||||
|
|
||||||
#define FZERO f0
|
#define FZERO f0
|
||||||
#define ALPHA f1
|
#define ALPHA f1
|
||||||
|
|
||||||
|
@ -88,6 +90,10 @@
|
||||||
fcmpu cr0, FZERO, ALPHA
|
fcmpu cr0, FZERO, ALPHA
|
||||||
bne- cr0, LL(A1I1)
|
bne- cr0, LL(A1I1)
|
||||||
|
|
||||||
|
lwz FLAG, FRAMESLOT(0)(SP)
|
||||||
|
cmpwi cr0, FLAG, 1
|
||||||
|
beq- cr0, LL(A1I1)
|
||||||
|
|
||||||
srawi. r0, N, 4
|
srawi. r0, N, 4
|
||||||
mtspr CTR, r0
|
mtspr CTR, r0
|
||||||
beq- cr0, LL(A0I1_Remain)
|
beq- cr0, LL(A0I1_Remain)
|
||||||
|
|
Loading…
Reference in New Issue