From: Jan Hubicka Date: Tue, 13 Apr 1999 14:43:53 +0000 (+0200) Subject: Jan Hubicka X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=813d245a1521388d8bc8ccff29270a664d1273a7;p=gcc.git Jan Hubicka Jan Hubicka * i386.md (extendhisi2): Output mov instead of cw instruction for K6 to improve decoding bandwidth. * i386.md (extendhiqi2): Likewise. From-SVN: r26410 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fec98330625..6d5772c926d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Tue Apr 13 14:29:58 1999 Jan Hubicka + + * 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 * 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 02256d4ea6c..93e50f2e037 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