Mercurial > projects > ldc
comparison gen/asm-x86-64.h @ 1059:7f0e5ae75fcc
really fixed fstp a, b; on x86-64
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Sun, 08 Mar 2009 04:23:44 +0100 |
parents | 8bc277ef23a5 |
children | 9c63438c3207 |
comparison
equal
deleted
inserted
replaced
1058:8bc277ef23a5 | 1059:7f0e5ae75fcc |
---|---|
1873 else if ( op == Op_Branch ) | 1873 else if ( op == Op_Branch ) |
1874 { | 1874 { |
1875 if ( operands[0].dataSize == Far_Ptr ) // %% type=Far_Ptr not set by Seg:Ofss OTOH, we don't support that.. | 1875 if ( operands[0].dataSize == Far_Ptr ) // %% type=Far_Ptr not set by Seg:Ofss OTOH, we don't support that.. |
1876 insnTemplate->writebyte ( 'l' ); | 1876 insnTemplate->writebyte ( 'l' ); |
1877 } | 1877 } |
1878 else if ( op == Op_fxch ) | 1878 else if ( op == Op_fxch || op == Op_FfdRR_P) |
1879 { | 1879 { |
1880 // gas won't accept the two-operand form | 1880 // gas won't accept the two-operand form |
1881 if ( operands[1].cls == Opr_Reg && operands[1].reg == Reg_ST ) | 1881 if ( operands[1].cls == Opr_Reg && operands[1].reg == Reg_ST ) |
1882 { | 1882 { |
1883 nOperands = 1; | 1883 nOperands = 1; |