Does 6.3.0 still use x18 in arm64 code?

Torbjörn Granlund tg at gmplib.org
Mon Oct 16 11:04:30 CEST 2023


Jay Freeman <jay_reynolds_freeman at mac.com> writes:

  The GMP 6.3.0 release notes list under "FEATURES":
  Support for 64-bit Arm under Macos.

Indeed.

  There has been previous discussion of possible problems using GMP in
  macOS because Apple reserves register x18 for undisclosed purposes,
  whereas GMPs mpn/arm64 assembly code uses that register.

sed 's/uses/used/'

  Does GMP release  6.3.0 still use x18 in mpn/arm64 assembly code under macOS?

If you know where to look (mpn/arm64) then isn't it quite plain to
answer your question?

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-discuss mailing list