Lines Matching +full:4 +full:v

16 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c…  in RSEQ_TEMPLATE_IDENTIFIER()
21 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
29 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
31 "cmpq %[v], %[expect]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
33 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
36 "cmpq %[v], %[expect]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
40 "movq %[newv], %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
43 RSEQ_ASM_DEFINE_ABORT(4, "", abort) in RSEQ_TEMPLATE_IDENTIFIER()
47 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
77 * Compare @v against @expectnot. When it does _not_ match, load @v
78 * into @load, and store the content of *@v + voffp into @v.
81 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in RSEQ_TEMPLATE_IDENTIFIER()
87 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
95 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
97 "movq %[v], %%rbx\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
100 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
103 "movq %[v], %%rbx\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
111 "movq %%rbx, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
114 RSEQ_ASM_DEFINE_ABORT(4, "", abort) in RSEQ_TEMPLATE_IDENTIFIER()
119 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
150 int RSEQ_TEMPLATE_IDENTIFIER(rseq_addv)(intptr_t *v, intptr_t count, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
155 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
161 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
167 "addq %[count], %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
169 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
170 RSEQ_ASM_DEFINE_ABORT(4, "", abort) in RSEQ_TEMPLATE_IDENTIFIER()
175 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
209 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
215 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
220 /* get p+v */ in RSEQ_TEMPLATE_IDENTIFIER()
228 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
229 RSEQ_ASM_DEFINE_ABORT(4, "", abort) in RSEQ_TEMPLATE_IDENTIFIER()
255 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
262 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
271 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
273 "cmpq %[v], %[expect]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
275 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
281 "cmpq %[v], %[expect]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
287 "movq %[newv], %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
290 RSEQ_ASM_DEFINE_ABORT(4, "", abort) in RSEQ_TEMPLATE_IDENTIFIER()
298 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
337 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
344 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
352 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
354 "cmpq %[v], %[expect]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
356 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
359 "cmpq %[v], %[expect]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
366 "movq %[newv], %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
369 RSEQ_ASM_DEFINE_ABORT(4, "", abort) in RSEQ_TEMPLATE_IDENTIFIER()
377 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
407 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trymemcpy_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
416 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
427 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
429 "cmpq %[v], %[expect]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
431 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
434 "cmpq %[v], %[expect]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
450 "movq %[newv], %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
457 RSEQ_ASM_DEFINE_ABORT(4, in RSEQ_TEMPLATE_IDENTIFIER()
483 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
528 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER()
533 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
541 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
543 "cmpl %[v], %[expect]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
545 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
548 "cmpl %[v], %[expect]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
552 "movl %[newv], %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
555 RSEQ_ASM_DEFINE_ABORT(4, "", abort) in RSEQ_TEMPLATE_IDENTIFIER()
559 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
589 * Compare @v against @expectnot. When it does _not_ match, load @v
590 * into @load, and store the content of *@v + voffp into @v.
593 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpnev_storeoffp_load)(intptr_t *v, intptr_t expectnot, in RSEQ_TEMPLATE_IDENTIFIER()
599 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
607 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
609 "movl %[v], %%ebx\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
612 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
615 "movl %[v], %%ebx\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
623 "movl %%ebx, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
626 RSEQ_ASM_DEFINE_ABORT(4, "", abort) in RSEQ_TEMPLATE_IDENTIFIER()
631 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
662 int RSEQ_TEMPLATE_IDENTIFIER(rseq_addv)(intptr_t *v, intptr_t count, int cpu) in RSEQ_TEMPLATE_IDENTIFIER()
667 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
673 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
679 "addl %[count], %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
681 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
682 RSEQ_ASM_DEFINE_ABORT(4, "", abort) in RSEQ_TEMPLATE_IDENTIFIER()
687 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
710 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
717 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
726 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
728 "cmpl %[v], %[expect]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
730 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
736 "cmpl %[v], %[expect]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
743 "movl %%eax, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
746 RSEQ_ASM_DEFINE_ABORT(4, "", abort) in RSEQ_TEMPLATE_IDENTIFIER()
754 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
793 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
800 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
808 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
811 "cmpl %[v], %%eax\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
813 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
817 "cmpl %[v], %%eax\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
827 "movl %[newv], %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
830 RSEQ_ASM_DEFINE_ABORT(4, "", abort) in RSEQ_TEMPLATE_IDENTIFIER()
838 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()
870 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trymemcpy_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
879 RSEQ_ASM_DEFINE_TABLE(3, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER()
890 RSEQ_ASM_CMP_CPU_ID(cpu_id, RSEQ_ASM_TP_SEGMENT:RSEQ_TEMPLATE_CPU_ID_OFFSET(%[rseq_offset]), 4f) in RSEQ_TEMPLATE_IDENTIFIER()
893 "cmpl %%eax, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
895 RSEQ_INJECT_ASM(4) in RSEQ_TEMPLATE_IDENTIFIER()
899 "cmpl %%eax, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
919 "movl %%eax, %[v]\n\t" in RSEQ_TEMPLATE_IDENTIFIER()
926 RSEQ_ASM_DEFINE_ABORT(4, in RSEQ_TEMPLATE_IDENTIFIER()
952 [v] "m" (*v), in RSEQ_TEMPLATE_IDENTIFIER()