aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2013-03-21 10:31:52 +0100
committerUros Bizjak <uros@gcc.gnu.org>2013-03-21 10:31:52 +0100
commitfe04878d00b2847e8982e96d0a274e8c3b8d8f0f (patch)
treef3f069c571a8f10f954b123113318bd57b393d38 /gcc/configure
parentfa2e9a58ced07c6244c82cabc4a68b2db6b97911 (diff)
downloadgcc-fe04878d00b2847e8982e96d0a274e8c3b8d8f0f.zip
gcc-fe04878d00b2847e8982e96d0a274e8c3b8d8f0f.tar.gz
gcc-fe04878d00b2847e8982e96d0a274e8c3b8d8f0f.tar.bz2
re PR bootstrap/56656 (Suffix or operands invalid for 'movq')
PR bootstrap/56656 * configure.ac (HAVE_AS_IX86_INTERUNIT_MOVQ): New test. * configure: Regenerate. * config.in: Regenerate. * config/i386/i386.md (*movdf_internal): Use HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require movd instead of movq mnemonic for interunit moves. (*movdi_internal): Ditto. From-SVN: r196861
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure33
1 files changed, 33 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure
index e0f3230..69d99af 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -24644,6 +24644,39 @@ $as_echo "#define HAVE_AS_IX86_SAHF 1" >>confdefs.h
fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for interunit movq mnemonic" >&5
+$as_echo_n "checking assembler for interunit movq mnemonic... " >&6; }
+if test "${gcc_cv_as_ix86_interunit_movq+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ gcc_cv_as_ix86_interunit_movq=no
+ if test x$gcc_cv_as != x; then
+ $as_echo '.code64
+ movq %mm0, %rax
+ movq %rax, %xmm0' > 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
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }
+ then
+ gcc_cv_as_ix86_interunit_movq=yes
+ else
+ echo "configure: failed program was" >&5
+ cat conftest.s >&5
+ fi
+ rm -f conftest.o conftest.s
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_ix86_interunit_movq" >&5
+$as_echo "$gcc_cv_as_ix86_interunit_movq" >&6; }
+if test $gcc_cv_as_ix86_interunit_movq = yes; then
+
+$as_echo "#define HAVE_AS_IX86_INTERUNIT_MOVQ 1" >>confdefs.h
+
+fi
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for hle prefixes" >&5
$as_echo_n "checking assembler for hle prefixes... " >&6; }
if test "${gcc_cv_as_ix86_hle+set}" = set; then :