arm-trusted-firmware/make_helpers
Madhukar Pappireddy 308ebfa188 feat(simd): introduce simd context helper APIs
This patch adds the common API to save and restore FP and SVE. When SVE
is enabled we save and restore SVE which automatically covers FP. If FP
is enabled while SVE is not, then we save and restore FP only.

The patch uses simd_ctx_t to save and restore both FP and SVE which
means developers need not use fp or sve routines directly. Once all the
calls to fpregs_context_* are replaced with simd_ctx_*, we can remove
fp_regs_t data structure and macros (taken care in a following patch).

simd_ctx_t is currently allocated in section of its own. This will go
into  BSS section by default but platform will have option of relocating
it to a different section by overriding in plat.ld.S.

Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Signed-off-by: Okash Khawaja <okash@google.com>
Change-Id: I090f8b8fa3862e527b6c40385249adc69256bf24
2024-08-19 11:10:10 -05:00
..
tbbr fix(tbbr): unrecognised 'tos-fw-key-cert' option 2023-09-07 11:14:52 +01:00
toolchains build: improve diagnostics for unrecognized toolchain tools 2024-04-29 12:47:01 +00:00
arch_features.mk Merge "build(amu): restrict counters (RAZ)" into integration 2024-07-29 18:55:03 +02:00
armv7-a-cpus.mk refactor(build): merge march32/64 directives 2023-06-22 16:37:03 -05:00
build-rules.mk build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
build_env.mk build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
build_macros.mk build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
common.mk build: unify verbosity handling 2024-06-14 15:54:48 +00:00
cygwin.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
defaults.mk feat(simd): introduce simd context helper APIs 2024-08-19 11:10:10 -05:00
march.mk build: skip toolchain detection for some targets 2024-05-14 15:41:15 +00:00
msys.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
plat_helpers.mk Change PLATFORM_ROOT to TF_PLATFORM_ROOT 2018-03-05 14:18:04 +08:00
toolchain.mk build: allow shell commands in CC and friends 2024-05-15 13:33:38 +02:00
unix.mk build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
utilities.mk build: add facilities for interpreting boolean values 2024-06-14 15:54:47 +00:00
windows.mk build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00