Lines Matching +full:4 +full:v
14 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER()
19 RSEQ_ASM_DEFINE_TABLE(9, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
27 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER()
29 LONG_L " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
30 "bne $4, %[expect], %l[cmpfail]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
31 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
34 LONG_L " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
35 "bne $4, %[expect], %l[error2]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
38 LONG_S " %[newv], %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
42 RSEQ_ASM_DEFINE_ABORT(3, 4, "", abort, 1b, 2b, 4f) in RSEQ_TEMPLATE_IDENTIFIER()
48 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
52 : "$4", "memory" in RSEQ_TEMPLATE_IDENTIFIER()
74 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in RSEQ_TEMPLATE_IDENTIFIER()
80 RSEQ_ASM_DEFINE_TABLE(9, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
88 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER()
90 LONG_L " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
91 "beq $4, %[expectnot], %l[cmpfail]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
92 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
95 LONG_L " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
96 "beq $4, %[expectnot], %l[error2]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
98 LONG_S " $4, %[load]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
99 LONG_ADDI " $4, %[voffp]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
100 LONG_L " $4, 0($4)\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
102 LONG_S " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
106 RSEQ_ASM_DEFINE_ABORT(3, 4, "", abort, 1b, 2b, 4f) in RSEQ_TEMPLATE_IDENTIFIER()
113 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
118 : "$4", "memory" in RSEQ_TEMPLATE_IDENTIFIER()
140 int RSEQ_TEMPLATE_IDENTIFIER(rseq_addv)(intptr_t *v, intptr_t count, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
145 RSEQ_ASM_DEFINE_TABLE(9, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
151 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER()
156 LONG_L " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
157 LONG_ADDI " $4, %[count]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
159 LONG_S " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
161 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
163 RSEQ_ASM_DEFINE_ABORT(3, 4, "", abort, 1b, 2b, 4f) in RSEQ_TEMPLATE_IDENTIFIER()
169 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
172 : "$4", "memory" in RSEQ_TEMPLATE_IDENTIFIER()
190 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
197 RSEQ_ASM_DEFINE_TABLE(9, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
206 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER()
208 LONG_L " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
209 "bne $4, %[expect], %l[cmpfail]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
210 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
211 LONG_L " $4, %[v2]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
212 "bne $4, %[expect2], %l[cmpfail]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
216 LONG_L " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
217 "bne $4, %[expect], %l[error2]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
218 LONG_L " $4, %[v2]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
219 "bne $4, %[expect2], %l[error3]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
222 LONG_S " %[newv], %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
226 RSEQ_ASM_DEFINE_ABORT(3, 4, "", abort, 1b, 2b, 4f) in RSEQ_TEMPLATE_IDENTIFIER()
236 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
240 : "$4", "memory" in RSEQ_TEMPLATE_IDENTIFIER()
270 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
277 RSEQ_ASM_DEFINE_TABLE(9, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
285 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER()
287 LONG_L " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
288 "bne $4, %[expect], %l[cmpfail]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
289 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
292 LONG_L " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
293 "bne $4, %[expect], %l[error2]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
302 LONG_S " %[newv], %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
306 RSEQ_ASM_DEFINE_ABORT(3, 4, "", abort, 1b, 2b, 4f) in RSEQ_TEMPLATE_IDENTIFIER()
316 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
320 : "$4", "memory" in RSEQ_TEMPLATE_IDENTIFIER()
342 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trymemcpy_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
351 RSEQ_ASM_DEFINE_TABLE(9, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
362 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER()
364 LONG_L " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
365 "bne $4, %[expect], 5f\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
366 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
369 LONG_L " $4, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
370 "bne $4, %[expect], 7f\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
375 "lb $4, 0(%[src])\n\t" \ in RSEQ_TEMPLATE_IDENTIFIER()
376 "sb $4, 0(%[dst])\n\t" \ in RSEQ_TEMPLATE_IDENTIFIER()
387 LONG_S " %[newv], %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
395 RSEQ_ASM_DEFINE_ABORT(3, 4, in RSEQ_TEMPLATE_IDENTIFIER()
400 abort, 1b, 2b, 4f) in RSEQ_TEMPLATE_IDENTIFIER()
427 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
438 : "$4", "memory" in RSEQ_TEMPLATE_IDENTIFIER()