[all-commits] [llvm/llvm-project] abacab: [libc][riscv] Added support for rv32 in setjmp and...

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Wed Aug 30 08:22:48 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abacab6e0c30ff0f6327e7b4fbc044af0a195efe
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M libc/src/setjmp/riscv64/longjmp.cpp
    M libc/src/setjmp/riscv64/setjmp.cpp

  Log Message:
  [libc][riscv] Added support for rv32 in setjmp and longjmp

This patch adds two new macros to setjmp (STORE, STORE_FP) and two new
macros to longjmp (LOAD, LOAD_FP) that takes a register and a buff, then
select the correct asm instruction for rv32 and rv64.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D158640

More information about the All-commits mailing list