rs6000: Delete HAVE_AS_DCI

Every supported assembler supports these instructions.  Committing.


	* config.in: Delete HAVE_AS_DCI.
	* config/powerpcspe/powerpcspe.h: Treat HAVE_AS_DCI as always true.
	* config/rs6000/rs6000.h: Ditto.
	* configure.ac: Delete HAVE_AS_DCI.
	* configure: Regenerate.

From-SVN: r264703
This commit is contained in:
Segher Boessenkool 2018-09-29 00:02:17 +02:00 committed by Segher Boessenkool
parent 2660fecc0c
commit f0ca30bf14
6 changed files with 8 additions and 74 deletions

View File

@ -1,3 +1,11 @@
2018-09-28 Segher Boessenkool <segher@kernel.crashing.org>
* config.in: Delete HAVE_AS_DCI.
* config/powerpcspe/powerpcspe.h: Treat HAVE_AS_DCI as always true.
* config/rs6000/rs6000.h: Ditto.
* configure.ac: Delete HAVE_AS_DCI.
* configure: Regenerate.
2018-09-28 Segher Boessenkool <segher@kernel.crashing.org>
* config.in (HAVE_AS_LWSYNC): Delete.

View File

@ -309,12 +309,6 @@
#endif
/* Define if your assembler supports the DCI/ICI instructions. */
#ifndef USED_FOR_TARGET
#undef HAVE_AS_DCI
#endif
/* Define if your assembler supports the --debug-prefix-map option. */
#ifndef USED_FOR_TARGET
#undef HAVE_AS_DEBUG_PREFIX_MAP

View File

@ -77,11 +77,7 @@
#define ASM_CPU_POWER8_SPEC "-mpower8"
#define ASM_CPU_POWER9_SPEC "-mpower9"
#ifdef HAVE_AS_DCI
#define ASM_CPU_476_SPEC "-m476"
#else
#define ASM_CPU_476_SPEC "-mpower4"
#endif
/* Common ASM definitions used by ASM_SPEC among the various targets for
handling -mcpu=xxx switches. There is a parallel list in driver-powerpcspe.c to

View File

@ -78,11 +78,7 @@
#define ASM_CPU_POWER8_SPEC "-mpower8"
#define ASM_CPU_POWER9_SPEC "-mpower9"
#ifdef HAVE_AS_DCI
#define ASM_CPU_476_SPEC "-m476"
#else
#define ASM_CPU_476_SPEC "-mpower4"
#endif
/* Common ASM definitions used by ASM_SPEC among the various targets for
handling -mcpu=xxx switches. There is a parallel list in driver-rs6000.c to

45
gcc/configure vendored
View File

@ -26719,51 +26719,6 @@ if test $gcc_cv_as_powerpc_vsx = yes; then
$as_echo "#define HAVE_AS_VSX 1" >>confdefs.h
fi
case $target in
*-*-aix*) conftest_s=' .machine "476"
.csect .text[PR]
dci 0';;
*) conftest_s=' .machine "476"
.text
dci 0';;
esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for data cache invalidate support" >&5
$as_echo_n "checking assembler for data cache invalidate support... " >&6; }
if test "${gcc_cv_as_powerpc_dci+set}" = set; then :
$as_echo_n "(cached) " >&6
else
gcc_cv_as_powerpc_dci=no
if test $in_tree_gas = yes; then
if test $gcc_cv_gas_vers -ge `expr \( \( 9 \* 1000 \) + 99 \) \* 1000 + 0`
then gcc_cv_as_powerpc_dci=yes
fi
elif test x$gcc_cv_as != x; then
$as_echo "$conftest_s" > conftest.s
if { ac_try='$gcc_cv_as $gcc_cv_as_flags -a32 -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_powerpc_dci=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_powerpc_dci" >&5
$as_echo "$gcc_cv_as_powerpc_dci" >&6; }
if test $gcc_cv_as_powerpc_dci = yes; then
$as_echo "#define HAVE_AS_DCI 1" >>confdefs.h
fi

View File

@ -4557,21 +4557,6 @@ LCF0:
[AC_DEFINE(HAVE_AS_VSX, 1,
[Define if your assembler supports VSX instructions.])])
case $target in
*-*-aix*) conftest_s=' .machine "476"
.csect .text[[PR]]
dci 0';;
*) conftest_s=' .machine "476"
.text
dci 0';;
esac
gcc_GAS_CHECK_FEATURE([data cache invalidate support],
gcc_cv_as_powerpc_dci, [9,99,0], -a32,
[$conftest_s],,
[AC_DEFINE(HAVE_AS_DCI, 1,
[Define if your assembler supports the DCI/ICI instructions.])])
gcc_GAS_CHECK_FEATURE([.gnu_attribute support],
gcc_cv_as_powerpc_gnu_attribute, [2,18,0],,
[.gnu_attribute 4,1],,