Home
last modified time | relevance | path

Searched refs:expand_simple_binop (Results 1 – 25 of 88) sorted by relevance

1234

/netbsd-src/external/gpl3/gcc/dist/gcc/config/xtensa/
H A Dxtensa.cc1419 val = expand_simple_binop (SImode, AND, val, GEN_INT (GET_MODE_MASK (mode)), in xtensa_expand_mask_and_shift()
1421 return expand_simple_binop (SImode, ASHIFT, val, count, in xtensa_expand_mask_and_shift()
1458 align = expand_simple_binop (Pmode, AND, addr, in init_alignment_context()
1467 byteoffset = expand_simple_binop (Pmode, AND, addr, in init_alignment_context()
1477 ac->shift = expand_simple_binop (SImode, MINUS, ac->shift, byteoffset, in init_alignment_context()
1492 ac->shift = expand_simple_binop (SImode, ASHIFT, ac->shift, in init_alignment_context()
1495 ac->modemask = expand_simple_binop (SImode, ASHIFT, in init_alignment_context()
1531 val = force_reg (SImode, expand_simple_binop (SImode, AND, ac.memsi, in xtensa_expand_compare_and_swap()
1537 cmpv = force_reg (SImode, expand_simple_binop (SImode, IOR, cmp, val, in xtensa_expand_compare_and_swap()
1539 newv = force_reg (SImode, expand_simple_binop (SImode, IOR, new_rtx, val, in xtensa_expand_compare_and_swap()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/xtensa/
H A Dxtensa.c1393 val = expand_simple_binop (SImode, AND, val, GEN_INT (GET_MODE_MASK (mode)), in xtensa_expand_mask_and_shift()
1395 return expand_simple_binop (SImode, ASHIFT, val, count, in xtensa_expand_mask_and_shift()
1432 align = expand_simple_binop (Pmode, AND, addr, in init_alignment_context()
1441 byteoffset = expand_simple_binop (Pmode, AND, addr, in init_alignment_context()
1451 ac->shift = expand_simple_binop (SImode, MINUS, ac->shift, byteoffset, in init_alignment_context()
1466 ac->shift = expand_simple_binop (SImode, ASHIFT, ac->shift, in init_alignment_context()
1469 ac->modemask = expand_simple_binop (SImode, ASHIFT, in init_alignment_context()
1505 val = force_reg (SImode, expand_simple_binop (SImode, AND, ac.memsi, in xtensa_expand_compare_and_swap()
1511 cmpv = force_reg (SImode, expand_simple_binop (SImode, IOR, cmp, val, in xtensa_expand_compare_and_swap()
1513 newv = force_reg (SImode, expand_simple_binop (SImode, IOR, new_rtx, val, in xtensa_expand_compare_and_swap()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/
H A Di386-expand.c247 op1 = expand_simple_binop (Pmode, PLUS, op1, addend, in ix86_expand_move()
1178 scratch = expand_simple_binop (mode, IOR, scratch, operands[3], in ix86_split_idivmod()
1561 x = expand_simple_binop (SImode, PLUS, input, GEN_INT (-2147483647 - 1), in ix86_expand_convert_uns_sidf_sse()
1570 x = expand_simple_binop (DFmode, PLUS, fp, x, target, 0, OPTAB_DIRECT); in ix86_expand_convert_uns_sidf_sse()
1591 fp_hi = expand_simple_binop (DFmode, MULT, fp_hi, x, fp_hi, 0, OPTAB_DIRECT); in ix86_expand_convert_sign_didf_sse()
1595 x = expand_simple_binop (DFmode, PLUS, fp_hi, fp_lo, target, in ix86_expand_convert_sign_didf_sse()
1611 int_lo = expand_simple_binop (SImode, AND, input, GEN_INT(0xffff), in ix86_expand_convert_uns_sisf_sse()
1613 int_hi = expand_simple_binop (SImode, LSHIFTRT, input, GEN_INT(16), in ix86_expand_convert_uns_sisf_sse()
1619 fp_hi = expand_simple_binop (SFmode, MULT, fp_hi, x, fp_hi, in ix86_expand_convert_uns_sisf_sse()
1621 fp_hi = expand_simple_binop (SFmode, PLUS, fp_hi, fp_lo, target, in ix86_expand_convert_uns_sisf_sse()
[all …]
H A Dsync.md652 result = expand_simple_binop (<MODE>mode, ASHIFT, result,
689 result = expand_simple_binop (<MODE>mode, ASHIFT, result,
727 result = expand_simple_binop (<MODE>mode, ASHIFT, result,
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/
H A Di386-expand.cc340 op1 = expand_simple_binop (Pmode, PLUS, op1, addend, in ix86_expand_move()
1464 scratch = expand_simple_binop (mode, IOR, scratch, operands[3], in ix86_split_idivmod()
1844 x = expand_simple_binop (SImode, PLUS, input, GEN_INT (-2147483647 - 1), in ix86_expand_convert_uns_sidf_sse()
1853 x = expand_simple_binop (DFmode, PLUS, fp, x, target, 0, OPTAB_DIRECT); in ix86_expand_convert_uns_sidf_sse()
1879 fp_hi = expand_simple_binop (DFmode, MULT, fp_hi, x, fp_hi, 0, OPTAB_DIRECT); in ix86_expand_convert_sign_didf_sse()
1883 x = expand_simple_binop (DFmode, PLUS, fp_hi, fp_lo, target, in ix86_expand_convert_sign_didf_sse()
1899 int_lo = expand_simple_binop (SImode, AND, input, GEN_INT(0xffff), in ix86_expand_convert_uns_sisf_sse()
1901 int_hi = expand_simple_binop (SImode, LSHIFTRT, input, GEN_INT(16), in ix86_expand_convert_uns_sisf_sse()
1915 fp_hi = expand_simple_binop (SFmode, MULT, fp_hi, x, fp_hi, in ix86_expand_convert_uns_sisf_sse()
1917 fp_hi = expand_simple_binop (SFmode, PLUS, fp_hi, fp_lo, target, in ix86_expand_convert_uns_sisf_sse()
[all …]
H A Dsync.md864 result = expand_simple_binop (<MODE>mode, ASHIFT, result,
901 result = expand_simple_binop (<MODE>mode, ASHIFT, result,
939 result = expand_simple_binop (<MODE>mode, ASHIFT, result,
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Doptabs.cc1011 sum = expand_simple_binop (word_mode, PLUS, XEXP (cres, 0), in expand_doubleword_mod()
1061 mask = expand_simple_binop (word_mode, ASHIFTRT, mask, in expand_doubleword_mod()
1067 sum_corr = expand_simple_binop (word_mode, AND, mask, in expand_doubleword_mod()
1079 v = expand_simple_binop (mode, LSHIFTRT, v, GEN_INT (i * bit), in expand_doubleword_mod()
1087 v = expand_simple_binop (word_mode, AND, v, in expand_doubleword_mod()
1096 sum = expand_simple_binop (word_mode, PLUS, sum, v, NULL_RTX, in expand_doubleword_mod()
1103 sum = expand_simple_binop (word_mode, PLUS, sum, sum_corr, in expand_doubleword_mod()
1121 mask = expand_simple_binop (word_mode, ASHIFTRT, mask, in expand_doubleword_mod()
1127 mask = expand_simple_binop (word_mode, AND, mask, in expand_doubleword_mod()
1133 remainder = expand_simple_binop (word_mode, PLUS, remainder, in expand_doubleword_mod()
[all …]
H A Doptabs.h191 extern rtx expand_simple_binop (machine_mode, enum rtx_code, rtx,
H A Difcvt.cc1498 target = expand_simple_binop (mode, PLUS, in noce_try_store_flag_constants()
1504 target = expand_simple_binop (mode, subtract_flag_p ? MINUS : PLUS, in noce_try_store_flag_constants()
1519 target = expand_simple_binop (mode, ASHIFT, in noce_try_store_flag_constants()
1528 target = expand_simple_binop (mode, IOR, in noce_try_store_flag_constants()
1641 target = expand_simple_binop (GET_MODE (if_info->x), in noce_try_addcc()
1691 target = expand_simple_binop (GET_MODE (if_info->x), AND, in noce_try_store_flag_mask()
1903 target = expand_simple_binop (mode, AND, in noce_try_cmove()
1907 target = expand_simple_binop (mode, PLUS, in noce_try_cmove()
2602 target = expand_simple_binop (GET_MODE (if_info->x), op, in noce_try_minmax()
H A Dinternal-fn.cc505 rtx off = expand_simple_binop (Pmode, MINUS, restored_rtx, in expand_HWASAN_ALLOCA_UNPOISON()
527 rtx chosen_tag = expand_simple_binop (QImode, PLUS, base_tag, tag_offset, in expand_HWASAN_CHOOSE_TAG()
781 lres = expand_simple_binop (tgtmode, AND, res, mask, NULL_RTX, in expand_arith_overflow_result_store()
2053 tem = expand_simple_binop (mode, MINUS, loxhi, tem, NULL_RTX, in expand_mul_overflow()
2067 tem = expand_simple_binop (mode, MINUS, loxhi, larger, NULL_RTX, in expand_mul_overflow()
2076 tem = expand_simple_binop (mode, PLUS, loxhi, tem, NULL_RTX, in expand_mul_overflow()
2103 tem = expand_simple_binop (mode, IOR, loxhishifted, tem, res, in expand_mul_overflow()
2128 tem = expand_simple_binop (hmode, PLUS, hipart0, const1_rtx, in expand_mul_overflow()
2137 tem = expand_simple_binop (hmode, PLUS, hipart1, const1_rtx, in expand_mul_overflow()
H A Dbuiltins.cc1657 incoming_args = expand_simple_binop (Pmode, MINUS, incoming_args, argsize, in expand_builtin_apply()
5033 rtx off = expand_simple_binop (Pmode, MINUS, virtual_stack_dynamic_rtx, in expand_asan_emit_allocas_unpoison()
5037 bot = expand_simple_binop (ptr_mode, PLUS, bot, off, NULL_RTX, 0, in expand_asan_emit_allocas_unpoison()
5335 temp = expand_simple_binop (Pmode, PLUS, tramp, addend, in round_trampoline_addr()
5337 tramp = expand_simple_binop (Pmode, AND, temp, mask, in round_trampoline_addr()
6204 ret = expand_simple_binop (mode, AND, ret, val, NULL_RTX, true, in expand_builtin_atomic_fetch_op()
6209 ret = expand_simple_binop (mode, code, ret, val, target, true, in expand_builtin_atomic_fetch_op()
6258 rtx val2 = expand_simple_binop (mode, ASHIFT, const1_rtx, in expand_ifn_atomic_bit_test_and()
6282 val = expand_simple_binop (mode, ASHIFT, const1_rtx, in expand_ifn_atomic_bit_test_and()
6307 result = expand_simple_binop (mode, ASHIFTRT, result, bitval, in expand_ifn_atomic_bit_test_and()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/sparc/
H A Dsparc.c12976 t_1 = expand_simple_binop (DImode, LSHIFTRT, sel, GEN_INT (16), in sparc_expand_vec_perm_bmask()
12979 sel = expand_simple_binop (SImode, AND, gen_lowpart (SImode, sel), in sparc_expand_vec_perm_bmask()
12981 t_1 = expand_simple_binop (SImode, AND, gen_lowpart (SImode, t_1), in sparc_expand_vec_perm_bmask()
12985 sel = expand_simple_binop (SImode, IOR, sel, t_1, sel, 1, OPTAB_DIRECT); in sparc_expand_vec_perm_bmask()
12995 t_1 = expand_simple_binop (DImode, LSHIFTRT, sel, GEN_INT (8), in sparc_expand_vec_perm_bmask()
12997 t_2 = expand_simple_binop (DImode, LSHIFTRT, sel, GEN_INT (16), in sparc_expand_vec_perm_bmask()
12999 t_3 = expand_simple_binop (DImode, LSHIFTRT, sel, GEN_INT (24), in sparc_expand_vec_perm_bmask()
13004 sel = expand_simple_binop (SImode, AND, gen_lowpart (SImode, sel), in sparc_expand_vec_perm_bmask()
13007 t_1 = expand_simple_binop (SImode, AND, gen_lowpart (SImode, t_1), in sparc_expand_vec_perm_bmask()
13010 t_2 = expand_simple_binop (SImode, AND, gen_lowpart (SImode, t_2), in sparc_expand_vec_perm_bmask()
[all …]
H A Dsync.md307 ret = expand_simple_binop (QImode, AND, operands[0], const1_rtx,
/netbsd-src/external/gpl3/gcc/dist/gcc/config/sparc/
H A Dsparc.cc12938 t_1 = expand_simple_binop (DImode, LSHIFTRT, sel, GEN_INT (16), in sparc_expand_vec_perm_bmask()
12941 sel = expand_simple_binop (SImode, AND, gen_lowpart (SImode, sel), in sparc_expand_vec_perm_bmask()
12943 t_1 = expand_simple_binop (SImode, AND, gen_lowpart (SImode, t_1), in sparc_expand_vec_perm_bmask()
12947 sel = expand_simple_binop (SImode, IOR, sel, t_1, sel, 1, OPTAB_DIRECT); in sparc_expand_vec_perm_bmask()
12957 t_1 = expand_simple_binop (DImode, LSHIFTRT, sel, GEN_INT (8), in sparc_expand_vec_perm_bmask()
12959 t_2 = expand_simple_binop (DImode, LSHIFTRT, sel, GEN_INT (16), in sparc_expand_vec_perm_bmask()
12961 t_3 = expand_simple_binop (DImode, LSHIFTRT, sel, GEN_INT (24), in sparc_expand_vec_perm_bmask()
12966 sel = expand_simple_binop (SImode, AND, gen_lowpart (SImode, sel), in sparc_expand_vec_perm_bmask()
12969 t_1 = expand_simple_binop (SImode, AND, gen_lowpart (SImode, t_1), in sparc_expand_vec_perm_bmask()
12972 t_2 = expand_simple_binop (SImode, AND, gen_lowpart (SImode, t_2), in sparc_expand_vec_perm_bmask()
[all …]
H A Dsync.md307 ret = expand_simple_binop (QImode, AND, operands[0], const1_rtx,
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Difcvt.c1488 target = expand_simple_binop (mode, PLUS, in noce_try_store_flag_constants()
1494 target = expand_simple_binop (mode, subtract_flag_p ? MINUS : PLUS, in noce_try_store_flag_constants()
1509 target = expand_simple_binop (mode, ASHIFT, in noce_try_store_flag_constants()
1518 target = expand_simple_binop (mode, IOR, in noce_try_store_flag_constants()
1631 target = expand_simple_binop (GET_MODE (if_info->x), in noce_try_addcc()
1681 target = expand_simple_binop (GET_MODE (if_info->x), AND, in noce_try_store_flag_mask()
1884 target = expand_simple_binop (mode, AND, in noce_try_cmove()
1888 target = expand_simple_binop (mode, PLUS, in noce_try_cmove()
2583 target = expand_simple_binop (GET_MODE (if_info->x), op, in noce_try_minmax()
H A Doptabs.h189 extern rtx expand_simple_binop (machine_mode, enum rtx_code, rtx,
H A Dinternal-fn.c640 lres = expand_simple_binop (tgtmode, AND, res, mask, NULL_RTX, in expand_arith_overflow_result_store()
1834 tem = expand_simple_binop (mode, MINUS, loxhi, tem, NULL_RTX, in expand_mul_overflow()
1848 tem = expand_simple_binop (mode, MINUS, loxhi, larger, NULL_RTX, in expand_mul_overflow()
1857 tem = expand_simple_binop (mode, PLUS, loxhi, tem, NULL_RTX, in expand_mul_overflow()
1884 tem = expand_simple_binop (mode, IOR, loxhishifted, tem, res, in expand_mul_overflow()
1909 tem = expand_simple_binop (hmode, PLUS, hipart0, const1_rtx, in expand_mul_overflow()
1918 tem = expand_simple_binop (hmode, PLUS, hipart1, const1_rtx, in expand_mul_overflow()
H A Dbuiltins.c1768 incoming_args = expand_simple_binop (Pmode, MINUS, incoming_args, argsize, in expand_builtin_apply()
5879 rtx off = expand_simple_binop (Pmode, MINUS, virtual_stack_dynamic_rtx, in expand_asan_emit_allocas_unpoison()
5883 bot = expand_simple_binop (ptr_mode, PLUS, bot, off, NULL_RTX, 0, in expand_asan_emit_allocas_unpoison()
6154 temp = expand_simple_binop (Pmode, PLUS, tramp, addend, in round_trampoline_addr()
6156 tramp = expand_simple_binop (Pmode, AND, temp, mask, in round_trampoline_addr()
7078 ret = expand_simple_binop (mode, AND, ret, val, NULL_RTX, true, in expand_builtin_atomic_fetch_op()
7083 ret = expand_simple_binop (mode, code, ret, val, target, true, in expand_builtin_atomic_fetch_op()
7132 val = expand_simple_binop (mode, ASHIFT, const1_rtx, in expand_ifn_atomic_bit_test_and()
7152 val = expand_simple_binop (mode, ASHIFT, const1_rtx, in expand_ifn_atomic_bit_test_and()
7161 result = expand_simple_binop (mode, ASHIFTRT, result, bitval, in expand_ifn_atomic_bit_test_and()
[all …]
H A Doptabs.c934 expand_simple_binop (machine_mode mode, enum rtx_code code, rtx op0, in expand_simple_binop() function
5786 sel = expand_simple_binop (selmode, PLUS, sel, sel, in expand_vec_perm_var()
5789 sel = expand_simple_binop (selmode, ASHIFT, sel, in expand_vec_perm_var()
5813 sel_qi = expand_simple_binop (qimode, PLUS, sel, tmp, in expand_vec_perm_var()
7037 result = expand_simple_binop (mode, AND, result, val, NULL_RTX, in expand_atomic_fetch_op_no_fallback()
7042 result = expand_simple_binop (mode, code, result, val, target, in expand_atomic_fetch_op_no_fallback()
7132 result = expand_simple_binop (mode, code, result, val, target, in expand_atomic_fetch_op()
7164 t1 = expand_simple_binop (mode, AND, t1, val, NULL_RTX, in expand_atomic_fetch_op()
7169 t1 = expand_simple_binop (mode, code, t1, val, NULL_RTX, true, in expand_atomic_fetch_op()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/s390/
H A Ds390.cc6287 cmp_op0 = expand_simple_binop (cmp_mode, XOR, cmp_op0, cmp_op1, in s390_expand_addcc()
6359 cmp_op0 = expand_simple_binop (cmp_mode, XOR, cmp_op0, cmp_op1, in s390_expand_addcc()
6611 val = expand_simple_binop (SImode, AND, val, GEN_INT (GET_MODE_MASK (mode)), in s390_expand_mask_and_shift()
6613 return expand_simple_binop (SImode, ASHIFT, val, count, in s390_expand_mask_and_shift()
6673 rtx res = expand_simple_binop (mode, ASHIFTRT, cmp_op1, in s390_expand_vec_compare()
6868 rtx res = expand_simple_binop (cmp_mode, LSHIFTRT, cmp_op1, in s390_expand_vcond()
6879 rtx res = expand_simple_binop (cmp_mode, ASHIFTRT, cmp_op1, in s390_expand_vcond()
7148 align = expand_simple_binop (Pmode, AND, addr, in init_alignment_context()
7158 byteoffset = expand_simple_binop (Pmode, AND, addr, in init_alignment_context()
7162 ac->shift = expand_simple_binop (SImode, MINUS, ac->shift, byteoffset, in init_alignment_context()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/s390/
H A Ds390.c6189 cmp_op0 = expand_simple_binop (cmp_mode, XOR, cmp_op0, cmp_op1, in s390_expand_addcc()
6261 cmp_op0 = expand_simple_binop (cmp_mode, XOR, cmp_op0, cmp_op1, in s390_expand_addcc()
6498 val = expand_simple_binop (SImode, AND, val, GEN_INT (GET_MODE_MASK (mode)), in s390_expand_mask_and_shift()
6500 return expand_simple_binop (SImode, ASHIFT, val, count, in s390_expand_mask_and_shift()
6741 rtx res = expand_simple_binop (cmp_mode, LSHIFTRT, cmp_op1, in s390_expand_vcond()
6752 rtx res = expand_simple_binop (cmp_mode, ASHIFTRT, cmp_op1, in s390_expand_vcond()
6957 align = expand_simple_binop (Pmode, AND, addr, in init_alignment_context()
6967 byteoffset = expand_simple_binop (Pmode, AND, addr, in init_alignment_context()
6971 ac->shift = expand_simple_binop (SImode, MINUS, ac->shift, byteoffset, in init_alignment_context()
6976 ac->shift = expand_simple_binop (SImode, ASHIFT, ac->shift, GEN_INT (3), in init_alignment_context()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/or1k/
H A Dor1k.cc1984 after = expand_simple_binop (mode, code, before, val, in or1k_expand_atomic_op()
2049 after = expand_simple_binop (SImode, code, before, val, in or1k_expand_atomic_op_qihi()
2060 after = expand_simple_binop (SImode, code, before, val, in or1k_expand_atomic_op_qihi()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/alpha/
H A Dalpha.cc1000 x = expand_simple_binop (Pmode, PLUS, XEXP (x, 0), in alpha_legitimize_address_1()
1144 x = expand_simple_binop (Pmode, PLUS, x, GEN_INT (addend), in alpha_legitimize_address_1()
1148 x = expand_simple_binop (Pmode, PLUS, x, GEN_INT (high), in alpha_legitimize_address_1()
1604 return expand_simple_binop (Pmode, PLUS, addr, GEN_INT (ofs & 7), in get_unaligned_offset()
3407 exth = expand_simple_binop (DImode, ASHIFT, exth, GEN_INT (8), in alpha_expand_unaligned_load()
3409 addr = expand_simple_binop (DImode, IOR, extl, exth, in alpha_expand_unaligned_load()
3513 dsth = expand_simple_binop (DImode, LSHIFTRT, src, GEN_INT (8), in alpha_expand_unaligned_store()
4530 align = expand_simple_binop (Pmode, AND, addr, GEN_INT (-8), in alpha_expand_compare_and_swap_12()
4674 align = expand_simple_binop (Pmode, AND, addr, GEN_INT (-8), in alpha_expand_atomic_exchange_12()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/alpha/
H A Dalpha.c1000 x = expand_simple_binop (Pmode, PLUS, XEXP (x, 0), in alpha_legitimize_address_1()
1144 x = expand_simple_binop (Pmode, PLUS, x, GEN_INT (addend), in alpha_legitimize_address_1()
1148 x = expand_simple_binop (Pmode, PLUS, x, GEN_INT (high), in alpha_legitimize_address_1()
1604 return expand_simple_binop (Pmode, PLUS, addr, GEN_INT (ofs & 7), in get_unaligned_offset()
3402 exth = expand_simple_binop (DImode, ASHIFT, exth, GEN_INT (8), in alpha_expand_unaligned_load()
3404 addr = expand_simple_binop (DImode, IOR, extl, exth, in alpha_expand_unaligned_load()
3508 dsth = expand_simple_binop (DImode, LSHIFTRT, src, GEN_INT (8), in alpha_expand_unaligned_store()
4525 align = expand_simple_binop (Pmode, AND, addr, GEN_INT (-8), in alpha_expand_compare_and_swap_12()
4669 align = expand_simple_binop (Pmode, AND, addr, GEN_INT (-8), in alpha_expand_atomic_exchange_12()

1234