aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@freesoft.cz>1999-04-13 16:43:53 +0200
committerRichard Henderson <rth@gcc.gnu.org>1999-04-13 07:43:53 -0700
commit813d245a1521388d8bc8ccff29270a664d1273a7 (patch)
treea00cd7e6aa86511d03efcc1c1191d15d729bfcfc
parent55abf18a772c91bbb07d393df64ca88e573032b1 (diff)
downloadgcc-813d245a1521388d8bc8ccff29270a664d1273a7.zip
gcc-813d245a1521388d8bc8ccff29270a664d1273a7.tar.gz
gcc-813d245a1521388d8bc8ccff29270a664d1273a7.tar.bz2
Jan Hubicka <hubicka@freesoft.cz>
Jan Hubicka <hubicka@freesoft.cz> * i386.md (extendhisi2): Output mov instead of cw instruction for K6 to improve decoding bandwidth. * i386.md (extendhiqi2): Likewise. From-SVN: r26410
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386.md6
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fec98330..6d5772c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Tue Apr 13 14:29:58 1999 Jan Hubicka <hubicka@freesoft.cz>
+
+ * i386.md (extendhisi2): Output mov instead of cw instruction for K6
+ to improve decoding bandwidth.
+ * i386.md (extendhiqi2): Likewise.
+
Tue Apr 13 14:26:31 1999 Jan Hubicka <hubicka@freesoft.cz>
* i386.md (movsf_push): Handle memory to memory case too, new splitter.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 02256d4..93e50f2 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -2091,7 +2091,8 @@
"*
{
if (REGNO (operands[0]) == 0
- && REG_P (operands[1]) && REGNO (operands[1]) == 0)
+ && REG_P (operands[1]) && REGNO (operands[1]) == 0
+ && (optimize_size || ix86_cpu != PROCESSOR_K6))
#ifdef INTEL_SYNTAX
return \"cwde\";
#else
@@ -2112,7 +2113,8 @@
"*
{
if (REGNO (operands[0]) == 0
- && REG_P (operands[1]) && REGNO (operands[1]) == 0)
+ && REG_P (operands[1]) && REGNO (operands[1]) == 0
+ && (optimize_size || ix86_cpu != PROCESSOR_K6))
return \"cbtw\";
#ifdef INTEL_SYNTAX