diff --git a/compiler-rt/cmake/builtin-config-ix.cmake b/compiler-rt/cmake/builtin-config-ix.cmake index 706a1ff7eeb6db..b1bde47ec8555f 100644 --- a/compiler-rt/cmake/builtin-config-ix.cmake +++ b/compiler-rt/cmake/builtin-config-ix.cmake @@ -43,9 +43,9 @@ asm(\"cas w0, w1, [x2]\"); builtin_check_c_compiler_source(COMPILER_RT_HAS_AARCH64_SME " void foo(void) __arm_streaming_compatible { - asm(\".arch armv9-a+sme2\"); - asm(\"smstart\"); - asm(\"ldr zt0, [sp]\"); + asm(\".arch armv9-a+sme2\\n\" + \"smstart\\n\" + \"ldr zt0, [sp]\"); } ")