From d20e01bb06fb81a7584c4ae7c7daf5aec2ed0a1a Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Thu, 17 Feb 2022 02:16:25 -0800 Subject: [PATCH] Revert "[NFC][compiler-rt] Format file lib/builtins/arm/sync-ops.h" This reverts commit f165c23bf3598990aaf2174a6bc40be75199ee1a. Part of revert sequence for 910a642c0a. --- compiler-rt/lib/builtins/arm/sync-ops.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/compiler-rt/lib/builtins/arm/sync-ops.h b/compiler-rt/lib/builtins/arm/sync-ops.h index 9f7f23f98f08..b924b33f80eb 100644 --- a/compiler-rt/lib/builtins/arm/sync-ops.h +++ b/compiler-rt/lib/builtins/arm/sync-ops.h @@ -36,7 +36,7 @@ .thumb; \ .syntax unified; \ DEFINE_COMPILERRT_THUMB_FUNCTION(__sync_fetch_and_##op) \ - push{r4, r5, r6, lr}; \ + push {r4, r5, r6, lr}; \ dmb; \ mov r12, r0; \ LOCAL_LABEL(tryatomic_##op) : ldrexd r0, r1, [r12]; \ @@ -52,7 +52,8 @@ #define SYNC_OP_4(op) \ .p2align 2; \ DEFINE_COMPILERRT_THUMB_FUNCTION(__sync_fetch_and_##op) \ - LOCAL_LABEL(tryatomic_##op) : mov r12, r0; \ + LOCAL_LABEL(tryatomic_##op) : \ + mov r12, r0; \ op(r2, r0, r1); \ str r2, [r12]; \ ldr r12, [r12]; \ @@ -63,8 +64,9 @@ #define SYNC_OP_8(op) \ .p2align 2; \ DEFINE_COMPILERRT_THUMB_FUNCTION(__sync_fetch_and_##op) \ - push{r4, r5, r6, lr}; \ - LOCAL_LABEL(tryatomic_##op) : mov r12, r0; \ + push {r4, r5, r6, lr}; \ + LOCAL_LABEL(tryatomic_##op) : \ + mov r12, r0; \ op(r4, r5, r0, r1, r2, r3); \ stm r12, {r4, r5}; \ ldm r12, {r6, r12}; \