This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch to improve decoding bandwidth on extendhisi and extendhiqi patterns
- To: egcs-patches at egcs dot cygnus dot com
- Subject: Patch to improve decoding bandwidth on extendhisi and extendhiqi patterns
- From: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Date: Tue, 13 Apr 1999 15:54:00 +0200
Hi
This is patch to improve AMD K6 decoding bandwidth on extendhisi2
and extendhiqi2 patterns.
Mon Apr 12 20:29:25 CEST 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.
*** i386.md.old2 Mon Apr 12 19:39:20 1999
--- i386.md Mon Apr 12 20:28:15 1999
***************
*** 2066,2072 ****
"*
{
if (REGNO (operands[0]) == 0
! && REG_P (operands[1]) && REGNO (operands[1]) == 0)
#ifdef INTEL_SYNTAX
return \"cwde\";
#else
--- 2066,2073 ----
"*
{
if (REGNO (operands[0]) == 0
! && REG_P (operands[1]) && REGNO (operands[1]) == 0
! && (optimize_size || ix86_cpu != PROCESSOR_K6))
#ifdef INTEL_SYNTAX
return \"cwde\";
#else
***************
*** 2087,2093 ****
"*
{
if (REGNO (operands[0]) == 0
! && REG_P (operands[1]) && REGNO (operands[1]) == 0)
return \"cbtw\";
#ifdef INTEL_SYNTAX
--- 2088,2095 ----
"*
{
if (REGNO (operands[0]) == 0
! && REG_P (operands[1]) && REGNO (operands[1]) == 0
! && (optimize_size || ix86_cpu != PROCESSOR_K6))
return \"cbtw\";
#ifdef INTEL_SYNTAX