From: kub Date: Sun, 21 Mar 2021 21:41:32 +0000 (+0100) Subject: sh2 drc, adjust max ld/st offset in arm backend X-Git-Tag: v2.00~582 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa8a3b65f14336d1ed6370a8e90dfd5426555920;p=picodrive.git sh2 drc, adjust max ld/st offset in arm backend --- diff --git a/cpu/drc/emit_arm.c b/cpu/drc/emit_arm.c index c9d5e674..2e5a1bb5 100644 --- a/cpu/drc/emit_arm.c +++ b/cpu/drc/emit_arm.c @@ -1263,7 +1263,7 @@ static inline void emith_pool_adjust(int tcache_offs, int move_offs) #define host_arg2reg(rd, arg) \ rd = arg -#define emith_rw_offs_max() 0xff +#define emith_rw_offs_max() 0x1ff // minimum of offset in AM2 and AM3 /* SH2 drc specific */ /* pushes r12 for eabi alignment */