diff options
author | Andy Wingo <wingo@igalia.com> | 2024-04-22 14:41:44 +0200 |
---|---|---|
committer | Andy Wingo <wingo@igalia.com> | 2024-04-22 15:03:01 +0200 |
commit | 43262c09625c5d76a853af8613dcc685e3d98136 (patch) | |
tree | 3adb007a8c4ee175769fc0ced626200b62e387ec /lib | |
parent | 2c0126e3ef23ed7962d8fe36b0249fb4256e8d0b (diff) | |
download | guile-43262c09625c5d76a853af8613dcc685e3d98136.tar.gz |
aarch64: Add support for LSE atomics
* lightening/aarch64-cpu.c (SWPAL, CASAL): New instructions.
(swap_atomic, cas_atomic): Use better instructions if we have LSE.
* lightening/aarch64.c (get_hwcap, jit_get_cpu): Arrange to detect LSE
availability on GNU/Linux and Darwin.
Based on a patch by Tony Garnock-Jones. Thanks!
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions