diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2024-02-21 11:12:29 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2024-02-21 11:12:29 +0000 |
commit | 38004cf8699a82790d83846e3bd37e151e709ede (patch) | |
tree | 5fe19dd18dc93c6941420be20a7085663ace2aeb /libgcc | |
parent | 3651b1b23fdd30fd00f0cd08ec4806dd16d1f3d3 (diff) | |
download | gcc-38004cf8699a82790d83846e3bd37e151e709ede.zip gcc-38004cf8699a82790d83846e3bd37e151e709ede.tar.gz gcc-38004cf8699a82790d83846e3bd37e151e709ede.tar.bz2 |
aarch64: More SME vs -mtrack-speculation
The sequence to commit a lazy save includes a branch based on
whether TPIDR2_EL0 is zero. The code assumed that CBZ could
be used for this, but that instruction is forbidden when
-mtrack-speculation is being used.
gcc/
* config/aarch64/aarch64.cc (aarch64_mode_emit_local_sme_state):
Use aarch64_gen_compare_zero_and_branch rather than emitting
a CBZ directly.
gcc/testsuite/
* gcc.target/aarch64/sme/locally_streaming_1_ts.c: New test.
* gcc.target/aarch64/sme/sibcall_7_ts.c: Likewise.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions