summaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-09 16:02:58 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-09 16:02:58 +0000
commit44ddfc4cebc40b304c984a6ab463165d23d01d3e (patch)
treeb4af02181315c1ef86e053687e35cb39d8c29803 /gcc/configure.ac
parent587d8e9f638ccd0db7b91a2f26c99f84228868e3 (diff)
downloadgcc-44ddfc4cebc40b304c984a6ab463165d23d01d3e.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162001 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 9b3a75d95eb..4e529c56cc8 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`],