From 2660fecc0c6cd1a0d4c67b6a50abb063f6a4b8d8 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Fri, 28 Sep 2018 23:50:34 +0200 Subject: rs6000: Delete HAVE_AS_LWSYNC and TARGET_LWSYNC_INSTRUCTION All supported assemblers know lwsync, so we never need to generate this instruction using the .long escape hatch. * config.in (HAVE_AS_LWSYNC): Delete. * config/powerpcspe/powerpcspe.h (TARGET_LWSYNC_INSTRUCTION): Delete. * config/powerpcspe/sync.md (*lwsync): Always generate lwsync, never do it as a .long . * config/rs6000/rs6000.h (TARGET_LWSYNC_INSTRUCTION): Delete. * config/rs6000/sync.md (*lwsync): Always generate lwsync, never do it as a .long . * configure.ac: Delete HAVE_AS_LWSYNC. * configure: Regenerate. From-SVN: r264702 --- gcc/configure.ac | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'gcc/configure.ac') diff --git a/gcc/configure.ac b/gcc/configure.ac index 470fde6..3c1e0ad 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4558,19 +4558,6 @@ LCF0: [Define if your assembler supports VSX instructions.])]) case $target in - *-*-aix*) conftest_s=' .csect .text[[PR]] - lwsync';; - *) conftest_s=' .text - lwsync';; - esac - - gcc_GAS_CHECK_FEATURE([lwsync support], - gcc_cv_as_powerpc_lwsync, [2,19,2], -a32, - [$conftest_s],, - [AC_DEFINE(HAVE_AS_LWSYNC, 1, - [Define if your assembler supports LWSYNC instructions.])]) - - case $target in *-*-aix*) conftest_s=' .machine "476" .csect .text[[PR]] dci 0';; -- cgit v1.1