Mercurial > projects > ldc
diff gen/asm-x86-64.h @ 1301:1e30cc395d2e
fix wrong arg order for fmul/fadd
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Tue, 05 May 2009 11:51:00 -0600 |
parents | ea7b8b6c96c0 |
children | a26b99b7e293 |
line wrap: on
line diff
--- a/gen/asm-x86-64.h Mon May 04 20:26:45 2009 +0200 +++ b/gen/asm-x86-64.h Tue May 05 11:51:00 2009 -0600 @@ -1943,9 +1943,9 @@ else if ( op == Op_FMath0 || op == Op_FdST0ST1 ) { operands[0].cls = Opr_Reg; - operands[0].reg = Reg_ST; + operands[0].reg = Reg_ST1; operands[1].cls = Opr_Reg; - operands[1].reg = Reg_ST1; + operands[1].reg = Reg_ST; nOperands = 2; }