[PATCH 0/1] AARCH64 Enable PAC and BTI

Bill Roberts bill.roberts at arm.com
Mon Aug 12 20:54:34 CEST 2024


This patch introduces PAC and BTI support for AARCH64. My apologies for the
diff style being git. However, hg email I could not get working and it seems
as though hg import works as expected with this patch.

If theirs another way this patch needs to come in, please let me know.

Thanks,
Bill Roberts

Bill Roberts (1):
  aarch64: support PAC and BTI

 configure.ac                   | 12 +++++
 mpn/Makeasm.am                 |  3 +-
 mpn/arm64/aors_n.asm           |  4 ++
 mpn/arm64/aorsmul_1.asm        |  3 ++
 mpn/arm64/aorsorrlsh1_n.asm    |  2 +
 mpn/arm64/aorsorrlsh2_n.asm    |  2 +
 mpn/arm64/aorsorrlshC_n.asm    |  1 +
 mpn/arm64/arm64-defs.m4        | 67 ++++++++++++++++++++++++++++
 mpn/arm64/bdiv_dbm1c.asm       |  2 +
 mpn/arm64/bdiv_q_1.asm         |  3 ++
 mpn/arm64/cnd_aors_n.asm       |  3 ++
 mpn/arm64/com.asm              |  2 +
 mpn/arm64/copyd.asm            |  2 +
 mpn/arm64/copyi.asm            |  2 +
 mpn/arm64/divrem_1.asm         |  9 ++++
 mpn/arm64/gcd_11.asm           |  2 +
 mpn/arm64/gcd_22.asm           |  2 +
 mpn/arm64/gen-extra-m4.sh      | 81 ++++++++++++++++++++++++++++++++++
 mpn/arm64/hamdist.asm          |  7 ++-
 mpn/arm64/invert_limb.asm      |  2 +
 mpn/arm64/logops_n.asm         |  3 ++
 mpn/arm64/lshift.asm           |  2 +
 mpn/arm64/lshiftc.asm          |  2 +
 mpn/arm64/mod_34lsub1.asm      |  2 +
 mpn/arm64/mul_1.asm            |  3 ++
 mpn/arm64/popcount.asm         |  8 +++-
 mpn/arm64/rsh1aors_n.asm       |  3 ++
 mpn/arm64/rshift.asm           |  2 +
 mpn/arm64/sec_tabselect.asm    |  2 +
 mpn/arm64/sqr_diag_addlsh1.asm |  2 +
 mpn/m4-ccas                    | 23 ++++++++--
 31 files changed, 255 insertions(+), 8 deletions(-)
 create mode 100755 mpn/arm64/gen-extra-m4.sh

-- 
2.45.2



More information about the gmp-devel mailing list