changeset 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 599e3d6d0dbd 186d44690036
files gen/asm-x86-64.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gen/asm-x86-64.h	Sun Mar 08 02:46:37 2009 +0100
+++ b/gen/asm-x86-64.h	Sun Mar 08 04:23:44 2009 +0100
@@ -1875,7 +1875,7 @@
                 if ( operands[0].dataSize == Far_Ptr ) // %% type=Far_Ptr not set by Seg:Ofss OTOH, we don't support that..
                     insnTemplate->writebyte ( 'l' );
             }
-            else if ( op == Op_fxch )
+            else if ( op == Op_fxch || op == Op_FfdRR_P)
             {
                 // gas won't accept the two-operand form
                 if ( operands[1].cls == Opr_Reg && operands[1].reg == Reg_ST )