- Some more prep for SIMD on s390x (mono/mono#16903)
authorNeale Ferguson <neale@sinenomine.net>
Wed, 18 Sep 2019 13:54:27 +0000 (09:54 -0400)
committerBernhard Urban <lewurm@gmail.com>
Wed, 18 Sep 2019 13:54:27 +0000 (15:54 +0200)
commit86cef82b2dee1e835142d23f1294989e1c1b2691
treea4a7678017bdb0fa9de607f42e7add7db66591cb
parent3e53f60f2dd1e604381842db10d61964ca51aff7
- Some more prep for SIMD on s390x (mono/mono#16903)

- Use __builtin_bswapxx for s390x rather than inline assembler
- s390x ABI specifies that %f8-%f15 are protected between calls so avoid using or save/restore as required
- Save the "protected" FP registers in the context structure

Commit migrated from https://github.com/mono/mono/commit/86f7cef7f43f9289e9aea96799875ed9578c50ab
src/mono/mono/arch/s390x/s390x-codegen.h
src/mono/mono/metadata/mono-endian.h
src/mono/mono/mini/exceptions-s390x.c
src/mono/mono/mini/mini-s390x.c
src/mono/mono/mini/tramp-s390x.c
src/mono/mono/utils/mono-context.h
src/mono/mono/utils/mono-sigcontext.h