aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2012-07-03 07:15:09 +0000
committerUros Bizjak <ubizjak@gmail.com>2012-07-03 07:15:09 +0000
commit3b095fac24293da121ab16072af59428f417ded5 (patch)
tree9747d59bd4ff9cd93a158762866771757f66d962 /gcc/configure
parentcf7e44e03a1e5754e306ee78a3353b2bad960934 (diff)
* configure.ac (HAVE_AS_IX86_REP_LOCK_PREFIX): Also require that the
assembler accept 'rep bsf ...', 'rep bsr ...', 'rep ret' and 'rep nop'. * configure: Regenerated. * config/i386/i386.md (simple_return_internal_long): Use %; (ctz<mode>2): Likewise. (*pause): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@189193 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure
index fd3be5231b8..af08a49b349 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -24790,6 +24790,10 @@ else
gcc_cv_as_ix86_rep_lock_prefix=no
if test x$gcc_cv_as != x; then
$as_echo 'rep movsl
+ rep ret
+ rep nop
+ rep bsf %ecx, %eax
+ rep bsr %ecx, %eax
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'