[all-commits] [llvm/llvm-project] 5a8956: [compiler-rt][libunwind] Support aarch64 without F...

Keith Packard via All-commits all-commits at lists.llvm.org
Thu Nov 7 08:33:06 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a8956ea8b8ac1ef7b6c4e42553a55063ab699ea
      https://github.com/llvm/llvm-project/commit/5a8956ea8b8ac1ef7b6c4e42553a55063ab699ea
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M compiler-rt/lib/builtins/aarch64/sme-libc-mem-routines.S
    M compiler-rt/lib/builtins/aarch64/sme-libc-routines.c
    M libunwind/src/UnwindRegistersRestore.S
    M libunwind/src/UnwindRegistersSave.S

  Log Message:
  -----------
  [compiler-rt][libunwind] Support aarch64 without FPU (#111235)

These two libraries don't build for `-march=armv8-a+nofp
-mabi=aapcs-soft` as a couple of uses of floating point instructions and
registers have crept in.

In libunwind, skip save/restore of FPU registers on targets without them.
In compiler-rt, fall back to the old C implementation of __arm_sc_memset when
the target doesn't have an FPU.

---------

Signed-off-by: Keith Packard <keithp at keithp.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list