Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1300:329e45865d84 | 1301:1e30cc395d2e |
---|---|
1941 } | 1941 } |
1942 } | 1942 } |
1943 else if ( op == Op_FMath0 || op == Op_FdST0ST1 ) | 1943 else if ( op == Op_FMath0 || op == Op_FdST0ST1 ) |
1944 { | 1944 { |
1945 operands[0].cls = Opr_Reg; | 1945 operands[0].cls = Opr_Reg; |
1946 operands[0].reg = Reg_ST; | 1946 operands[0].reg = Reg_ST1; |
1947 operands[1].cls = Opr_Reg; | 1947 operands[1].cls = Opr_Reg; |
1948 operands[1].reg = Reg_ST1; | 1948 operands[1].reg = Reg_ST; |
1949 nOperands = 2; | 1949 nOperands = 2; |
1950 } | 1950 } |
1951 | 1951 |
1952 switch ( op ) | 1952 switch ( op ) |
1953 { | 1953 { |