7l: fix vlong constants in literal pool for non-MOV instructions
This commit is contained in:
parent
12fc1c7d3e
commit
b56ba6210f
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ addpool(Prog *p, Adr *a)
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue