(extendsidi2): Use cdq, not cwtl.
authorRichard Stallman <rms@gnu.org>
Thu, 6 May 1993 17:30:45 +0000 (17:30 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 6 May 1993 17:30:45 +0000 (17:30 +0000)
From-SVN: r4363

gcc/config/i386/i386.md

index e6794cda3776f9b39648ffb22fb8ee25b7faa58f..b5a1b3841692c8a6392720d9998f160b134fe858 100644 (file)
   "*
 {
   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);