Forráskód Böngészése

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

kub 3 éve
szülő
commit
aa8a3b65f1
1 módosított fájl, 1 hozzáadás és 1 törlés
  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 */