summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-01-15 21:48:44 -0500
committerRich Felker <dalias@aerifal.cx>2014-01-15 21:48:44 -0500
commit50a50988d512f4e3a0e9c41227d5befa3b92540d (patch)
treeb2f016842ad731f9c39fc44a01ae6f47cfcbdac3
parent311736516e3a0782a6ec0e338190d08410d942de (diff)
downloadmusl-50a50988d512f4e3a0e9c41227d5befa3b92540d.tar.gz
remove more unnecessary operand-size suffixes from x86_64 atomic.h
-rw-r--r--arch/x86_64/atomic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/atomic.h b/arch/x86_64/atomic.h
index 3f2c5e1d..124b37ac 100644
--- a/arch/x86_64/atomic.h
+++ b/arch/x86_64/atomic.h
@@ -29,12 +29,12 @@ static inline void a_or_64(volatile uint64_t *p, uint64_t v)
static inline void a_store_l(volatile void *p, long x)
{
- __asm__( "movq %1, %0" : "=m"(*(long *)p) : "r"(x) : "memory" );
+ __asm__( "mov %1, %0" : "=m"(*(long *)p) : "r"(x) : "memory" );
}
static inline void a_or_l(volatile void *p, long v)
{
- __asm__( "lock ; orq %1, %0"
+ __asm__( "lock ; or %1, %0"
: "=m"(*(long *)p) : "r"(v) : "memory" );
}
@@ -108,7 +108,7 @@ static inline void a_dec(volatile int *x)
static inline void a_store(volatile int *p, int x)
{
- __asm__( "movl %1, %0" : "=m"(*p) : "r"(x) : "memory" );
+ __asm__( "mov %1, %0" : "=m"(*p) : "r"(x) : "memory" );
}
static inline void a_spin()