From: Roger Sayle Date: Thu, 2 Dec 2004 05:31:06 +0000 (+0000) Subject: re PR target/9908 ([x86] wrong code generated for virtual method call with -masm... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a46f71d27fb39e679d2c63c2d98bfadab0996d0;p=gcc.git re PR target/9908 ([x86] wrong code generated for virtual method call with -masm-intel) PR target/9908 * config/i386/i386.md (*call_value_1, *sibcall_value_1): Correct Intel assembler syntax by using %A1 instead of %*%1. From-SVN: r91616 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca416a9f14d..c30026637e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-12-01 Roger Sayle + + PR target/9908 + * config/i386/i386.md (*call_value_1, *sibcall_value_1): Correct + Intel assembler syntax by using %A1 instead of %*%1. + 2004-12-01 Richard Henderson * expr.c (expand_assignment): Handle CONCAT both as a final diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index dd5cf13ae7f..84617c5f7eb 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -19878,7 +19878,7 @@ { if (constant_call_address_operand (operands[1], Pmode)) return "call\t%P1"; - return "call\t%*%1"; + return "call\t%A1"; } [(set_attr "type" "callv")]) @@ -19890,7 +19890,7 @@ { if (constant_call_address_operand (operands[1], Pmode)) return "jmp\t%P1"; - return "jmp\t%*%1"; + return "jmp\t%A1"; } [(set_attr "type" "callv")])