diff options
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 15be971fbe4..db9a0c3d02f 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2925,6 +2925,36 @@ LCF0: addis 11,30,_GLOBAL_OFFSET_TABLE_-.LCF0@ha';; esac + case $target in + *-*-aix*) conftest_s=' .machine "pwr6" + .csect .text[[PR]] + cmpb 3,4,5';; + *) conftest_s=' .machine power6 + .text + cmpb 3,4,5';; + esac + + gcc_GAS_CHECK_FEATURE([compare bytes support], + gcc_cv_as_powerpc_cmpb, [9,99,0], -a32, + [$conftest_s],, + [AC_DEFINE(HAVE_AS_CMPB, 1, + [Define if your assembler supports cmpb.])]) + + case $target in + *-*-aix*) conftest_s=' .machine "pwr6" + .csect .text[[PR]] + dadd 1,3';; + *) conftest_s=' .machine power6 + .text + dadd 1,3';; + esac + + gcc_GAS_CHECK_FEATURE([decimal float support], + gcc_cv_as_powerpc_dfp, [9,99,0], -a32, + [$conftest_s],, + [AC_DEFINE(HAVE_AS_DFP, 1, + [Define if your assembler supports DFP instructions.])]) + gcc_GAS_CHECK_FEATURE([rel16 relocs], gcc_cv_as_powerpc_rel16, [2,17,0], -a32, [$conftest_s],, |