qatomic32.s
来自「QT 开发环境里面一个很重要的文件」· S 代码 · 共 67 行
S
67 行
.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: 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_ptr
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?