diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2007-03-14 22:03:59 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2007-03-14 22:03:59 +0100 |
commit | 38ca3765253c05cc3bdba77c942c2a00b0da132d (patch) | |
tree | 607098977428b569ac568220d0c2c564dc2232f5 /gcc/configure.ac | |
parent | e9f646295d8d233b95d43a60cf2e596f38469c3e (diff) | |
download | gcc-38ca3765253c05cc3bdba77c942c2a00b0da132d.zip gcc-38ca3765253c05cc3bdba77c942c2a00b0da132d.tar.gz gcc-38ca3765253c05cc3bdba77c942c2a00b0da132d.tar.bz2 |
configure.ac (HAVE_AS_IX86_SAHF): On x86 targets check whether the configured assembler supports the sahf mnemonic.
* configure.ac (HAVE_AS_IX86_SAHF): On x86 targets check whether
the configured assembler supports the sahf mnemonic.
* configure: Regenerate.
* config.in: Regenerate.
* config/i386/i386.md (x86_sahf_1): Depending on HAVE_AS_IX86_SAHF,
emit "sahf" or ".byte\t0x9e" as asm template.
From-SVN: r122931
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 768cff0..18134ca 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2808,6 +2808,12 @@ foo: nop [AC_DEFINE(HAVE_AS_IX86_FFREEP, 1, [Define if your assembler supports the ffreep mnemonic.])]) + gcc_GAS_CHECK_FEATURE([sahf mnemonic], + gcc_cv_as_ix86_sahf,,, + [sahf],, + [AC_DEFINE(HAVE_AS_IX86_SAHF, 1, + [Define if your assembler supports the sahf mnemonic.])]) + gcc_GAS_CHECK_FEATURE([different section symbol subtraction], gcc_cv_as_ix86_diff_sect_delta,,, [.section .rodata |