?? qatomic_sun.s
字號:
.code64 .globl q_atomic_test_and_set_ptr .type q_atomic_test_and_set_ptr, @function .section .text, "ax" .align 16 q_atomic_test_and_set_ptr: push %rbp movq %rsp, %rbp movq %rsi, %rax lock cmpxchgq %rdx, (%rdi) movq $0, %rax sete %al movq %rbp, %rsp pop %rbp ret .size q_atomic_test_and_set_ptr, . - q_atomic_test_and_set_ptr .globl q_atomic_test_and_set_int .type q_atomic_test_and_set_int, @function .section .text, "ax" .align 16q_atomic_test_and_set_int: push %rbp movq %rsp, %rbp movl %esi, %eax lock cmpxchgl %edx, (%rdi) movl $0, %eax sete %al movq %rbp, %rsp pop %rbp ret .size q_atomic_test_and_set_int, . - q_atomic_test_and_set_int
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -