From: Uros Bizjak Date: Wed, 12 Sep 2012 19:25:13 +0000 (+0200) Subject: i386.c (x86_prefetch_sse): Change to unsigned char. X-Git-Tag: misc/gccgo-go1_1_2~911 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb261eb7275388a6a96a4cb388dee97274e05c45;p=thirdparty%2Fgcc.git i386.c (x86_prefetch_sse): Change to unsigned char. * config/i386/i386.c (x86_prefetch_sse): Change to unsigned char. * config/i386/i386.h (x86_prefetch_sse): Ditto. From-SVN: r191231 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a7b950ab79a8..8b35ab46f502 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-09-12 Uros Bizjak + + * 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 PR target/54445 @@ -11,9 +16,8 @@ 2012-09-12 Ganesh Gopalasubramanian - * 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. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 69a3377e1501..63dde81f4447 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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[] diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 53ca7a5bfe80..2e709526eab8 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -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)