Author: fijal
Branch: arm64
Changeset: r96907:8a81fd7acc58
Date: 2019-07-01 18:00 +0200
http://bitbucket.org/pypy/pypy/changeset/8a81fd7acc58/
Log: we don't support negative offsets for STR
diff --git a/rpython/jit/backend/aarch64/assembler.py
b/rpython/jit/backend/aarch64/assembler.py
--- a/rpython/jit/backend/aarch64/assembler.py
+++ b/rpython/jit/backend/aarch64/assembler.py
@@ -447,7 +447,8 @@
if gcrootmap and gcrootmap.is_shadow_stack:
self._load_shadowstack_top(mc, r.x19, gcrootmap)
# store the new jitframe addr in the shadowstack
- mc.STR_ri(r.x0.value, r.x19.value, -WORD)
+ mc.SUB_ri(r.x19.value, r.x19.value, WORD)
+ mc.STR_ri(r.x0.value, r.x19.value, 0)
# reset the jf_gcmap field in the jitframe
mc.gen_load_int(r.ip0.value, 0)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit