aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/i386.md2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index af854ed..0326679 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
+
+ * i386.md (zero_extendqihi2): Use SImode register name with andl.
+
Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
* integrate.c (function_cannot_inline_p): Don't allow inlining
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 5f903b6..28804bc 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -2097,7 +2097,7 @@
if (!REG_P (operands[1]) || REGNO (operands[0]) != REGNO (operands[1]))
abort ();
operands[1] = GEN_INT (0xff);
- return \"and{l}\\t{%1, %0|%0, %1}\";
+ return \"and{l}\\t{%1, %k0|%k0, %1}\";
default:
return \"movz{bw|x}\\t{%1, %0|%0, %1}\";
}