aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStan Cox <coxs@gnu.org>1996-07-19 21:48:59 +0000
committerStan Cox <coxs@gnu.org>1996-07-19 21:48:59 +0000
commit3c67a76b85ed39d72ea1cad2a2b270b08436bc9e (patch)
tree119e20cc7bdf40d78ae93d709d473f8547407b0d /gcc
parent594740f365ed33c25f3ad1a43bdbbd2326a932de (diff)
downloadgcc-3c67a76b85ed39d72ea1cad2a2b270b08436bc9e.zip
gcc-3c67a76b85ed39d72ea1cad2a2b270b08436bc9e.tar.gz
gcc-3c67a76b85ed39d72ea1cad2a2b270b08436bc9e.tar.bz2
(TARGET_USE_Q_REG): Support inline strlen on PentiumPro.
From-SVN: r12536
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/i386.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index d18d730..9c9a656 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -160,7 +160,8 @@ extern int target_flags;
#define TARGET_DOUBLE_WITH_ADD (ix86_cpu != PROCESSOR_I386)
#define TARGET_USE_BIT_TEST (ix86_cpu == PROCESSOR_I386)
#define TARGET_UNROLL_STRLEN (ix86_cpu != PROCESSOR_I386)
-#define TARGET_USE_Q_REG (ix86_cpu == PROCESSOR_PENTIUM)
+#define TARGET_USE_Q_REG (ix86_cpu == PROCESSOR_PENTIUM \
+ || ix86_cpu == PROCESSOR_PENTIUMPRO)
#define TARGET_USE_ANY_REG (ix86_cpu == PROCESSOR_I486)
#define TARGET_CMOVE (ix86_isa == PROCESSOR_PENTIUMPRO)
#define TARGET_DEEP_BRANCH_PREDICTION (ix86_cpu == PROCESSOR_PENTIUMPRO)