From 4e9d897d96c3e95f9be5a4b7f70ac0e9f3f9b1ad Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 9 Sep 2007 16:37:42 -0700 Subject: [PATCH] i386.h (ix86_tune_indices): Rename X86_USE_VECTOR_CONVERTS to X86_TUNE_USE_VECTOR_CONVERTS. 2007-09-09 H.J. Lu * config/i386/i386.h (ix86_tune_indices): Rename X86_USE_VECTOR_CONVERTS to X86_TUNE_USE_VECTOR_CONVERTS. (TARGET_USE_VECTOR_CONVERTS): Updated. * config/i386/i386.c: Likewise. From-SVN: r128313 --- gcc/ChangeLog | 11 +++++++++-- gcc/config/i386/i386.c | 4 ++-- gcc/config/i386/i386.h | 4 ++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6decf71bfcb..ec81f93471d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ +2007-09-09 H.J. Lu + + * config/i386/i386.h (ix86_tune_indices): Rename + X86_USE_VECTOR_CONVERTS to X86_TUNE_USE_VECTOR_CONVERTS. + (TARGET_USE_VECTOR_CONVERTS): Updated. + * config/i386/i386.c: Likewise. + 2007-09-09 Sandra Loosemore - Nigel Stephens + Nigel Stephens * doc/invoke.texi (Overall Options): Add .sx file extension as a synonym for .S. @@ -15,7 +22,7 @@ * doc/md.texi (Canonicalization of Instructions): Document it. 2007-09-09 Jan Hubicka - Dwarakanath Rajagopal + Dwarakanath Rajagopal * i386.h (ix86_tune_indices): Add X86_USE_VECTOR_CONVERTS. (TARGET_USE_VECTOR_CONVERTS): New. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index c01198baf6e..640e9c089b3 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -1259,8 +1259,8 @@ unsigned int ix86_tune_features[X86_TUNE_LAST] = { replacement is long decoded, so this split helps here as well. */ m_K6, - /* X86_USE_VECTOR_CONVERTS: Preffer vector packed SSE conversion from - integer to FP. */ + /* X86_TUNE_USE_VECTOR_CONVERTS: Preffer vector packed SSE conversion + from integer to FP. */ m_AMDFAM10, }; diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 4f8a531ed6f..e18e90f600c 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -257,7 +257,7 @@ enum ix86_tune_indices { X86_TUNE_MOVE_M1_VIA_OR, X86_TUNE_NOT_UNPAIRABLE, X86_TUNE_NOT_VECTORMODE, - X86_USE_VECTOR_CONVERTS, + X86_TUNE_USE_VECTOR_CONVERTS, X86_TUNE_LAST }; @@ -338,7 +338,7 @@ extern unsigned int ix86_tune_features[X86_TUNE_LAST]; #define TARGET_MOVE_M1_VIA_OR ix86_tune_features[X86_TUNE_MOVE_M1_VIA_OR] #define TARGET_NOT_UNPAIRABLE ix86_tune_features[X86_TUNE_NOT_UNPAIRABLE] #define TARGET_NOT_VECTORMODE ix86_tune_features[X86_TUNE_NOT_VECTORMODE] -#define TARGET_USE_VECTOR_CONVERTS ix86_tune_features[X86_USE_VECTOR_CONVERTS] +#define TARGET_USE_VECTOR_CONVERTS ix86_tune_features[X86_TUNE_USE_VECTOR_CONVERTS] /* Feature tests against the various architecture variations. */ enum ix86_arch_indices { -- 2.30.2