8c: skip 64-bit regpair allocation for OINDEX nodes in cgen64()
OINDEX can only return TLONG result on 386 so give it a register instead of a regpair and let gmove() handle the conversion.
This commit is contained in:
parent
7d3cc1c55a
commit
9f6967ed7e
1 changed files with 1 additions and 1 deletions
|
@ -2526,7 +2526,7 @@ twoop:
|
|||
case OCAST:
|
||||
l = n->left;
|
||||
if(typev[l->type->etype]) {
|
||||
if(!vaddr(l, 1)) {
|
||||
if(!vaddr(l, 1) && l->op != OINDEX) { // theres no 64 bit indexing
|
||||
if(l->complex + 1 > nn->complex) {
|
||||
d = regpair(Z, l);
|
||||
sugen(l, d, 8);
|
||||
|
|
Loading…
Reference in a new issue