Commit 4b7a5264 by David Edelsohn Committed by David Edelsohn

configure.ac (gcc_cv_as_powerpc_mfcrf, [...]): Detangle.

        * configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
        Detangle.

From-SVN: r232697
parent e271cba1
2016-01-21 David Edelsohn <dje.gcc@gmail.com>
* configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
Detangle.
2016-01-21 Pat Haugen <pthaugen@us.ibm.com> 2016-01-21 Pat Haugen <pthaugen@us.ibm.com>
* config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9. * config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9.
......
...@@ -25904,10 +25904,8 @@ fi ...@@ -25904,10 +25904,8 @@ fi
;; ;;
powerpc*-*-*) powerpc*-*-*)
case $target in case $target in
*-*-aix*) conftest_s=' .machine "pwr5"
.csect .text[PR]
mfcr 3,128';;
*-*-darwin*) *-*-darwin*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for .machine directive support" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for .machine directive support" >&5
$as_echo_n "checking assembler for .machine directive support... " >&6; } $as_echo_n "checking assembler for .machine directive support... " >&6; }
...@@ -25940,7 +25938,14 @@ $as_echo "$gcc_cv_as_machine_directive" >&6; } ...@@ -25940,7 +25938,14 @@ $as_echo "$gcc_cv_as_machine_directive" >&6; }
echo you can get it from: ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2 echo you can get it from: ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2
test x$build = x$target && exit 1 test x$build = x$target && exit 1
fi fi
conftest_s=' .text ;;
esac
case $target in
*-*-aix*) conftest_s=' .machine "pwr5"
.csect .text[PR]
mfcr 3,128';;
*-*-darwin*) conftest_s=' .text
mfcr r3,128';; mfcr r3,128';;
*) conftest_s=' .machine power4 *) conftest_s=' .machine power4
.text .text
......
...@@ -4172,10 +4172,8 @@ value:' ...@@ -4172,10 +4172,8 @@ value:'
;; ;;
powerpc*-*-*) powerpc*-*-*)
case $target in case $target in
*-*-aix*) conftest_s=' .machine "pwr5"
.csect .text[[PR]]
mfcr 3,128';;
*-*-darwin*) *-*-darwin*)
gcc_GAS_CHECK_FEATURE([.machine directive support], gcc_GAS_CHECK_FEATURE([.machine directive support],
gcc_cv_as_machine_directive,,, gcc_cv_as_machine_directive,,,
...@@ -4185,7 +4183,14 @@ value:' ...@@ -4185,7 +4183,14 @@ value:'
echo you can get it from: ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2 echo you can get it from: ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2
test x$build = x$target && exit 1 test x$build = x$target && exit 1
fi fi
conftest_s=' .text ;;
esac
case $target in
*-*-aix*) conftest_s=' .machine "pwr5"
.csect .text[[PR]]
mfcr 3,128';;
*-*-darwin*) conftest_s=' .text
mfcr r3,128';; mfcr r3,128';;
*) conftest_s=' .machine power4 *) conftest_s=' .machine power4
.text .text
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment