mirror of
https://github.com/golang/go
synced 2024-11-12 09:50:21 -07:00
fix 386 build
R=ken OCL=34164 CL=34164
This commit is contained in:
parent
bdec330c85
commit
40bcbb30b7
@ -1289,7 +1289,7 @@ gmove(Node *f, Node *t)
|
||||
if(t->op == OREGISTER)
|
||||
goto hardmem;
|
||||
nodreg(&r1, types[ft], D_F0);
|
||||
if(ft == TFLOAT32)
|
||||
if(ft == TFLOAT32 && f->op != OREGISTER)
|
||||
gins(AFMOVF, f, &r1);
|
||||
else
|
||||
gins(AFMOVD, f, &r1);
|
||||
@ -1630,6 +1630,9 @@ gins(int as, Node *f, Node *t)
|
||||
{
|
||||
Prog *p;
|
||||
|
||||
if(as == AFMOVF && f && f->op == OREGISTER && t && t->op == OREGISTER)
|
||||
fatal("gins MOVF reg, reg");
|
||||
|
||||
switch(as) {
|
||||
case AMOVB:
|
||||
case AMOVW:
|
||||
|
Loading…
Reference in New Issue
Block a user