don't include gas assembler hints
This commit was SVN r8400.
Этот коммит содержится в:
родитель
d77f418fc9
Коммит
aa28207fdc
@ -34,9 +34,7 @@ START_FUNC(opal_atomic_cmpset_32)
|
|||||||
movl -16(%rbp), %ecx
|
movl -16(%rbp), %ecx
|
||||||
movq -8(%rbp), %rdx
|
movq -8(%rbp), %rdx
|
||||||
movl -12(%rbp), %eax
|
movl -12(%rbp), %eax
|
||||||
#APP
|
|
||||||
cmpxchgl %ecx,(%rdx)
|
cmpxchgl %ecx,(%rdx)
|
||||||
#NO_APP
|
|
||||||
movq %rax, -24(%rbp)
|
movq %rax, -24(%rbp)
|
||||||
movl -24(%rbp), %eax
|
movl -24(%rbp), %eax
|
||||||
movl %eax, -28(%rbp)
|
movl %eax, -28(%rbp)
|
||||||
@ -60,10 +58,8 @@ START_FUNC(opal_atomic_cmpset_64)
|
|||||||
movq -24(%rbp), %rcx
|
movq -24(%rbp), %rcx
|
||||||
movq -8(%rbp), %rdx
|
movq -8(%rbp), %rdx
|
||||||
movq -16(%rbp), %rax
|
movq -16(%rbp), %rax
|
||||||
#APP
|
|
||||||
cmpxchgq %rcx,(%rdx)
|
cmpxchgq %rcx,(%rdx)
|
||||||
|
|
||||||
#NO_APP
|
|
||||||
movq %rax, -32(%rbp)
|
movq %rax, -32(%rbp)
|
||||||
movq -32(%rbp), %rax
|
movq -32(%rbp), %rax
|
||||||
cmpq -16(%rbp), %rax
|
cmpq -16(%rbp), %rax
|
||||||
@ -75,9 +71,7 @@ END_FUNC(opal_atomic_cmpset_64)
|
|||||||
|
|
||||||
|
|
||||||
START_FUNC(opal_sys_timer_get_cycles)
|
START_FUNC(opal_sys_timer_get_cycles)
|
||||||
#APP
|
|
||||||
rdtsc
|
rdtsc
|
||||||
#NO_APP
|
|
||||||
salq $32, %rdx
|
salq $32, %rdx
|
||||||
mov %eax, %eax
|
mov %eax, %eax
|
||||||
orq %rdx, %rax
|
orq %rdx, %rax
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user