From: Richard Stallman Date: Thu, 6 May 1993 17:30:45 +0000 (+0000) Subject: (extendsidi2): Use cdq, not cwtl. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a2648ca071f01d3e09a649218e7aabaa6820233;p=gcc.git (extendsidi2): Use cdq, not cwtl. From-SVN: r4363 --- diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index e6794cda377..b5a1b384169 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -1130,7 +1130,8 @@ "* { if (REGNO (operands[0]) == 0) - return \"cwtl\"; + /* This used to be cwtl, but that extends HI to SI somehow. */ + return \"cdq\"; operands[1] = gen_rtx (REG, SImode, REGNO (operands[0]) + 1); output_asm_insn (AS2 (mov%L0,%0,%1), operands);