diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-09 21:00:08 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-09 21:00:08 +0000 |
commit | 66d2fcdf4f5bd644d08b4ffbf8002fec73880044 (patch) | |
tree | fcc14a696030e7258a52ca756fef8fdcd498f721 | |
parent | 15f8c8145abd26057f028ab65809ac37e4a7b8b6 (diff) | |
download | gcc-66d2fcdf4f5bd644d08b4ffbf8002fec73880044.tar.gz |
* configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Fix test.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162015 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rwxr-xr-x | gcc/configure | 7 | ||||
-rw-r--r-- | gcc/configure.ac | 7 |
3 files changed, 12 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5ed0c14ec12..85050b91c21 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-07-09 Uros Bizjak <ubizjak@gmail.com> + + * configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Fix test. + * configure: Regenerate. + 2010-07-09 Jakub Jelinek <jakub@redhat.com> Denys Vlasenko <dvlasenk@redhat.com> Bernhard Reutner-Fischer <aldot@gcc.gnu.org> @@ -44,7 +49,7 @@ * tree.c (type_hash_if_marked_p): Removed non-ggc_marked_p clause. -2010-07-09 Hariharan Sandanagobalane <hariharan@picochip.com> +2010-07-09 Hariharan Sandanagobalane <hariharan@picochip.com> * config/picochip/picochip.md (commsTestPort): Emit more efficient sequence for tstport instruction. diff --git a/gcc/configure b/gcc/configure index b1c58164fd0..bf537ecf502 100755 --- a/gcc/configure +++ b/gcc/configure @@ -23356,12 +23356,11 @@ else fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_ix86_rep_lock_prefix" >&5 $as_echo "$gcc_cv_as_ix86_rep_lock_prefix" >&6; } +if test $gcc_cv_as_ix86_rep_lock_prefix = yes; then +$as_echo "#define HAVE_AS_IX86_REP_LOCK_PREFIX 1" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define HAVE_AS_IX86_REP_LOCK_PREFIX `if test $gcc_cv_as_ix86_rep_lock_prefix = yes; then echo 1; else echo 0; fi` -_ACEOF - +fi ;; diff --git a/gcc/configure.ac b/gcc/configure.ac index 4e529c56cc8..57aeac62468 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3328,10 +3328,9 @@ foo: nop 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`], - [Define true if the assembler supports 'rep <insn>, lock <insn>'.]) + lock orl $0, (%esp)],, + [AC_DEFINE(HAVE_AS_IX86_REP_LOCK_PREFIX, 1, + [Define if the assembler supports 'rep <insn>, lock <insn>'.])]) ;; |