[libc-commits] [PATCH] D148797: [libc] Start to refactor riscv platform abstraction to support both 32 and 64 bits versions

Mikhail Ramalho via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Apr 26 08:07:45 PDT 2023


mikhail.ramalho updated this revision to Diff 517185.
mikhail.ramalho added a comment.

- Added details about the current status of the riscv32 port in the commit message
- Added LIBC_TARGET_ARCH_IS_ANY_RISCV and fix a syscall infinite recursion


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148797/new/

https://reviews.llvm.org/D148797

Files:
  libc/cmake/modules/LLVMLibCArchitectures.cmake
  libc/config/linux/riscv/entrypoints.txt
  libc/config/linux/riscv/headers.txt
  libc/config/linux/riscv64/entrypoints.txt
  libc/config/linux/riscv64/headers.txt
  libc/src/__support/FPUtil/FEnvImpl.h
  libc/src/__support/FPUtil/FMA.h
  libc/src/__support/FPUtil/riscv/FEnvImpl.h
  libc/src/__support/FPUtil/riscv/FMA.h
  libc/src/__support/FPUtil/riscv/sqrt.h
  libc/src/__support/FPUtil/riscv64/FEnvImpl.h
  libc/src/__support/FPUtil/riscv64/FMA.h
  libc/src/__support/FPUtil/riscv64/sqrt.h
  libc/src/__support/FPUtil/sqrt.h
  libc/src/__support/OSUtil/linux/riscv/CMakeLists.txt
  libc/src/__support/OSUtil/linux/riscv/syscall.h
  libc/src/__support/OSUtil/linux/riscv64/CMakeLists.txt
  libc/src/__support/OSUtil/linux/riscv64/syscall.h
  libc/src/__support/OSUtil/linux/syscall.h
  libc/src/__support/macros/properties/architectures.h
  libc/src/setjmp/riscv/CMakeLists.txt
  libc/src/setjmp/riscv/longjmp.cpp
  libc/src/setjmp/riscv/setjmp.cpp
  libc/src/setjmp/riscv64/CMakeLists.txt
  libc/src/setjmp/riscv64/longjmp.cpp
  libc/src/setjmp/riscv64/setjmp.cpp
  libc/startup/linux/riscv/CMakeLists.txt
  libc/startup/linux/riscv/start.cpp
  libc/startup/linux/riscv64/CMakeLists.txt
  libc/startup/linux/riscv64/start.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148797.517185.patch
Type: text/x-patch
Size: 47478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230426/902daf53/attachment-0001.bin>


More information about the libc-commits mailing list