Enable clobber high for tls descs on Aarch64

Programming / Compilers / GCC - alahay01 [138bc75d-0d04-0410-961f-82ee72b054a4] - 6 August 2018 15:33 EDT

gcc/
- config/aarch64/aarch64.md: Add clobber highs to tls_desc.

gcc/testsuite/
- gcc.target/aarch64/sve/tls_preserve_1.c: New test.
- gcc.target/aarch64/sve/tls_preserve_2.c: New test.
- gcc.target/aarch64/sve/tls_preserve_3.c: New test.

2cac9fbe492 Enable clobber high for tls descs on Aarch64
gcc/ChangeLog | 4 ++
gcc/config/aarch64/aarch64.md | 69 ++++++++++++++++++----
gcc/testsuite/ChangeLog | 6 ++
.../gcc.target/aarch64/sve/tls_preserve_1.c | 19 ++++++
.../gcc.target/aarch64/sve/tls_preserve_2.c | 24 ++++++++
.../gcc.target/aarch64/sve/tls_preserve_3.c | 24 ++++++++
6 files changed, 134 insertions(+), 12 deletions(-)

Upstream: gcc.gnu.org


  • Share