lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
path: root/lib/jit_mips-cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jit_mips-cpu.c')
-rw-r--r--lib/jit_mips-cpu.c 4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jit_mips-cpu.c b/lib/jit_mips-cpu.c
index 59ffceb..0e1f0ed 100644
--- a/lib/jit_mips-cpu.c
+++ b/lib/jit_mips-cpu.c
@@ -1218,7 +1218,7 @@ _jit_get_reg_for_delay_slot(jit_state_t *_jit, jit_int32_t mask,
assert(i.ic.b == 0);
/* If these cop1 instructions in delay slot
* wont work */
- if (!jit_cpu.cop1_delay == 0)
+ if (!jit_cpu.cop1_delay)
flush();
if (mask & jit_class_gpr) {
regs[0] = i.rt.b;
@@ -1422,7 +1422,7 @@ _jit_get_reg_for_delay_slot(jit_state_t *_jit, jit_int32_t mask,
case MIPS_SWC1: /* 39 */
case MIPS_SDC1: /* 3d */
/* If these cop1 instructions in delay wont not work */
- if (!jit_cpu.cop1_delay == 0)
+ if (!jit_cpu.cop1_delay)
flush();
if (mask & jit_class_gpr) {
regs[0] = i.rs.b;
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月30日 04:11:34 +0000

AltStyle によって変換されたページ (->オリジナル) /