Expand Up
@@ -187,7 +187,7 @@ struct operations< 4u, Signed > :
BOOST_ATOMIC_DETAIL_ARM_ASM_END (%[tmp])
: [tmp] " =&l" (tmp), [original] " =&r" (original), [storage] " +Q" (storage)
: [value] " r" (v)
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand Down
Expand Up
@@ -216,7 +216,7 @@ struct operations< 4u, Signed > :
[storage] " +Q" (storage) // %3
: [expected] " r" (expected), // %4
[desired] " r" (desired) // %5
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
if (success)
fence_after (success_order);
Expand Down
Expand Up
@@ -252,7 +252,7 @@ struct operations< 4u, Signed > :
[storage] " +Q" (storage) // %3
: [expected] " r" (expected), // %4
[desired] " r" (desired) // %5
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
if (success)
fence_after (success_order);
Expand Down
Expand Up
@@ -282,7 +282,7 @@ struct operations< 4u, Signed > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand All
@@ -308,7 +308,7 @@ struct operations< 4u, Signed > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand All
@@ -334,7 +334,7 @@ struct operations< 4u, Signed > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand All
@@ -360,7 +360,7 @@ struct operations< 4u, Signed > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand All
@@ -386,7 +386,7 @@ struct operations< 4u, Signed > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand Down
Expand Up
@@ -437,7 +437,7 @@ struct operations< 1u, false > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand All
@@ -464,7 +464,7 @@ struct operations< 1u, false > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand Down
Expand Up
@@ -499,7 +499,7 @@ struct operations< 1u, true > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand All
@@ -526,7 +526,7 @@ struct operations< 1u, true > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand Down
Expand Up
@@ -562,7 +562,7 @@ struct operations< 2u, false > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand All
@@ -589,7 +589,7 @@ struct operations< 2u, false > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand Down
Expand Up
@@ -624,7 +624,7 @@ struct operations< 2u, true > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand All
@@ -651,7 +651,7 @@ struct operations< 2u, true > :
[tmp] " =&l" (tmp), // %2
[storage] " +Q" (storage) // %3
: [value] " r" (v) // %4
: " cc "
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
);
fence_after (order);
return original;
Expand Down
Expand Up
@@ -718,7 +718,7 @@ struct operations< 8u, Signed > :
" =&r" (original) // %1
: " r" (v), // %2
" r" (&storage) // %3
: " cc " , " memory"
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA " memory"
);
fence_after (order);
return original;
Expand Down
Expand Up
@@ -748,7 +748,7 @@ struct operations< 8u, Signed > :
" +r" (old_val) // %2
: " r" (&storage), // %3
" r" (desired) // %4
: " cc " , " memory"
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA " memory"
);
const uint32_t success = (uint32_t )old_val;
if (success)
Expand Down
Expand Up
@@ -787,7 +787,7 @@ struct operations< 8u, Signed > :
" +r" (old_val) // %2
: " r" (&storage), // %3
" r" (desired) // %4
: " cc " , " memory"
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA " memory"
);
const uint32_t success = (uint32_t )old_val;
if (success)
Expand Down
Expand Up
@@ -819,7 +819,7 @@ struct operations< 8u, Signed > :
" =&r" (result) // %2
: " r" (&storage), // %3
" r" (v) // %4
: " cc " , " memory"
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA " memory"
);
fence_after (order);
return original;
Expand All
@@ -846,7 +846,7 @@ struct operations< 8u, Signed > :
" =&r" (result) // %2
: " r" (&storage), // %3
" r" (v) // %4
: " cc " , " memory"
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA " memory"
);
fence_after (order);
return original;
Expand All
@@ -873,7 +873,7 @@ struct operations< 8u, Signed > :
" =&r" (result) // %2
: " r" (&storage), // %3
" r" (v) // %4
: " cc " , " memory"
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA " memory"
);
fence_after (order);
return original;
Expand All
@@ -900,7 +900,7 @@ struct operations< 8u, Signed > :
" =&r" (result) // %2
: " r" (&storage), // %3
" r" (v) // %4
: " cc " , " memory"
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA " memory"
);
fence_after (order);
return original;
Expand All
@@ -927,7 +927,7 @@ struct operations< 8u, Signed > :
" =&r" (result) // %2
: " r" (&storage), // %3
" r" (v) // %4
: " cc " , " memory"
: BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA " memory"
);
fence_after (order);
return original;
Expand Down