Mercurial > projects > ldc
comparison gen/asm-x86-32.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 |
comparison
equal
deleted
inserted
replaced
1300:329e45865d84 | 1301:1e30cc395d2e |
---|---|
1819 } | 1819 } |
1820 } | 1820 } |
1821 else if ( op == Op_FMath0 || op == Op_FdST0ST1 ) | 1821 else if ( op == Op_FMath0 || op == Op_FdST0ST1 ) |
1822 { | 1822 { |
1823 operands[0].cls = Opr_Reg; | 1823 operands[0].cls = Opr_Reg; |
1824 operands[0].reg = Reg_ST; | 1824 operands[0].reg = Reg_ST1; |
1825 operands[1].cls = Opr_Reg; | 1825 operands[1].cls = Opr_Reg; |
1826 operands[1].reg = Reg_ST1; | 1826 operands[1].reg = Reg_ST; |
1827 nOperands = 2; | 1827 nOperands = 2; |
1828 } | 1828 } |
1829 | 1829 |
1830 switch ( op ) | 1830 switch ( op ) |
1831 { | 1831 { |