[all-commits] [llvm/llvm-project] ef45c1: [compiler-rt][builtins] Support builtins for armv8...
Frank Dischner via All-commits
all-commits at lists.llvm.org
Tue Mar 14 17:21:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef45c12f9e6ec687e6281f7dc7c5e38e711bda9c
https://github.com/llvm/llvm-project/commit/ef45c12f9e6ec687e6281f7dc7c5e38e711bda9c
Author: Frank Dischner <fdischner at google.com>
Date: 2023-03-14 (Tue, 14 Mar 2023)
Changed paths:
M compiler-rt/cmake/builtin-config-ix.cmake
M compiler-rt/lib/builtins/CMakeLists.txt
M compiler-rt/lib/builtins/arm/divsi3.S
M compiler-rt/lib/builtins/arm/udivsi3.S
Log Message:
-----------
[compiler-rt][builtins] Support builtins for armv8m.base
This allows building the compiler builtins library for the Armv8-M
Baseline architecture. It can be built in the same way as other
baremetal targets using the appropriate '--target' flag
(e.g. --target=armv8m.base-eabi).
NOTE: As with the other Cortex-M targets, only the builtins library is
supported. There is no support for sanitizers, etc.
The armv8m.base architecture is a superset of armv6m, so adding it to
the cmake files using thumb1_SOURCES is almost enough for it to compile.
Minor changes are needed to divsi3 and udivsi3, because armv8m.base does
have support for div instructions but not mov with an immediate operand.
Reviewed By: MaskRay, peter.smith
Differential Revision: https://reviews.llvm.org/D143297
More information about the All-commits
mailing list