Home
last modified time | relevance | path

Searched refs:memsi (Results 1 – 16 of 16) sorted by relevance

/netbsd/external/gpl3/gcc/dist/gcc/config/xtensa/
H A Dxtensa.c1405 rtx memsi; /* SI aligned memory location. */ member
1422 ac->memsi = adjust_address (mem, SImode, 0); /* Memory is aligned. */ in init_alignment_context()
1436 ac->memsi = gen_rtx_MEM (SImode, align); in init_alignment_context()
1437 MEM_VOLATILE_P (ac->memsi) = MEM_VOLATILE_P (mem); in init_alignment_context()
1438 set_mem_alias_set (ac->memsi, ALIAS_SET_MEMORY_BARRIER); in init_alignment_context()
1439 set_mem_align (ac->memsi, GET_MODE_BITSIZE (SImode)); in init_alignment_context()
1505 val = force_reg (SImode, expand_simple_binop (SImode, AND, ac.memsi, in xtensa_expand_compare_and_swap()
1517 emit_insn (gen_sync_compare_and_swapsi (res, ac.memsi, cmpv, newv)); in xtensa_expand_compare_and_swap()
1590 cmp = force_reg (SImode, ac.memsi); in xtensa_expand_atomic()
1631 emit_insn (gen_sync_compare_and_swapsi (cmp, ac.memsi, old, new_rtx)); in xtensa_expand_atomic()
H A Dxtensa.cc1431 rtx memsi; /* SI aligned memory location. */ member
1448 ac->memsi = adjust_address (mem, SImode, 0); /* Memory is aligned. */ in init_alignment_context()
1462 ac->memsi = gen_rtx_MEM (SImode, align); in init_alignment_context()
1463 MEM_VOLATILE_P (ac->memsi) = MEM_VOLATILE_P (mem); in init_alignment_context()
1464 set_mem_alias_set (ac->memsi, ALIAS_SET_MEMORY_BARRIER); in init_alignment_context()
1465 set_mem_align (ac->memsi, GET_MODE_BITSIZE (SImode)); in init_alignment_context()
1531 val = force_reg (SImode, expand_simple_binop (SImode, AND, ac.memsi, in xtensa_expand_compare_and_swap()
1543 emit_insn (gen_sync_compare_and_swapsi (res, ac.memsi, cmpv, newv)); in xtensa_expand_compare_and_swap()
1616 cmp = force_reg (SImode, ac.memsi); in xtensa_expand_atomic()
1657 emit_insn (gen_sync_compare_and_swapsi (cmp, ac.memsi, old, new_rtx)); in xtensa_expand_atomic()
/netbsd/external/gpl3/gcc.old/dist/gcc/config/xtensa/
H A Dxtensa.c1405 rtx memsi; /* SI aligned memory location. */ member
1422 ac->memsi = adjust_address (mem, SImode, 0); /* Memory is aligned. */ in init_alignment_context()
1436 ac->memsi = gen_rtx_MEM (SImode, align); in init_alignment_context()
1437 MEM_VOLATILE_P (ac->memsi) = MEM_VOLATILE_P (mem); in init_alignment_context()
1438 set_mem_alias_set (ac->memsi, ALIAS_SET_MEMORY_BARRIER); in init_alignment_context()
1439 set_mem_align (ac->memsi, GET_MODE_BITSIZE (SImode)); in init_alignment_context()
1505 val = force_reg (SImode, expand_simple_binop (SImode, AND, ac.memsi, in xtensa_expand_compare_and_swap()
1517 emit_insn (gen_sync_compare_and_swapsi (res, ac.memsi, cmpv, newv)); in xtensa_expand_compare_and_swap()
1590 cmp = force_reg (SImode, ac.memsi); in xtensa_expand_atomic()
1631 emit_insn (gen_sync_compare_and_swapsi (cmp, ac.memsi, old, new_rtx)); in xtensa_expand_atomic()
/netbsd/external/gpl3/gcc/dist/gcc/config/loongarch/
H A Dloongarch.cc4094 rtx orig_addr, memsi_addr, memsi, shift, shiftsi, unshifted_mask; in loongarch_expand_atomic_qihi() local
4107 memsi = gen_rtx_MEM (SImode, memsi_addr); in loongarch_expand_atomic_qihi()
4108 set_mem_alias_set (memsi, ALIAS_SET_MEMORY_BARRIER); in loongarch_expand_atomic_qihi()
4109 MEM_VOLATILE_P (memsi) = MEM_VOLATILE_P (mem); in loongarch_expand_atomic_qihi()
4151 si_op = generator.fn_7 (res, memsi, mask, inverted_mask, oldval, newval, in loongarch_expand_atomic_qihi()
4154 si_op = generator.fn_6 (res, memsi, mask, inverted_mask, oldval, model); in loongarch_expand_atomic_qihi()
4156 si_op = generator.fn_5 (memsi, mask, inverted_mask, oldval, model); in loongarch_expand_atomic_qihi()
/netbsd/external/gpl3/gcc/dist/gcc/config/s390/
H A Ds390.c6927 rtx memsi; /* SI aligned memory location. */ member
6947 ac->memsi = adjust_address (mem, SImode, 0); /* Memory is aligned. */ in init_alignment_context()
6961 ac->memsi = gen_rtx_MEM (SImode, align); in init_alignment_context()
6962 MEM_VOLATILE_P (ac->memsi) = MEM_VOLATILE_P (mem); in init_alignment_context()
6963 set_mem_alias_set (ac->memsi, ALIAS_SET_MEMORY_BARRIER); in init_alignment_context()
6964 set_mem_align (ac->memsi, GET_MODE_BITSIZE (SImode)); in init_alignment_context()
7044 val = expand_simple_binop (SImode, AND, ac.memsi, ac.modemaski, in s390_expand_cs_hqi()
7077 cc = s390_emit_compare_and_swap (EQ, res, ac.memsi, cmpv, newv, CCZ1mode); in s390_expand_cs_hqi()
7285 cmp = force_reg (SImode, ac.memsi); in s390_expand_atomic()
7330 ac.memsi, cmp, new_rtx, in s390_expand_atomic()
H A Ds390.cc7118 rtx memsi; /* SI aligned memory location. */ member
7138 ac->memsi = adjust_address (mem, SImode, 0); /* Memory is aligned. */ in init_alignment_context()
7152 ac->memsi = gen_rtx_MEM (SImode, align); in init_alignment_context()
7153 MEM_VOLATILE_P (ac->memsi) = MEM_VOLATILE_P (mem); in init_alignment_context()
7154 set_mem_alias_set (ac->memsi, ALIAS_SET_MEMORY_BARRIER); in init_alignment_context()
7155 set_mem_align (ac->memsi, GET_MODE_BITSIZE (SImode)); in init_alignment_context()
7235 val = expand_simple_binop (SImode, AND, ac.memsi, ac.modemaski, in s390_expand_cs_hqi()
7268 cc = s390_emit_compare_and_swap (EQ, res, ac.memsi, cmpv, newv, CCZ1mode); in s390_expand_cs_hqi()
7476 cmp = force_reg (SImode, ac.memsi); in s390_expand_atomic()
7521 ac.memsi, cmp, new_rtx, in s390_expand_atomic()
/netbsd/external/gpl3/gcc.old/dist/gcc/config/s390/
H A Ds390.c6927 rtx memsi; /* SI aligned memory location. */ member
6947 ac->memsi = adjust_address (mem, SImode, 0); /* Memory is aligned. */ in init_alignment_context()
6961 ac->memsi = gen_rtx_MEM (SImode, align); in init_alignment_context()
6962 MEM_VOLATILE_P (ac->memsi) = MEM_VOLATILE_P (mem); in init_alignment_context()
6963 set_mem_alias_set (ac->memsi, ALIAS_SET_MEMORY_BARRIER); in init_alignment_context()
6964 set_mem_align (ac->memsi, GET_MODE_BITSIZE (SImode)); in init_alignment_context()
7044 val = expand_simple_binop (SImode, AND, ac.memsi, ac.modemaski, in s390_expand_cs_hqi()
7077 cc = s390_emit_compare_and_swap (EQ, res, ac.memsi, cmpv, newv, CCZ1mode); in s390_expand_cs_hqi()
7285 cmp = force_reg (SImode, ac.memsi); in s390_expand_atomic()
7330 ac.memsi, cmp, new_rtx, in s390_expand_atomic()
/netbsd/external/gpl3/gcc/dist/gcc/config/arc/
H A Darc.c10577 rtx memsi, val, mask, end_label, loop_label, cc, x; in arc_expand_compare_and_swap_qh() local
10595 memsi = gen_rtx_MEM (SImode, addr); in arc_expand_compare_and_swap_qh()
10596 set_mem_alias_set (memsi, ALIAS_SET_MEMORY_BARRIER); in arc_expand_compare_and_swap_qh()
10597 MEM_VOLATILE_P (memsi) = MEM_VOLATILE_P (mem); in arc_expand_compare_and_swap_qh()
10599 val = copy_to_reg (memsi); in arc_expand_compare_and_swap_qh()
10649 emit_insn (gen_atomic_compare_and_swapsi_1 (res, memsi, oldvalue, newvalue, in arc_expand_compare_and_swap_qh()
H A Darc.cc10559 rtx memsi, val, mask, end_label, loop_label, cc, x; in arc_expand_compare_and_swap_qh() local
10577 memsi = gen_rtx_MEM (SImode, addr); in arc_expand_compare_and_swap_qh()
10578 set_mem_alias_set (memsi, ALIAS_SET_MEMORY_BARRIER); in arc_expand_compare_and_swap_qh()
10579 MEM_VOLATILE_P (memsi) = MEM_VOLATILE_P (mem); in arc_expand_compare_and_swap_qh()
10581 val = copy_to_reg (memsi); in arc_expand_compare_and_swap_qh()
10631 emit_insn (gen_atomic_compare_and_swapsi_1 (res, memsi, oldvalue, newvalue, in arc_expand_compare_and_swap_qh()
/netbsd/external/gpl3/gcc.old/dist/gcc/config/arc/
H A Darc.c10577 rtx memsi, val, mask, end_label, loop_label, cc, x; in arc_expand_compare_and_swap_qh() local
10595 memsi = gen_rtx_MEM (SImode, addr); in arc_expand_compare_and_swap_qh()
10596 set_mem_alias_set (memsi, ALIAS_SET_MEMORY_BARRIER); in arc_expand_compare_and_swap_qh()
10597 MEM_VOLATILE_P (memsi) = MEM_VOLATILE_P (mem); in arc_expand_compare_and_swap_qh()
10599 val = copy_to_reg (memsi); in arc_expand_compare_and_swap_qh()
10649 emit_insn (gen_atomic_compare_and_swapsi_1 (res, memsi, oldvalue, newvalue, in arc_expand_compare_and_swap_qh()
/netbsd/external/gpl3/gcc/dist/gcc/config/sparc/
H A Dsparc.c12845 rtx memsi, val, mask, cc; in sparc_expand_compare_and_swap_12() local
12853 memsi = gen_rtx_MEM (SImode, addr); in sparc_expand_compare_and_swap_12()
12854 set_mem_alias_set (memsi, ALIAS_SET_MEMORY_BARRIER); in sparc_expand_compare_and_swap_12()
12855 MEM_VOLATILE_P (memsi) = MEM_VOLATILE_P (mem); in sparc_expand_compare_and_swap_12()
12857 val = copy_to_reg (memsi); in sparc_expand_compare_and_swap_12()
12897 emit_insn (gen_atomic_compare_and_swapsi_1 (res, memsi, oldvalue, newvalue)); in sparc_expand_compare_and_swap_12()
H A Dsparc.cc12807 rtx memsi, val, mask, cc; in sparc_expand_compare_and_swap_12() local
12815 memsi = gen_rtx_MEM (SImode, addr); in sparc_expand_compare_and_swap_12()
12816 set_mem_alias_set (memsi, ALIAS_SET_MEMORY_BARRIER); in sparc_expand_compare_and_swap_12()
12817 MEM_VOLATILE_P (memsi) = MEM_VOLATILE_P (mem); in sparc_expand_compare_and_swap_12()
12819 val = copy_to_reg (memsi); in sparc_expand_compare_and_swap_12()
12859 emit_insn (gen_atomic_compare_and_swapsi_1 (res, memsi, oldvalue, newvalue)); in sparc_expand_compare_and_swap_12()
/netbsd/external/gpl3/gcc.old/dist/gcc/config/sparc/
H A Dsparc.c12845 rtx memsi, val, mask, cc; in sparc_expand_compare_and_swap_12() local
12853 memsi = gen_rtx_MEM (SImode, addr); in sparc_expand_compare_and_swap_12()
12854 set_mem_alias_set (memsi, ALIAS_SET_MEMORY_BARRIER); in sparc_expand_compare_and_swap_12()
12855 MEM_VOLATILE_P (memsi) = MEM_VOLATILE_P (mem); in sparc_expand_compare_and_swap_12()
12857 val = copy_to_reg (memsi); in sparc_expand_compare_and_swap_12()
12897 emit_insn (gen_atomic_compare_and_swapsi_1 (res, memsi, oldvalue, newvalue)); in sparc_expand_compare_and_swap_12()
/netbsd/external/gpl3/gcc/dist/gcc/config/mips/
H A Dmips.c8263 rtx orig_addr, memsi_addr, memsi, shift, shiftsi, unshifted_mask; in mips_expand_atomic_qihi() local
8276 memsi = gen_rtx_MEM (SImode, memsi_addr); in mips_expand_atomic_qihi()
8277 set_mem_alias_set (memsi, ALIAS_SET_MEMORY_BARRIER); in mips_expand_atomic_qihi()
8278 MEM_VOLATILE_P (memsi) = MEM_VOLATILE_P (mem); in mips_expand_atomic_qihi()
8322 si_op = generator.fn_6 (res, memsi, mask, inverted_mask, oldval, newval); in mips_expand_atomic_qihi()
8324 si_op = generator.fn_5 (res, memsi, mask, inverted_mask, oldval); in mips_expand_atomic_qihi()
8326 si_op = generator.fn_4 (memsi, mask, inverted_mask, oldval); in mips_expand_atomic_qihi()
H A Dmips.cc8394 rtx orig_addr, memsi_addr, memsi, shift, shiftsi, unshifted_mask; in mips_expand_atomic_qihi() local
8407 memsi = gen_rtx_MEM (SImode, memsi_addr); in mips_expand_atomic_qihi()
8408 set_mem_alias_set (memsi, ALIAS_SET_MEMORY_BARRIER); in mips_expand_atomic_qihi()
8409 MEM_VOLATILE_P (memsi) = MEM_VOLATILE_P (mem); in mips_expand_atomic_qihi()
8453 si_op = generator.fn_6 (res, memsi, mask, inverted_mask, oldval, newval); in mips_expand_atomic_qihi()
8455 si_op = generator.fn_5 (res, memsi, mask, inverted_mask, oldval); in mips_expand_atomic_qihi()
8457 si_op = generator.fn_4 (memsi, mask, inverted_mask, oldval); in mips_expand_atomic_qihi()
/netbsd/external/gpl3/gcc.old/dist/gcc/config/mips/
H A Dmips.c8263 rtx orig_addr, memsi_addr, memsi, shift, shiftsi, unshifted_mask; in mips_expand_atomic_qihi() local
8276 memsi = gen_rtx_MEM (SImode, memsi_addr); in mips_expand_atomic_qihi()
8277 set_mem_alias_set (memsi, ALIAS_SET_MEMORY_BARRIER); in mips_expand_atomic_qihi()
8278 MEM_VOLATILE_P (memsi) = MEM_VOLATILE_P (mem); in mips_expand_atomic_qihi()
8322 si_op = generator.fn_6 (res, memsi, mask, inverted_mask, oldval, newval); in mips_expand_atomic_qihi()
8324 si_op = generator.fn_5 (res, memsi, mask, inverted_mask, oldval); in mips_expand_atomic_qihi()
8326 si_op = generator.fn_4 (memsi, mask, inverted_mask, oldval); in mips_expand_atomic_qihi()