From: Richard Earnshaw <rearnsha@arm.com>
To: <binutils@sourceware.org>
Cc: <nickc@redhat.com>, Richard Earnshaw <rearnsha@arm.com>
Subject: [PATCH 00/11] arm: Remove FPA support from gas/binutils
Date: Mon, 3 Jun 2024 12:49:01 +0100 [thread overview]
Message-ID: <20240603114912.4065598-1-rearnsha@arm.com> (raw)
As trailed when removing the support for the Maverick co-processor
(https://sourceware.org/pipermail/binutils/2024-May/133947.html), this
patch series removes support for the FPA co-processor as well.
Support for both co-processors was removed from GCC about 12 years
ago.
This patch set is slightly more involved than the one for Maverick
though as it affects the default behaviour of the tools in a few
cases, especially on coff-based targets where we do not default a
default floating point format and pick the default up from the
selected CPU. To avoid silent code changes I've opted to set the
default for those cases such that they generate an error if the output
might have changed when no FPA instructions were generated; this
affects certain directives such as .float or .double, since the FPA
had a different format for floating-point values.
Richard Earnshaw (11):
arm: remove FPA related tests
arm: rename FPU_ARCH_VFP to FPU_ARCH_SOFTVFP
arm: default to softvfp on armv6 or later cores
arm: adjust FPU selection logic
arm: redirect fp constant data directives through a wrapper
arm: change default FPUs from FPA to none
arm: remove options to select the FPA
arm: remove FPA instructions from assembler
arm: remove disassembly support for the FPA co-processor
arm: minor documentation cleanup given removal of FPA
NEWS: arm: note that FPA support has been removed
binutils/NEWS | 4 +
gas/config/tc-arm.c | 1056 +++--------------
gas/config/te-armeabi.h | 2 +-
gas/config/te-armfbsdvfp.h | 2 +-
gas/config/te-armlinuxeabi.h | 2 +-
gas/config/te-nacl.h | 2 +-
gas/doc/c-arm.texi | 12 +-
gas/testsuite/gas/all/gas.exp | 2 +
gas/testsuite/gas/arm/attr-mfpu-arm7500fe.d | 11 -
gas/testsuite/gas/arm/attr-mfpu-fpa.d | 11 -
gas/testsuite/gas/arm/attr-mfpu-fpa10.d | 11 -
gas/testsuite/gas/arm/attr-mfpu-fpa11.d | 11 -
gas/testsuite/gas/arm/attr-mfpu-fpe.d | 11 -
gas/testsuite/gas/arm/attr-mfpu-fpe2.d | 11 -
gas/testsuite/gas/arm/attr-mfpu-fpe3.d | 11 -
gas/testsuite/gas/arm/attr-mfpu-softfpa.d | 11 -
gas/testsuite/gas/arm/attr-override-mcpu.s | 2 +-
gas/testsuite/gas/arm/bfloat16-directive-be.d | 2 +-
gas/testsuite/gas/arm/bfloat16-directive-le.d | 2 +-
.../gas/arm/copro-arm_v2plus-arm_v2.d | 6 +-
.../arm/copro-thumb_v6t2plus-thumb_v6t2-1.d | 6 +-
gas/testsuite/gas/arm/float.d | 131 --
gas/testsuite/gas/arm/float.s | 163 ---
gas/testsuite/gas/arm/float16-bad.d | 1 +
gas/testsuite/gas/arm/float16-be.d | 2 +-
.../gas/arm/float16-format-opt-bad.d | 2 +-
gas/testsuite/gas/arm/float16-le.d | 2 +-
gas/testsuite/gas/arm/fp-directive-bad.d | 4 +
gas/testsuite/gas/arm/fp-directive-bad.l | 7 +
gas/testsuite/gas/arm/fp-directive.d | 9 +
gas/testsuite/gas/arm/fp-directive.s | 7 +
gas/testsuite/gas/arm/fp-save.d | 9 -
gas/testsuite/gas/arm/fp-save.s | 4 -
gas/testsuite/gas/arm/fpa-dyadic.d | 166 ---
gas/testsuite/gas/arm/fpa-dyadic.s | 172 ---
gas/testsuite/gas/arm/fpa-mem.d | 34 -
gas/testsuite/gas/arm/fpa-mem.s | 32 -
gas/testsuite/gas/arm/fpa-monadic.d | 202 ----
gas/testsuite/gas/arm/fpa-monadic.s | 210 ----
.../gas/arm/group-reloc-ldc-encoding-bad.l | 192 ---
.../gas/arm/group-reloc-ldc-encoding-bad.s | 72 +-
.../gas/arm/group-reloc-ldc-parsing-bad.l | 80 --
.../gas/arm/group-reloc-ldc-parsing-bad.s | 20 +-
gas/testsuite/gas/arm/group-reloc-ldc.d | 336 ++----
gas/testsuite/gas/arm/group-reloc-ldc.s | 45 -
gas/testsuite/gas/arm/le-fpconst.d | 11 -
gas/testsuite/gas/arm/le-fpconst.s | 8 -
include/opcode/arm.h | 12 +-
opcodes/arm-dis.c | 197 +--
49 files changed, 369 insertions(+), 2949 deletions(-)
delete mode 100644 gas/testsuite/gas/arm/attr-mfpu-arm7500fe.d
delete mode 100644 gas/testsuite/gas/arm/attr-mfpu-fpa.d
delete mode 100644 gas/testsuite/gas/arm/attr-mfpu-fpa10.d
delete mode 100644 gas/testsuite/gas/arm/attr-mfpu-fpa11.d
delete mode 100644 gas/testsuite/gas/arm/attr-mfpu-fpe.d
delete mode 100644 gas/testsuite/gas/arm/attr-mfpu-fpe2.d
delete mode 100644 gas/testsuite/gas/arm/attr-mfpu-fpe3.d
delete mode 100644 gas/testsuite/gas/arm/attr-mfpu-softfpa.d
delete mode 100644 gas/testsuite/gas/arm/float.d
delete mode 100644 gas/testsuite/gas/arm/float.s
create mode 100644 gas/testsuite/gas/arm/fp-directive-bad.d
create mode 100644 gas/testsuite/gas/arm/fp-directive-bad.l
create mode 100644 gas/testsuite/gas/arm/fp-directive.d
create mode 100644 gas/testsuite/gas/arm/fp-directive.s
delete mode 100644 gas/testsuite/gas/arm/fp-save.d
delete mode 100644 gas/testsuite/gas/arm/fp-save.s
delete mode 100644 gas/testsuite/gas/arm/fpa-dyadic.d
delete mode 100644 gas/testsuite/gas/arm/fpa-dyadic.s
delete mode 100644 gas/testsuite/gas/arm/fpa-mem.d
delete mode 100644 gas/testsuite/gas/arm/fpa-mem.s
delete mode 100644 gas/testsuite/gas/arm/fpa-monadic.d
delete mode 100644 gas/testsuite/gas/arm/fpa-monadic.s
delete mode 100644 gas/testsuite/gas/arm/le-fpconst.d
delete mode 100644 gas/testsuite/gas/arm/le-fpconst.s
--
2.34.1
next reply other threads:[~2024-06-03 11:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-03 11:49 Richard Earnshaw [this message]
2024-06-03 11:49 ` [PATCH 01/11] arm: remove FPA related tests Richard Earnshaw
2024-06-03 11:49 ` [PATCH 02/11] arm: rename FPU_ARCH_VFP to FPU_ARCH_SOFTVFP Richard Earnshaw
2024-06-03 11:49 ` [PATCH 03/11] arm: default to softvfp on armv6 or later cores Richard Earnshaw
2024-06-03 11:49 ` [PATCH 04/11] arm: adjust FPU selection logic Richard Earnshaw
2024-06-03 11:49 ` [PATCH 05/11] arm: redirect fp constant data directives through a wrapper Richard Earnshaw
2024-06-03 11:49 ` [PATCH 06/11] arm: change default FPUs from FPA to none Richard Earnshaw
2024-06-03 11:49 ` [PATCH 07/11] arm: remove options to select the FPA Richard Earnshaw
2024-06-03 11:49 ` [PATCH 08/11] arm: remove FPA instructions from assembler Richard Earnshaw
2024-06-03 11:49 ` [PATCH 09/11] arm: remove disassembly support for the FPA co-processor Richard Earnshaw
2024-06-03 11:49 ` [PATCH 10/11] arm: minor documentation cleanup given removal of FPA Richard Earnshaw
2024-06-03 11:49 ` [PATCH 11/11] NEWS: arm: note that FPA support has been removed Richard Earnshaw
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240603114912.4065598-1-rearnsha@arm.com \
--to=rearnsha@arm.com \
--cc=binutils@sourceware.org \
--cc=nickc@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).