OSDN Git Service

Jan Hubicka <hubicka@freesoft.cz>
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Apr 1999 14:43:53 +0000 (14:43 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Apr 1999 14:43:53 +0000 (14:43 +0000)
        * i386.md (extendhisi2): Output mov instead of cw instruction for K6
        to improve decoding bandwidth.
        * i386.md (extendhiqi2): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26410 138bc75d-0d04-0410-961f-82ee72b054a4

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

index fec9833..6d5772c 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 02256d4..93e50f2 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