(extendsidi2): Use cdq or cltd, not cwtl.
From-SVN: r4371
This commit is contained in:
parent
9a881562eb
commit
71a247f08c
@ -1130,8 +1130,14 @@
|
||||
"*
|
||||
{
|
||||
if (REGNO (operands[0]) == 0)
|
||||
/* This used to be cwtl, but that extends HI to SI somehow. */
|
||||
return \"cdq\";
|
||||
{
|
||||
/* This used to be cwtl, but that extends HI to SI somehow. */
|
||||
#ifdef INTEL_SYNTAX
|
||||
return \"cdq\";
|
||||
#else
|
||||
return \"cltd\";
|
||||
#endif
|
||||
}
|
||||
|
||||
operands[1] = gen_rtx (REG, SImode, REGNO (operands[0]) + 1);
|
||||
output_asm_insn (AS2 (mov%L0,%0,%1), operands);
|
||||
|
Loading…
Reference in New Issue
Block a user