]> begriffs open source - freertos/commit
portable: aarch64_sre: add configUSE_TASK_FPU_SUPPORT support
authorMarouen Ghodhbane <marouen.ghodhbane@nxp.com>
Wed, 9 Oct 2024 15:31:45 +0000 (17:31 +0200)
committerArchit Gupta <archigup@amazon.com>
Thu, 23 Jan 2025 01:00:50 +0000 (17:00 -0800)
commitff0989e46b15dca255b57cecaff22795bff9df85
treeaf8d6c2cc7ab4c4c1b25ca79b2dbf290a74053ef
parent1b8f5965d360953ebf5559c97418f5f5264bdbee
portable: aarch64_sre: add configUSE_TASK_FPU_SUPPORT support

This is a direct backport of upstream commit [1] for aarch64 (legacy operation port)
done under [2]
The same code can be applied on the aarch SRE port to be able to enable FPU context
saving on all tasks context switch to mitigate GCC optimization to use SIMD registers
for copy.

[1] "55eceb22: Add configUSE_TASK_FPU_SUPPORT to AARCH64 port (#1048)"
[2] https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1048

Signed-off-by: Marouen Ghodhbane <marouen.ghodhbane@nxp.com>
portable/GCC/ARM_AARCH64_SRE/port.c
portable/GCC/ARM_AARCH64_SRE/portmacro.h