Explorar o código

sh2 drc, adjust max ld/st offset in arm backend

kub %!s(int64=3) %!d(string=hai) anos
pai
achega
aa8a3b65f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cpu/drc/emit_arm.c

+ 1 - 1
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 */