#define CLOBBER_BT clobber_flags()
#define CLOBBER_BSF clobber_flags()
+#ifdef CPU_x86_64
+/* Must use USE_NEW_RTASM for 64-bit */
+#define USE_NEW_RTASM 1
+#else
/* The older code generator is now deprecated. */
#define USE_NEW_RTASM 1
+#endif
#if USE_NEW_RTASM
LOWFUNC(NONE,NONE,2,raw_imul_64_32,(RW4 d, RW4 s))
{
if (d!=MUL_NREG1 || s!=MUL_NREG2) {
- jit_abort("Bad register in IMUL: d=%d, s=%d\n"),d,s);
+ jit_abort("Bad register in IMUL: d=%d, s=%d\n",d,s);
}
emit_byte(0xf7);
emit_byte(0xea);
CALLm(t);
#else
emit_byte(0xe8);
- emit_long(t-(uae_u32)target-4);
+ emit_long(t-(uintptr)target-4);
#endif
}
JMPm(t);
#else
emit_byte(0xe9);
- emit_long(t-(uae_u32)target-4);
+ emit_long(t-(uintptr)target-4);
#endif
}