diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-15 05:00:40 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-15 05:00:40 +0000 |
commit | a60185792930bf65a2ecae55fffbb3e642e62373 (patch) | |
tree | e3c4173d584ff945858e97eecbb8ca939a360bbc /gcc/configure.ac | |
parent | d414d318314c92cf204979141601309503057197 (diff) | |
download | gcc-a60185792930bf65a2ecae55fffbb3e642e62373.tar.gz |
* doc/invoke.texi (RS/6000 and PowerPC Options): Add -mmfcrf,
-mpopcntb, -mfprnd. Add -mcpu=power5+.
* configure.ac: Add test for FP rounding instructions.
* configure: Regenerate.
* config.in: Regenerate.
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
_ARCH_PPCSQ, _ARCH_PPCGR, _ARCH_PWR4, _ARCH_PWR5, _ARCH_PWR5X if
features enabled.
* config/rs6000/rs6000.opt (mfprnd): New.
* config/rs6000/rs6000.c (processor_target_table): Add power5+.
(POWERPC_MASKS): Add MASK_POPCNTB and MASK_FPRND.
* config/rs6000/aix52.h (ASM_CPU_SPEC): Add -mpower5+.
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -mpower5+.
(TARGET_FPRND): New.
* config/rs6000/rs6000.md (UNSPEC_FRIM, UNSPEC_FRIN, UNSPEC_FRIP,
UNSPEC_FRIZ): New.
(btrunc<mode>2): New.
(ceil<mode>2): New.
(floor<mode>2): New.
(round<mode>2): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106938 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 5cee180e021..4669488d88a 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2763,6 +2763,21 @@ foo: nop [Define if your assembler supports popcntb field.])]) case $target in + *-*-aix*) conftest_s=' .machine "pwr5x" + .csect .text[[PR]] + frin 1,1';; + *) conftest_s=' .machine power5x + .text + frin 1,1';; + esac + + gcc_GAS_CHECK_FEATURE([fp round support], + gcc_cv_as_powerpc_fprnd, [2,17,0],, + [$conftest_s],, + [AC_DEFINE(HAVE_AS_FPRND, 1, + [Define if your assembler supports fprnd.])]) + + case $target in *-*-aix*) conftest_s=' .csect .text[[PR]] LCF..0: addis 11,30,_GLOBAL_OFFSET_TABLE_-LCF..0@ha';; |