aboutsummaryrefslogtreecommitdiff
path: root/src/vm_ppc.dasc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/vm_ppc.dasc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vm_ppc.dasc b/src/vm_ppc.dasc
index 37be772d..440bf1c4 100644
--- a/src/vm_ppc.dasc
+++ b/src/vm_ppc.dasc
@@ -3962,11 +3962,13 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
3962 | bne >5 3962 | bne >5
3963 |.if GPR64 3963 |.if GPR64
3964 | lus TMP2, 0x8000 3964 | lus TMP2, 0x8000
3965 | neg TMP0, TMP0 3965 | neg. TMP0, TMP0
3966 | beq >8
3966 | cmplw TMP0, TMP2 3967 | cmplw TMP0, TMP2
3967 | beq >4 3968 | beq >4
3968 |.else 3969 |.else
3969 | nego. TMP0, TMP0 3970 | nego. TMP0, TMP0
3971 | beq >8
3970 | bso >4 3972 | bso >4
3971 |1: 3973 |1:
3972 |.endif 3974 |.endif
@@ -3993,6 +3995,9 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
3993 | stw TMP0, 4(RA) 3995 | stw TMP0, 4(RA)
3994 |.if DUALNUM 3996 |.if DUALNUM
3995 | b <3 3997 | b <3
3998 |8:
3999 | lus TMP1, 0x8000 // -0.
4000 | b <7
3996 |.else 4001 |.else
3997 | ins_next2 4002 | ins_next2
3998 |.endif 4003 |.endif