From 6162a0b98f8b05a21dae97414ad049077e231dc9 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Fri, 2 Feb 2024 15:53:23 +0100 Subject: [PATCH] Revert "ck_pr/aarch64: Specify output operands for ck_pr_md_store_*" This reverts commit affccdc6d0e1af2718dd45a81fa9c3fbf83bf38b. Mark asked for this to be reverted, and will submit a new patch. --- include/gcc/aarch64/ck_pr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gcc/aarch64/ck_pr.h b/include/gcc/aarch64/ck_pr.h index 574b68b0..0a473072 100644 --- a/include/gcc/aarch64/ck_pr.h +++ b/include/gcc/aarch64/ck_pr.h @@ -138,7 +138,7 @@ CK_PR_LOAD_S_64(double, double, "ldr") ck_pr_md_store_##S(M *target, T v) \ { \ __asm__ __volatile__(I " %w1, [%0]" \ - : "=m" (*(T **)target) \ + : \ : "r" (target), \ "r" (v) \ : "memory"); \ @@ -149,7 +149,7 @@ CK_PR_LOAD_S_64(double, double, "ldr") ck_pr_md_store_##S(M *target, T v) \ { \ __asm__ __volatile__(I " %1, [%0]" \ - : "=m" (*(T **)target) \ + : \ : "r" (target), \ "r" (v) \ : "memory"); \