📄 qatomic64.s
字号:
.set nobopt .set noreorder .option pic2 .text .globl q_atomic_test_and_set_int .ent q_atomic_test_and_set_intq_atomic_test_and_set_int:1: ll $8,0($4) bne $8,$5,2f move $2,$6 sc $2,0($4) beqz $2,1b nop jr $31 nop2: jr $31 move $2,$0 .end q_atomic_test_and_set_int .globl q_atomic_test_and_set_acquire_int .ent q_atomic_test_and_set_acquire_intq_atomic_test_and_set_acquire_int:1: ll $8,0($4) bne $8,$5,2f move $2,$6 sc $2,0($4) beqz $2,1b nop jr $31 nop2: sync jr $31 move $2,$0 .end q_atomic_test_and_set_acquire_int .globl q_atomic_test_and_set_release_int .ent q_atomic_test_and_set_release_intq_atomic_test_and_set_release_int: sync1: ll $8,0($4) bne $8,$5,2f move $2,$6 sc $2,0($4) beqz $2,1b nop jr $31 nop2: jr $31 move $2,$0 .end q_atomic_test_and_set_release_int .globl q_atomic_test_and_set_ptr .ent q_atomic_test_and_set_ptrq_atomic_test_and_set_ptr:1: lld $8,0($4) bne $8,$5,2f move $2,$6 scd $2,0($4) beqz $2,1b nop jr $31 nop2: jr $31 move $2,$0 .end q_atomic_test_and_set_ptr
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -