diff options
author | Richard Stallman <rms@gnu.org> | 1993-05-06 17:30:45 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-05-06 17:30:45 +0000 |
commit | 8a2648ca071f01d3e09a649218e7aabaa6820233 (patch) | |
tree | 74e6f459457c7dad5cdc4e636821a321561b51e5 /gcc | |
parent | c51d911af1d61746b3dfa88f21901c72140058af (diff) | |
download | gcc-8a2648ca071f01d3e09a649218e7aabaa6820233.zip gcc-8a2648ca071f01d3e09a649218e7aabaa6820233.tar.gz gcc-8a2648ca071f01d3e09a649218e7aabaa6820233.tar.bz2 |
(extendsidi2): Use cdq, not cwtl.
From-SVN: r4363
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/i386/i386.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index e6794cd..b5a1b38 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); |