i386.c (x86_output_mi_thunk): Use movq alternative mnemonic in this_param move for TARGET_64BIT.
2008-05-04 Kai Tietz <kai.tietz@onevision.com> * config/i386/i386.c (x86_output_mi_thunk): Use movq alternative mnemonic in this_param move for TARGET_64BIT. From-SVN: r134935
This commit is contained in:
parent
da96f5ab49
commit
8fa8585de8
@ -1,3 +1,8 @@
|
||||
2008-05-04 Kai Tietz <kai.tietz@onevision.com>
|
||||
|
||||
* config/i386/i386.c (x86_output_mi_thunk): Use movq alternative
|
||||
mnemonic in this_param move for TARGET_64BIT.
|
||||
|
||||
2008-05-04 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386.md (*strmovsi_1): Simplify asm alternatives.
|
||||
|
@ -23042,7 +23042,10 @@ x86_output_mi_thunk (FILE *file ATTRIBUTE_UNUSED,
|
||||
/* Put the this parameter into %eax. */
|
||||
xops[0] = this_param;
|
||||
xops[1] = this_reg = gen_rtx_REG (Pmode, AX_REG);
|
||||
output_asm_insn ("mov{l}\t{%0, %1|%1, %0}", xops);
|
||||
if (TARGET_64BIT)
|
||||
output_asm_insn ("mov{q}\t{%0, %1|%1, %0}", xops);
|
||||
else
|
||||
output_asm_insn ("mov{l}\t{%0, %1|%1, %0}", xops);
|
||||
}
|
||||
else
|
||||
this_reg = NULL_RTX;
|
||||
@ -23111,7 +23114,10 @@ x86_output_mi_thunk (FILE *file ATTRIBUTE_UNUSED,
|
||||
{
|
||||
xops[0] = this_reg;
|
||||
xops[1] = this_param;
|
||||
output_asm_insn ("mov{l}\t{%0, %1|%1, %0}", xops);
|
||||
if (TARGET_64BIT)
|
||||
output_asm_insn ("mov{q}\t{%0, %1|%1, %0}", xops);
|
||||
else
|
||||
output_asm_insn ("mov{l}\t{%0, %1|%1, %0}", xops);
|
||||
}
|
||||
|
||||
xops[0] = XEXP (DECL_RTL (function), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user