comparison gen/asm-x86-64.h @ 979:523bf4f166bc

Fix some assembler issues: The assembler was miscompiling "add" (specifically, the "add reg/mem, imm" variations). The change that caused this seems to have been made because without it, some "add"s didn't compile at all. This patch reverts the previous change, and makes sure assembler operands are remapped correctly even though the input operands auto-generated due to updating operations aren't explicitly used.
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 18 Feb 2009 21:46:14 +0100
parents fb31a4afa2df
children 16e2c750c857
comparison
equal deleted inserted replaced
978:6a32d2e18175 979:523bf4f166bc
628 */ 628 */
629 629
630 static AsmOpEnt opData[] = 630 static AsmOpEnt opData[] =
631 { 631 {
632 { "adc", Op_UpdSrcF }, 632 { "adc", Op_UpdSrcF },
633 633 { "add", Op_UpdSrcF },
634 { "add", Op_DstSrcNT }, //Op_UpdSrcF },
635 { "addpd", Op_DstSrcSSE }, 634 { "addpd", Op_DstSrcSSE },
636 { "addps", Op_DstSrcSSE }, 635 { "addps", Op_DstSrcSSE },
637 { "addq", Op_DstSrcSSE }, 636 { "addq", Op_DstSrcSSE },
638 { "addsd", Op_DstSrcSSE }, 637 { "addsd", Op_DstSrcSSE },
639 { "addss", Op_DstSrcSSE }, 638 { "addss", Op_DstSrcSSE },