Skip to content

Commit

Permalink
ck_pr/aarch64: style.
Browse files Browse the repository at this point in the history
  • Loading branch information
cognet committed Dec 6, 2016
1 parent 4425c94 commit dae84ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/gcc/aarch64/ck_pr.h
Expand Up @@ -182,6 +182,7 @@ CK_CC_INLINE static bool
ck_pr_cas_64_2_value(uint64_t target[2], uint64_t compare[2], uint64_t set[2], uint64_t value[2])
{
uint64_t tmp1, tmp2;

__asm__ __volatile__("1:"
"ldxp %0, %1, [%4];"
"mov %2, %0;"
Expand Down Expand Up @@ -215,6 +216,7 @@ CK_CC_INLINE static bool
ck_pr_cas_64_2(uint64_t target[2], uint64_t compare[2], uint64_t set[2])
{
uint64_t tmp1, tmp2;

__asm__ __volatile__("1:"
"ldxp %0, %1, [%2];"
"eor %0, %0, %3;"
Expand Down

0 comments on commit dae84ba

Please sign in to comment.