mirror of
https://github.com/golang/go
synced 2024-11-22 03:14:41 -07:00
cmd/6c: use full 64-bit address in block copy
Already fixed independently in Plan 9. R=ken2 CC=golang-dev https://golang.org/cl/10041044
This commit is contained in:
parent
26d43a0f22
commit
f268c295a3
@ -1679,7 +1679,7 @@ copy:
|
||||
|
||||
if(n->complex >= FNX && nn != nil && nn->complex >= FNX) {
|
||||
t = nn->type;
|
||||
nn->type = types[TLONG];
|
||||
nn->type = types[TIND];
|
||||
regialloc(&nod1, nn, Z);
|
||||
lcgen(nn, &nod1);
|
||||
regsalloc(&nod2, nn);
|
||||
@ -1786,7 +1786,7 @@ copy:
|
||||
c = 0;
|
||||
if(n->complex > nn->complex) {
|
||||
t = n->type;
|
||||
n->type = types[TLONG];
|
||||
n->type = types[TIND];
|
||||
nodreg(&nod1, n, D_SI);
|
||||
if(reg[D_SI]) {
|
||||
gins(APUSHQ, &nod1, Z);
|
||||
@ -1797,7 +1797,7 @@ copy:
|
||||
n->type = t;
|
||||
|
||||
t = nn->type;
|
||||
nn->type = types[TLONG];
|
||||
nn->type = types[TIND];
|
||||
nodreg(&nod2, nn, D_DI);
|
||||
if(reg[D_DI]) {
|
||||
warn(Z, "DI botch");
|
||||
@ -1809,7 +1809,7 @@ warn(Z, "DI botch");
|
||||
nn->type = t;
|
||||
} else {
|
||||
t = nn->type;
|
||||
nn->type = types[TLONG];
|
||||
nn->type = types[TIND];
|
||||
nodreg(&nod2, nn, D_DI);
|
||||
if(reg[D_DI]) {
|
||||
warn(Z, "DI botch");
|
||||
@ -1821,7 +1821,7 @@ warn(Z, "DI botch");
|
||||
nn->type = t;
|
||||
|
||||
t = n->type;
|
||||
n->type = types[TLONG];
|
||||
n->type = types[TIND];
|
||||
nodreg(&nod1, n, D_SI);
|
||||
if(reg[D_SI]) {
|
||||
gins(APUSHQ, &nod1, Z);
|
||||
|
Loading…
Reference in New Issue
Block a user