On 07/06/2018 04:40 AM, Stefan Markovic wrote: > +#if defined(TARGET_MIPS64) > + tcg_gen_andi_i64(arg, arg, ~0xffff); > +#else > + tcg_gen_andi_i32(arg, arg, ~0xffff); > +#endif
That's what tcg_gen_andi_tl is for -- avoiding such ifdefs. r~
On 07/06/2018 04:40 AM, Stefan Markovic wrote: > +#if defined(TARGET_MIPS64) > + tcg_gen_andi_i64(arg, arg, ~0xffff); > +#else > + tcg_gen_andi_i32(arg, arg, ~0xffff); > +#endif
That's what tcg_gen_andi_tl is for -- avoiding such ifdefs. r~