gcc/libgcc/config/arm
Richard Earnshaw 6b9ce2b4eb libgcc: arm: convert thumb1 code to unified syntax
Unified syntax has been the official syntax for thumb1 assembly for
over 10 years now.  It's time we made preparations for that becoming
the default in the assembler.  But before we can start doing that we
really need to clean up some laggards from the olden days.  Libgcc
support for thumb1 is one such example.

This patch converts all of the legacy (disjoint) syntax that I could
find over to unified code.  The identification was done by using a
trick version of gas that defaulted to unified mode which then faults
if legacy syntax is encountered.  The code produced was then compared
against the old code to check for differences.  One such difference
does exist, but that is because in unified syntax 'movs rd, rn' is
encoded as 'lsls rd, rn, #0', rather than 'adds rd, rn, #0'; but that
is a deliberate change that was introduced because the lsls encoding
more closely reflects the behaviour of 'movs' in arm state (where only
some of the condition flags are modified).

	* config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
	syntax.
	(aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
	(aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
	(aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
	(aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
	* config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
	syntax.
	(divsi3, modsi3): Likewise.
	(clzdi2, ctzsi2): Likewise.
	* config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
	unified syntax.
	(UNWIND_WRAPPER): Likewise.
2020-03-03 16:02:24 +00:00
..
bpabi-lib.h Update copyright years. 2020-01-01 12:51:42 +01:00
bpabi-v6m.S libgcc: arm: convert thumb1 code to unified syntax 2020-03-03 16:02:24 +00:00
bpabi.c Update copyright years. 2020-01-01 12:51:42 +01:00
bpabi.S Update copyright years. 2020-01-01 12:51:42 +01:00
cmse_nonsecure_call.S Update copyright years. 2020-01-01 12:51:42 +01:00
cmse.c Update copyright years. 2020-01-01 12:51:42 +01:00
crtfastmath.c Update copyright years. 2020-01-01 12:51:42 +01:00
crti.S Update copyright years. 2020-01-01 12:51:42 +01:00
crtn.S Update copyright years. 2020-01-01 12:51:42 +01:00
fp16.c Update copyright years. 2020-01-01 12:51:42 +01:00
freebsd-atomic.c Update copyright years. 2020-01-01 12:51:42 +01:00
ieee754-df.S Update copyright years. 2020-01-01 12:51:42 +01:00
ieee754-sf.S Update copyright years. 2020-01-01 12:51:42 +01:00
lib1funcs.S libgcc: arm: convert thumb1 code to unified syntax 2020-03-03 16:02:24 +00:00
libgcc-bpabi.ver Update copyright years. 2020-01-01 12:51:42 +01:00
libunwind.S libgcc: arm: convert thumb1 code to unified syntax 2020-03-03 16:02:24 +00:00
linux-atomic-64bit.c Update copyright years. 2020-01-01 12:51:42 +01:00
linux-atomic.c Update copyright years. 2020-01-01 12:51:42 +01:00
pr-support.c Update copyright years. 2020-01-01 12:51:42 +01:00
sfp-machine.h re PR libgcc/60166 (ARM default NAN encoding violates EABI) 2014-05-21 01:24:05 +00:00
symbian-lib.h Update copyright years. 2020-01-01 12:51:42 +01:00
t-arm [PATCH, GCC/ARM, 1/10] Fix -mcmse check in libgcc 2020-01-16 15:09:19 +00:00
t-bpabi
t-elf [ARM] Optimize executable size when using softfloat fmul/dmul 2018-12-19 17:34:18 +00:00
t-freebsd configure.ac: Don't add ${libgcj} for arm*-*-freebsd*. 2015-01-09 15:06:02 +01:00
t-linux
t-linux-eabi
t-netbsd [NetBSD] Add support for the Arm EABI. 2019-06-14 14:04:20 +00:00
t-netbsd-eabi [NetBSD] Add support for the Arm EABI. 2019-06-14 14:04:20 +00:00
t-softfp elf.h: Use __ARM_ARCH_ISA_THUMB and __ARM_ARCH_ISA_ARM to decide whether to prevent... 2016-07-07 08:54:18 +00:00
t-strongarm-elf
t-symbian
t-vxworks7 config.gcc (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7 as well as arm-wrs-vxworks. 2017-08-01 14:14:21 +00:00
t-wince-pe
unaligned-funcs.c Update copyright years. 2020-01-01 12:51:42 +01:00
unwind-arm-vxworks.c Update copyright years. 2020-01-01 12:51:42 +01:00
unwind-arm.c Update copyright years. 2020-01-01 12:51:42 +01:00
unwind-arm.h arm: Fix up arm installed unwind.h for use in pedantic modes [PR93615] 2020-02-07 11:01:14 +01:00