Skip to content

Commit

Permalink
Revert "[compiler-rt][aarch64] Add SME ABI support routines." (#68875)
Browse files Browse the repository at this point in the history
This reverts commit 2b05fa8. It caused build errors in compiler-rt.
  • Loading branch information
hnrklssn committed Oct 12, 2023
1 parent 2f43ace commit 072713a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 249 deletions.
4 changes: 0 additions & 4 deletions compiler-rt/cmake/Modules/AddCompilerRT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,6 @@ function(add_compiler_rt_runtime name type)
set(COMPONENT_OPTION COMPONENT ${libname})
endif()

if(type STREQUAL "SHARED")
list(APPEND LIB_DEFS COMPILER_RT_SHARED_LIB)
endif()

if(type STREQUAL "OBJECT")
if(CMAKE_C_COMPILER_ID MATCHES Clang AND CMAKE_C_COMPILER_TARGET)
list(APPEND extra_cflags_${libname} "--target=${CMAKE_C_COMPILER_TARGET}")
Expand Down
6 changes: 0 additions & 6 deletions compiler-rt/cmake/builtin-config-ix.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ asm(\".arch armv8-a+lse\");
asm(\"cas w0, w1, [x2]\");
")

builtin_check_c_compiler_source(COMPILER_RT_HAS_ASM_SME
"
asm(\".arch armv9-a+sme\");
asm(\"smstart\");
")

if(ANDROID)
set(OS_NAME "Android")
else()
Expand Down
3 changes: 0 additions & 3 deletions compiler-rt/lib/builtins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,6 @@ set(aarch64_SOURCES
${GENERIC_SOURCES}
cpu_model.c
aarch64/fp_mode.c
aarch64/sme-abi.S
aarch64/sme-abi-init.c
)

# Generate outline atomics helpers from lse.S base
Expand Down Expand Up @@ -782,7 +780,6 @@ else ()
endif()

append_list_if(COMPILER_RT_HAS_ASM_LSE HAS_ASM_LSE BUILTIN_DEFS)
append_list_if(COMPILER_RT_HAS_ASM_SME HAS_ASM_SME BUILTIN_DEFS)

foreach (arch ${BUILTIN_SUPPORTED_ARCH})
if (CAN_TARGET_${arch})
Expand Down
49 changes: 0 additions & 49 deletions compiler-rt/lib/builtins/aarch64/sme-abi-init.c

This file was deleted.

187 changes: 0 additions & 187 deletions compiler-rt/lib/builtins/aarch64/sme-abi.S

This file was deleted.

0 comments on commit 072713a

Please sign in to comment.