diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2010-07-09 18:02:58 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2010-07-09 18:02:58 +0200 |
commit | 4bade865ff7ae111732de03aa755398370e01218 (patch) | |
tree | b4af02181315c1ef86e053687e35cb39d8c29803 /gcc | |
parent | 2c9ccc21b11aa2bb63b908b33c8f9bc9c15c960d (diff) | |
download | gcc-4bade865ff7ae111732de03aa755398370e01218.zip gcc-4bade865ff7ae111732de03aa755398370e01218.tar.gz gcc-4bade865ff7ae111732de03aa755398370e01218.tar.bz2 |
configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Also check for "lock addl".
* configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Also check
for "lock addl".
* configure: Regenerate.
* config/i386/i386.c (ix86_print_operand) <case ';'>:
Remove TARGET_MACHO.
From-SVN: r162001
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 16 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 | ||||
-rwxr-xr-x | gcc/configure | 1 | ||||
-rw-r--r-- | gcc/configure.ac | 1 |
4 files changed, 14 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1bfd18e..7d67cf9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2010-07-09 Uros Bizjak <ubizjak@gmail.com> + + * configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Also check + for "lock addl". + * configure: Regenerate. + * config/i386/i386.c (ix86_print_operand) <case ';'>: + Remove TARGET_MACHO. + 2010-07-09 Peter Bergner <bergner@vnet.ibm.com> * config/rs6000/rs6000.c (rs6000_override_options): Fix setting of @@ -211,8 +219,7 @@ PR tree-optimization/44831 * tree-ssa-phiprop.c (phiprop_insert_phi): Properly build a MEM_REF preserving TBAA info of the original dereference. - Dereference the original pointer if the address is not - invariant. + Dereference the original pointer if the address is not invariant. (propagate_with_phi): Fixup type checks wrt MEM_REFs. Require at least one invariant address that we are going to dereference. @@ -487,8 +494,7 @@ * config/i386/i386.h (ASM_DECLARE_FUNCTION_NAME): Likewise. * config/i386/cygming.h (ASM_DECLARE_FUNCTION_NAME): Likewise. (SUBTARGET_ASM_DECLARE_FUNCTION_NAME): Likewise. - * config/i386/i386-protos.h (ix86_asm_declare_function_name): - Likewise. + * config/i386/i386-protos.h (ix86_asm_declare_function_name): Likewise. * doc/extend.texi: Likewise. 2010-07-07 H.J. Lu <hongjiu.lu@intel.com> @@ -534,7 +540,7 @@ 2010-07-07 Jan Hubicka <jh@suse.cz> - With parts by Richard Guenther + With parts by Richard Guenther. PR middle-end/44813 * tree-ssa-uninit.c (ssa_undefined_value_p): Result decl is defined diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 883cb78..c54f7af 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -12651,7 +12651,7 @@ ix86_print_operand (FILE *file, rtx x, int code) return; case ';': -#if TARGET_MACHO || !HAVE_AS_IX86_REP_LOCK_PREFIX +#ifndef HAVE_AS_IX86_REP_LOCK_PREFIX fputs (";", file); #endif return; diff --git a/gcc/configure b/gcc/configure index d1dcf89..b1c5816 100755 --- a/gcc/configure +++ b/gcc/configure @@ -23337,6 +23337,7 @@ else gcc_cv_as_ix86_rep_lock_prefix=no if test x$gcc_cv_as != x; then echo 'rep movsl + lock addl %edi, (%eax,%esi) lock orl $0, (%esp)' > conftest.s if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 diff --git a/gcc/configure.ac b/gcc/configure.ac index 9b3a75d..4e529c5 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3327,6 +3327,7 @@ foo: nop gcc_GAS_CHECK_FEATURE([rep and lock prefix], gcc_cv_as_ix86_rep_lock_prefix,,, [rep movsl + lock addl %edi, (%eax,%esi) lock orl $0, (%esp)]) AC_DEFINE_UNQUOTED(HAVE_AS_IX86_REP_LOCK_PREFIX, [`if test $gcc_cv_as_ix86_rep_lock_prefix = yes; then echo 1; else echo 0; fi`], |