]> begriffs open source - freertos/commit
armv8-m: Remove redundant constant pools (#1035)
authorDevaraj Ranganna <devaraj.ranganna@arm.com>
Thu, 18 Apr 2024 18:45:04 +0000 (19:45 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Apr 2024 18:45:04 +0000 (00:15 +0530)
commit8d280217cde3462373cfd7e361988f566b26cbc4
tree75ea36f1a1946209ecb130f435775c294fbc4ed3
parentbbc058967be6446f5e4cf486cad736856b53dd69
armv8-m: Remove redundant constant pools (#1035)

Currently in Armv8-M GCC/ArmClang ports, constant pool is used to
define literals needed for `ldr` instructions. However, those
constant pools are defined with `.align 4` which increases code size.
Instead of defining the constant pool with `.align 4`, let the
compiler hanlde the constant pool and the required alignment.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
15 files changed:
portable/ARMv8M/non_secure/portable/GCC/ARM_CM23/portasm.c
portable/ARMv8M/non_secure/portable/GCC/ARM_CM23_NTZ/portasm.c
portable/ARMv8M/non_secure/portable/GCC/ARM_CM33/portasm.c
portable/ARMv8M/non_secure/portable/GCC/ARM_CM33_NTZ/portasm.c
portable/GCC/ARM_CM23/non_secure/portasm.c
portable/GCC/ARM_CM23_NTZ/non_secure/portasm.c
portable/GCC/ARM_CM33/non_secure/mpu_wrappers_v2_asm.c
portable/GCC/ARM_CM33/non_secure/portasm.c
portable/GCC/ARM_CM33_NTZ/non_secure/portasm.c
portable/GCC/ARM_CM35P/non_secure/portasm.c
portable/GCC/ARM_CM35P_NTZ/non_secure/portasm.c
portable/GCC/ARM_CM55/non_secure/portasm.c
portable/GCC/ARM_CM55_NTZ/non_secure/portasm.c
portable/GCC/ARM_CM85/non_secure/portasm.c
portable/GCC/ARM_CM85_NTZ/non_secure/portasm.c