diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2011-11-07 14:09:09 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2011-11-07 14:09:09 +0100 |
commit | 51e674b7f1aa2a940befe7000a2c3975aa2e355e (patch) | |
tree | 1f35e81474d954d68a8e7db7e5dfc7ce1f710e8c | |
parent | 3cc227e5bf0eb195c7ad66f5270b73e8883edd38 (diff) | |
download | gcc-51e674b7f1aa2a940befe7000a2c3975aa2e355e.zip gcc-51e674b7f1aa2a940befe7000a2c3975aa2e355e.tar.gz gcc-51e674b7f1aa2a940befe7000a2c3975aa2e355e.tar.bz2 |
target-supports.exp (check_effective_target_sync_int_128): Don't cache the result.
* lib/target-supports.exp (check_effective_target_sync_int_128):
Don't cache the result.
(check_effective_target_sync_long_long): Ditto.
From-SVN: r181082
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 32 |
3 files changed, 21 insertions, 31 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f6ea864..8aada19 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -27,7 +27,15 @@ * config.gcc (alpha64-dec-*vms*, alpha*-dec-*vms*, ia64-hp-*vms*): Adjust for above change. - 2011-11-07 Sergey Ostanevich <sergos.gnu@gmail.com> +2011-11-07 Enkovich Ilya <ilya.enkovich@intel.com> + + PR target/50962 + * config/i386/i386-protos.h (ix86_use_lea_for_mov): New. + * config/i386/i386.c (ix86_use_lea_for_mov): Likewise. + * config/i386/i386.md (movsi_internal): Emit lea if profitable. + (movdi_internal_rex64): Likewise. + +2011-11-07 Sergey Ostanevich <sergos.gnu@gmail.com> PR rtl-optimization/47698 * ifconv.c (noce_operand_ok): prevent CMOV generation for volatile mem. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 66e56ee..33c4955 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,10 +1,8 @@ -2011-11-07 Enkovich Ilya <ilya.enkovich@intel.com> +2011-11-07 Uros Bizjak <ubizjak@gmail.com> - PR target/50962 - * config/i386/i386-protos.h (ix86_use_lea_for_mov): New. - * config/i386/i386.c (ix86_use_lea_for_mov): Likewise. - * config/i386/i386.md (movsi_internal): Emit lea if profitable. - (movdi_internal_rex64): Likewise. + * lib/target-supports.exp (check_effective_target_sync_int_128): + Don't cache the result. + (check_effective_target_sync_long_long): Ditto. 2011-11-07 Sergey Ostanevich <sergos.gnu@gmail.com> diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 74a4c95..fd6b269 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -3542,39 +3542,23 @@ proc check_effective_target_section_anchors { } { # Return 1 if the target supports atomic operations on "int_128" values. proc check_effective_target_sync_int_128 { } { - global et_sync_int_128_saved - - if [info exists et_sync_int_128_saved] { - verbose "check_effective_target_sync_int_128: using cached result" 2 + if { ([istarget x86_64-*-*] || [istarget i?86-*-*]) + && ![is-effective-target ia32] } { + return 1 } else { - set et_sync_int_128_saved 0 - if { ([istarget x86_64-*-*] || [istarget i?86-*-*]) - && ![is-effective-target ia32] } { - set et_sync_int_128_saved 1 - } + return 0 } - - verbose "check_effective_target_sync_int_128: returning $et_sync_int_128_saved" 2 - return $et_sync_int_128_saved } # Return 1 if the target supports atomic operations on "long long". proc check_effective_target_sync_long_long { } { - global et_sync_long_long_saved - - if [info exists et_sync_long_long_saved] { - verbose "check_effective_target_sync_long_long: using cached result" 2 + if { ([istarget x86_64-*-*] || [istarget i?86-*-*]) + && ![is-effective-target ia32] } { + return 1 } else { - set et_sync_long_long_saved 0 - if { ([istarget x86_64-*-*] || [istarget i?86-*-*]) - && ![is-effective-target ia32] } { - set et_sync_long_long_saved 1 - } + return 0 } - - verbose "check_effective_target_sync_long_long: returning $et_sync_long_long_saved" 2 - return $et_sync_long_long_saved } # Return 1 if the target supports atomic operations on "int" and "long". |