Skip to content

Commit 8d28021

Browse files
urutvachinglee-iotaggarg
authored
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>
1 parent bbc0589 commit 8d28021

File tree

15 files changed

+372
-786
lines changed

15 files changed

+372
-786
lines changed

portable/ARMv8M/non_secure/portable/GCC/ARM_CM23/portasm.c

Lines changed: 36 additions & 68 deletions
Large diffs are not rendered by default.

portable/ARMv8M/non_secure/portable/GCC/ARM_CM23_NTZ/portasm.c

Lines changed: 27 additions & 55 deletions
Large diffs are not rendered by default.

portable/ARMv8M/non_secure/portable/GCC/ARM_CM33/portasm.c

Lines changed: 29 additions & 60 deletions
Large diffs are not rendered by default.

portable/ARMv8M/non_secure/portable/GCC/ARM_CM33_NTZ/portasm.c

Lines changed: 20 additions & 48 deletions
Large diffs are not rendered by default.

portable/GCC/ARM_CM23/non_secure/portasm.c

Lines changed: 36 additions & 68 deletions
Large diffs are not rendered by default.

portable/GCC/ARM_CM23_NTZ/non_secure/portasm.c

Lines changed: 27 additions & 55 deletions
Large diffs are not rendered by default.

portable/GCC/ARM_CM33/non_secure/mpu_wrappers_v2_asm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1720,6 +1720,7 @@
17201720
}
17211721

17221722
#endif /* #if ( configUSE_EVENT_GROUPS == 1 ) */
1723+
17231724
/*-----------------------------------------------------------*/
17241725

17251726
#if ( configUSE_EVENT_GROUPS == 1 )

portable/GCC/ARM_CM33/non_secure/portasm.c

Lines changed: 29 additions & 60 deletions
Large diffs are not rendered by default.

portable/GCC/ARM_CM33_NTZ/non_secure/portasm.c

Lines changed: 20 additions & 48 deletions
Large diffs are not rendered by default.

portable/GCC/ARM_CM35P/non_secure/portasm.c

Lines changed: 29 additions & 60 deletions
Large diffs are not rendered by default.

portable/GCC/ARM_CM35P_NTZ/non_secure/portasm.c

Lines changed: 20 additions & 48 deletions
Large diffs are not rendered by default.

portable/GCC/ARM_CM55/non_secure/portasm.c

Lines changed: 29 additions & 60 deletions
Large diffs are not rendered by default.

portable/GCC/ARM_CM55_NTZ/non_secure/portasm.c

Lines changed: 20 additions & 48 deletions
Large diffs are not rendered by default.

portable/GCC/ARM_CM85/non_secure/portasm.c

Lines changed: 29 additions & 60 deletions
Large diffs are not rendered by default.

portable/GCC/ARM_CM85_NTZ/non_secure/portasm.c

Lines changed: 20 additions & 48 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)