Jan Hubicka <hubicka@freesoft.cz>
authorJan Hubicka <hubicka@freesoft.cz>
Tue, 13 Apr 1999 14:43:53 +0000 (16:43 +0200)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 13 Apr 1999 14:43:53 +0000 (07:43 -0700)
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

gcc/ChangeLog
gcc/config/i386/i386.md

index fec9833062593a888b4a9058262c3cb3d96644e3..6d5772c926d565dd2ee7d01e6eb5b3d4f7dd3399 100644 (file)
@@ -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.
index 02256d4ea6c6281fbc4bb36114ccb380097c9860..93e50f2e0376398df9b3cefb897938aa45ea4b0e 100644 (file)
   "*
 {
   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
   "*
 {
   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