Skip to content

Commit

Permalink
Merge pull request #216 from markjdb/master
Browse files Browse the repository at this point in the history
ck_pr/aarch64: Specify output operands for ck_pr_md_store_*
  • Loading branch information
cognet authored Feb 8, 2024
2 parents 6162a0b + d1e9f03 commit 4715581
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/gcc/aarch64/ck_pr.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ CK_PR_LOAD_S_64(double, double, "ldr")
CK_CC_INLINE static void \
ck_pr_md_store_##S(M *target, T v) \
{ \
__asm__ __volatile__(I " %w1, [%0]" \
: \
__asm__ __volatile__(I " %w2, [%1]" \
: "=m" (*(T *)target) \
: "r" (target), \
"r" (v) \
: "memory"); \
Expand All @@ -148,8 +148,8 @@ CK_PR_LOAD_S_64(double, double, "ldr")
CK_CC_INLINE static void \
ck_pr_md_store_##S(M *target, T v) \
{ \
__asm__ __volatile__(I " %1, [%0]" \
: \
__asm__ __volatile__(I " %2, [%1]" \
: "=m" (*(T *)target) \
: "r" (target), \
"r" (v) \
: "memory"); \
Expand Down

0 comments on commit 4715581

Please sign in to comment.