]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.c (x86_prefetch_sse): Change to unsigned char.
authorUros Bizjak <uros@gcc.gnu.org>
Wed, 12 Sep 2012 19:25:13 +0000 (21:25 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 12 Sep 2012 19:25:13 +0000 (21:25 +0200)
* config/i386/i386.c (x86_prefetch_sse): Change to unsigned char.
* config/i386/i386.h (x86_prefetch_sse): Ditto.

From-SVN: r191231

gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h

index a7b950ab79a892929d87738f846ee7a33fca79c5..8b35ab46f50222d9e06028ed1a18e8a93c0e6e2e 100644 (file)
@@ -1,3 +1,8 @@
+2012-09-12  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (x86_prefetch_sse): Change to unsigned char.
+       * config/i386/i386.h (x86_prefetch_sse): Ditto.
+
 2012-09-12  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/54445
@@ -11,9 +16,8 @@
 
 2012-09-12  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
 
-       * config/i386/i386.md : Comments on fma4 instruction
-       selection reflect requirement on register pressure based
-       cost model.
+       * config/i386/i386.md : Comments on fma4 instruction selection
+       reflect requirement on register pressure based cost model.
 
        * config/i386/driver-i386.c (host_detect_local_cpu): fma4
        flag is set-reset as informed by the cpuid flag.
index 69a3377e15010b04fca7762423059c2cb3b76a5a..63dde81f44471d1465d86ea8aa07690ef7ea4b41 100644 (file)
@@ -2517,8 +2517,8 @@ enum processor_type ix86_tune;
 /* Which instruction set architecture to use.  */
 enum processor_type ix86_arch;
 
-/* true if sse prefetch instruction is not NOOP.  */
-int x86_prefetch_sse;
+/* True if processor has SSE prefetch instruction.  */
+unsigned char x86_prefetch_sse;
 
 /* -mstackrealign option */
 static const char ix86_force_align_arg_pointer_string[]
index 53ca7a5bfe80379ae240f688eac7265438d7b3db..2e709526eab826e0397f10b1d6efbc8bf1d41fb5 100644 (file)
@@ -458,8 +458,7 @@ extern unsigned char ix86_arch_features[X86_ARCH_LAST];
 
 #define TARGET_FISTTP          (TARGET_SSE3 && TARGET_80387)
 
-extern int x86_prefetch_sse;
-
+extern unsigned char x86_prefetch_sse;
 #define TARGET_PREFETCH_SSE    x86_prefetch_sse
 
 #define ASSEMBLER_DIALECT      (ix86_asm_dialect)