projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c51d911
)
(extendsidi2): Use cdq, not cwtl.
author
Richard Stallman
<rms@gnu.org>
Thu, 6 May 1993 17:30:45 +0000
(17:30 +0000)
committer
Richard Stallman
<rms@gnu.org>
Thu, 6 May 1993 17:30:45 +0000
(17:30 +0000)
From-SVN: r4363
gcc/config/i386/i386.md
patch
|
blob
|
history
diff --git
a/gcc/config/i386/i386.md
b/gcc/config/i386/i386.md
index e6794cda3776f9b39648ffb22fb8ee25b7faa58f..b5a1b3841692c8a6392720d9998f160b134fe858 100644
(file)
--- 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);