ref: 7afe297816cccce708f7f770f4592d7a0d296e46
parent: bfa882b3d7bf36c54c5dadb54193bd9bafeba220
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Apr 8 10:15:39 EDT 2019
7l: fix vlong constants in literal pool for non-MOV instructions
--- a/sys/src/cmd/7l/span.c
+++ b/sys/src/cmd/7l/span.c
@@ -207,7 +207,7 @@
t = zprg;
t.as = AWORD;
sz = 4;
- if(p->as == AMOV) {+ if(p->as == AMOV || (cmp(C_VCON, c) && (ulong)(a->offset & 0xFFFFFFFF) != a->offset)) {t.as = ADWORD;
sz = 8;
}
--
⑨