changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/src/cmd/7l/span.c

revision 7146: ffe417e0ec24
parent 7145: 84d616f1d180
child 7170: 55bc217eb3f5
     1.1--- a/sys/src/cmd/7l/span.c
     1.2+++ b/sys/src/cmd/7l/span.c
     1.3@@ -207,7 +207,7 @@ addpool(Prog *p, Adr *a)
     1.4 	t = zprg;
     1.5 	t.as = AWORD;
     1.6 	sz = 4;
     1.7-	if(p->as == AMOV) {
     1.8+	if(p->as == AMOV || (cmp(C_VCON, c) && (ulong)(a->offset & 0xFFFFFFFF) != a->offset)) {
     1.9 		t.as = ADWORD;
    1.10 		sz = 8;
    1.11 	}