Home
last modified time | relevance | path

Searched refs:optab (Results 1 – 25 of 193) sorted by relevance

12345678

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Doptabs-libfuncs.h26 rtx optab_libfunc (optab, machine_mode);
28 void gen_int_libfunc (optab, const char *, char, machine_mode);
29 void gen_fp_libfunc (optab, const char *, char, machine_mode);
30 void gen_fixed_libfunc (optab, const char *, char, machine_mode);
31 void gen_signed_fixed_libfunc (optab, const char *, char, machine_mode);
32 void gen_unsigned_fixed_libfunc (optab, const char *, char, machine_mode);
33 void gen_int_fp_libfunc (optab, const char *, char, machine_mode);
34 void gen_intv_fp_libfunc (optab, const char *, char, machine_mode);
35 void gen_int_fp_fixed_libfunc (optab, const char *, char, machine_mode);
36 void gen_int_fp_signed_fixed_libfunc (optab, const char *, char, machine_mode);
[all …]
H A Doptabs-libfuncs.c70 convert_optab_libfunc (convert_optab optab, machine_mode mode1, in convert_optab_libfunc() argument
79 if (!(optab >= FIRST_CONV_OPTAB && optab <= LAST_CONVLIB_OPTAB)) in convert_optab_libfunc()
82 e.op = optab; in convert_optab_libfunc()
89 = &convlib_def[optab - FIRST_CONV_OPTAB]; in convert_optab_libfunc()
94 d->libcall_gen (optab, d->libcall_basename, mode1, mode2); in convert_optab_libfunc()
106 optab_libfunc (optab optab, machine_mode mode) in optab_libfunc() argument
114 if (!(optab >= FIRST_NORM_OPTAB && optab <= LAST_NORMLIB_OPTAB)) in optab_libfunc()
117 e.op = optab; in optab_libfunc()
124 = &normlib_def[optab - FIRST_NORM_OPTAB]; in optab_libfunc()
129 d->libcall_gen (optab, d->libcall_basename, d->libcall_suffix, mode); in optab_libfunc()
[all …]
H A Doptabs.h28 extern rtx expand_widening_mult (machine_mode, rtx, rtx, rtx, int, optab);
176 extern rtx expand_ternary_op (machine_mode mode, optab ternary_optab,
179 extern rtx simplify_expand_binop (machine_mode mode, optab binoptab,
182 extern bool force_expand_binop (machine_mode, optab, rtx, rtx, rtx, int,
193 extern rtx expand_binop (machine_mode, optab, rtx, rtx, rtx, int,
197 extern rtx sign_expand_binop (machine_mode, optab, optab, rtx, rtx,
201 extern int expand_twoval_unop (optab, rtx, rtx, rtx, int);
204 extern int expand_twoval_binop (optab, rtx, rtx, rtx, rtx, int);
208 extern bool expand_twoval_binop_libfunc (optab, rtx, rtx, rtx, rtx,
214 extern rtx expand_unop (machine_mode, optab, rtx, rtx, int);
H A Doptabs-query.h29 convert_optab_p (optab op) in convert_optab_p()
38 optab_handler (optab op, machine_mode mode) in optab_handler()
76 trapv_unoptab_p (optab unoptab) in trapv_unoptab_p()
85 trapv_binoptab_p (optab binoptab) in trapv_binoptab_p()
98 optab tab = uns ? vec_cmpu_optab : vec_cmp_optab; in get_vec_cmp_icode()
186 enum insn_code find_widening_optab_handler_and_mode (optab, machine_mode,
203 find_widening_optab_handler_and_mode (optab op, const T &to_mode, in find_widening_optab_handler_and_mode()
H A Doptabs-query.c44 convert_optab_handler (convert_optab optab, machine_mode to_mode, in convert_optab_handler() argument
47 insn_code icode = convert_optab_handler (optab, to_mode, from_mode); in convert_optab_handler()
49 || !targetm.optab_supported_p (optab, to_mode, from_mode, opt_type)) in convert_optab_handler()
59 direct_optab_handler (convert_optab optab, machine_mode mode, in direct_optab_handler() argument
62 insn_code icode = direct_optab_handler (optab, mode); in direct_optab_handler()
64 || !targetm.optab_supported_p (optab, mode, mode, opt_type)) in direct_optab_handler()
128 direct_optab optab = (type == ET_unaligned_mem ? misalign_optab : reg_optab); in get_optab_extraction_insn() local
129 enum insn_code icode = direct_optab_handler (optab, mode); in get_optab_extraction_insn()
470 find_widening_optab_handler_and_mode (optab op, machine_mode to_mode, in find_widening_optab_handler_and_mode()
512 optab op; in can_mult_highpart_p()
[all …]
H A Dinternal-fn.c136 get_multi_vector_move (tree array_type, convert_optab optab) in get_multi_vector_move() argument
145 return convert_optab_handler (optab, imode, vmode); in get_multi_vector_move()
151 expand_load_lanes_optab_fn (internal_fn, gcall *stmt, convert_optab optab) in expand_load_lanes_optab_fn() argument
169 expand_insn (get_multi_vector_move (type, optab), 2, ops); in expand_load_lanes_optab_fn()
177 expand_store_lanes_optab_fn (internal_fn, gcall *stmt, convert_optab optab) in expand_store_lanes_optab_fn() argument
195 expand_insn (get_multi_vector_move (type, optab), 2, ops); in expand_store_lanes_optab_fn()
2048 optab op; in expand_vector_ubsan_overflow()
2484 expand_mask_load_optab_fn (internal_fn, gcall *stmt, convert_optab optab) in expand_mask_load_optab_fn() argument
2498 if (optab == vec_mask_load_lanes_optab) in expand_mask_load_optab_fn()
2499 icode = get_multi_vector_move (type, optab); in expand_mask_load_optab_fn()
[all …]
H A Doptabs.c50 static rtx expand_unop_direct (machine_mode, optab, rtx, rtx, int);
256 optab widen_pattern_optab; in expand_widen_pattern_expr()
344 expand_ternary_op (machine_mode mode, optab ternary_optab, rtx op0, in expand_ternary_op()
366 simplify_expand_binop (machine_mode mode, optab binoptab, in simplify_expand_binop()
385 force_expand_binop (machine_mode mode, optab binoptab, in force_expand_binop()
450 expand_superword_shift (optab binoptab, rtx outof_input, rtx superword_op1, in expand_superword_shift()
480 expand_subword_shift (scalar_int_mode op1_mode, optab binoptab, in expand_subword_shift()
486 optab reverse_unsigned_shift, unsigned_shift; in expand_subword_shift()
563 expand_doubleword_shift_condmove (scalar_int_mode op1_mode, optab binoptab, in expand_doubleword_shift_condmove()
646 expand_doubleword_shift (scalar_int_mode op1_mode, optab binoptab, in expand_doubleword_shift()
[all …]
H A Dinternal-fn.def42 direct optab. The function should only be called with a given
43 set of types if the associated optab is available for the modes
44 of those types. OPTAB says what optab to use (without the trailing
45 "_optab") and TYPE categorizes the optab based on its inputs and
46 outputs. The possible types of optab are:
58 - unary: a normal unary optab, such as vec_reverse_<mode>
59 - binary: a normal binary optab, such as vec_interleave_lo_<mode>
60 - ternary: a normal ternary optab, such as fma<mode>4
62 - cond_binary: a conditional binary optab, such as cond_add<mode>
63 - cond_ternary: a conditional ternary optab, such as cond_fma_rev<mode>
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Doptabs-libfuncs.h26 rtx optab_libfunc (optab, machine_mode);
28 void gen_int_libfunc (optab, const char *, char, machine_mode);
29 void gen_fp_libfunc (optab, const char *, char, machine_mode);
30 void gen_fixed_libfunc (optab, const char *, char, machine_mode);
31 void gen_signed_fixed_libfunc (optab, const char *, char, machine_mode);
32 void gen_unsigned_fixed_libfunc (optab, const char *, char, machine_mode);
33 void gen_int_fp_libfunc (optab, const char *, char, machine_mode);
34 void gen_intv_fp_libfunc (optab, const char *, char, machine_mode);
35 void gen_int_fp_fixed_libfunc (optab, const char *, char, machine_mode);
36 void gen_int_fp_signed_fixed_libfunc (optab, const char *, char, machine_mode);
[all …]
H A Doptabs-libfuncs.cc70 convert_optab_libfunc (convert_optab optab, machine_mode mode1, in convert_optab_libfunc() argument
79 if (!(optab >= FIRST_CONV_OPTAB && optab <= LAST_CONVLIB_OPTAB)) in convert_optab_libfunc()
82 e.op = optab; in convert_optab_libfunc()
89 = &convlib_def[optab - FIRST_CONV_OPTAB]; in convert_optab_libfunc()
94 d->libcall_gen (optab, d->libcall_basename, mode1, mode2); in convert_optab_libfunc()
106 optab_libfunc (optab optab, machine_mode mode) in optab_libfunc() argument
114 if (!(optab >= FIRST_NORM_OPTAB && optab <= LAST_NORMLIB_OPTAB)) in optab_libfunc()
117 e.op = optab; in optab_libfunc()
124 = &normlib_def[optab - FIRST_NORM_OPTAB]; in optab_libfunc()
129 d->libcall_gen (optab, d->libcall_basename, d->libcall_suffix, mode); in optab_libfunc()
[all …]
H A Doptabs.h28 extern rtx expand_widening_mult (machine_mode, rtx, rtx, rtx, int, optab);
176 extern rtx expand_ternary_op (machine_mode mode, optab ternary_optab,
179 extern rtx simplify_expand_binop (machine_mode mode, optab binoptab,
182 extern bool force_expand_binop (machine_mode, optab, rtx, rtx, rtx, int,
195 extern rtx expand_binop (machine_mode, optab, rtx, rtx, rtx, int,
199 extern rtx sign_expand_binop (machine_mode, optab, optab, rtx, rtx,
203 extern int expand_twoval_unop (optab, rtx, rtx, rtx, int);
206 extern int expand_twoval_binop (optab, rtx, rtx, rtx, rtx, int);
210 extern bool expand_twoval_binop_libfunc (optab, rtx, rtx, rtx, rtx,
216 extern rtx expand_unop (machine_mode, optab, rtx, rtx, int);
H A Doptabs-query.h29 convert_optab_p (optab op) in convert_optab_p()
38 optab_handler (optab op, machine_mode mode) in optab_handler()
76 trapv_unoptab_p (optab unoptab) in trapv_unoptab_p()
85 trapv_binoptab_p (optab binoptab) in trapv_binoptab_p()
98 optab tab = uns ? vec_cmpu_optab : vec_cmp_optab; in get_vec_cmp_icode()
186 enum insn_code find_widening_optab_handler_and_mode (optab, machine_mode,
205 find_widening_optab_handler_and_mode (optab op, const T &to_mode, in find_widening_optab_handler_and_mode()
H A Doptabs-query.cc44 convert_optab_handler (convert_optab optab, machine_mode to_mode, in convert_optab_handler() argument
47 insn_code icode = convert_optab_handler (optab, to_mode, from_mode); in convert_optab_handler()
49 || !targetm.optab_supported_p (optab, to_mode, from_mode, opt_type)) in convert_optab_handler()
59 direct_optab_handler (convert_optab optab, machine_mode mode, in direct_optab_handler() argument
62 insn_code icode = direct_optab_handler (optab, mode); in direct_optab_handler()
64 || !targetm.optab_supported_p (optab, mode, mode, opt_type)) in direct_optab_handler()
128 direct_optab optab = (type == ET_unaligned_mem ? misalign_optab : reg_optab); in get_optab_extraction_insn() local
129 enum insn_code icode = direct_optab_handler (optab, mode); in get_optab_extraction_insn()
470 find_widening_optab_handler_and_mode (optab op, machine_mode to_mode, in find_widening_optab_handler_and_mode()
512 optab op; in can_mult_highpart_p()
[all …]
H A Dinternal-fn.cc149 get_multi_vector_move (tree array_type, convert_optab optab) in get_multi_vector_move() argument
158 return convert_optab_handler (optab, imode, vmode); in get_multi_vector_move()
164 expand_load_lanes_optab_fn (internal_fn, gcall *stmt, convert_optab optab) in expand_load_lanes_optab_fn() argument
182 expand_insn (get_multi_vector_move (type, optab), 2, ops); in expand_load_lanes_optab_fn()
190 expand_store_lanes_optab_fn (internal_fn, gcall *stmt, convert_optab optab) in expand_store_lanes_optab_fn() argument
208 expand_insn (get_multi_vector_move (type, optab), 2, ops); in expand_store_lanes_optab_fn()
2272 optab op; in expand_vector_ubsan_overflow()
2718 expand_partial_load_optab_fn (internal_fn, gcall *stmt, convert_optab optab) in expand_partial_load_optab_fn() argument
2732 if (optab == vec_mask_load_lanes_optab) in expand_partial_load_optab_fn()
2733 icode = get_multi_vector_move (type, optab); in expand_partial_load_optab_fn()
[all …]
H A Dinternal-fn.def42 direct optab. The function should only be called with a given
43 set of types if the associated optab is available for the modes
44 of those types. OPTAB says what optab to use (without the trailing
45 "_optab") and TYPE categorizes the optab based on its inputs and
46 outputs. The possible types of optab are:
60 - unary: a normal unary optab, such as vec_reverse_<mode>
61 - binary: a normal binary optab, such as vec_interleave_lo_<mode>
62 - ternary: a normal ternary optab, such as fma<mode>4
64 - cond_binary: a conditional binary optab, such as cond_add<mode>
65 - cond_ternary: a conditional ternary optab, such as cond_fma_rev<mode>
[all …]
H A Doptabs.cc52 static rtx expand_unop_direct (machine_mode, optab, rtx, rtx, int);
260 optab widen_pattern_optab; in expand_widen_pattern_expr()
370 expand_ternary_op (machine_mode mode, optab ternary_optab, rtx op0, in expand_ternary_op()
392 simplify_expand_binop (machine_mode mode, optab binoptab, in simplify_expand_binop()
411 force_expand_binop (machine_mode mode, optab binoptab, in force_expand_binop()
476 expand_superword_shift (optab binoptab, rtx outof_input, rtx superword_op1, in expand_superword_shift()
506 expand_subword_shift (scalar_int_mode op1_mode, optab binoptab, in expand_subword_shift()
512 optab reverse_unsigned_shift, unsigned_shift; in expand_subword_shift()
589 expand_doubleword_shift_condmove (scalar_int_mode op1_mode, optab binoptab, in expand_doubleword_shift_condmove()
673 expand_doubleword_shift (scalar_int_mode op1_mode, optab binoptab, in expand_doubleword_shift()
[all …]
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dtic4x-dis.c56 static tic4x_inst_t **optab = NULL; variable
698 free (optab); in tic4x_disassemble()
699 optab = NULL; in tic4x_disassemble()
708 if (optab == NULL) in tic4x_disassemble()
710 optab = xcalloc (sizeof (tic4x_inst_t *), (1 << TIC4X_HASH_SIZE)); in tic4x_disassemble()
717 tic4x_hash_opcode (optab, optab_special, &tic4x_insts[i], in tic4x_disassemble()
725 optab[optab_special[i]->opcode >> (32 - TIC4X_HASH_SIZE)] = NULL; in tic4x_disassemble()
732 p = optab[instruction >> (32 - TIC4X_HASH_SIZE)]; in tic4x_disassemble()
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dtic4x-dis.c56 static tic4x_inst_t **optab = NULL; variable
698 free (optab); in tic4x_disassemble()
699 optab = NULL; in tic4x_disassemble()
708 if (optab == NULL) in tic4x_disassemble()
710 optab = xcalloc (sizeof (tic4x_inst_t *), (1 << TIC4X_HASH_SIZE)); in tic4x_disassemble()
717 tic4x_hash_opcode (optab, optab_special, &tic4x_insts[i], in tic4x_disassemble()
725 optab[optab_special[i]->opcode >> (32 - TIC4X_HASH_SIZE)] = NULL; in tic4x_disassemble()
732 p = optab[instruction >> (32 - TIC4X_HASH_SIZE)]; in tic4x_disassemble()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/mips/
H A Dsync.md120 (define_expand "sync_<optab><mode>"
129 generator.fn_4 = gen_sync_<optab>_12;
135 ;; Helper insn for sync_<optab><mode>
136 (define_insn "sync_<optab>_12"
156 (define_expand "sync_old_<optab><mode>"
168 generator.fn_5 = gen_sync_old_<optab>_12;
174 ;; Helper insn for sync_old_<optab><mode>
175 (define_insn "sync_old_<optab>_12"
197 (define_expand "sync_new_<optab><mode>"
210 generator.fn_5 = gen_sync_new_<optab>_12;
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/mips/
H A Dsync.md120 (define_expand "sync_<optab><mode>"
129 generator.fn_4 = gen_sync_<optab>_12;
135 ;; Helper insn for sync_<optab><mode>
136 (define_insn "sync_<optab>_12"
156 (define_expand "sync_old_<optab><mode>"
168 generator.fn_5 = gen_sync_old_<optab>_12;
174 ;; Helper insn for sync_old_<optab><mode>
175 (define_insn "sync_old_<optab>_12"
197 (define_expand "sync_new_<optab><mode>"
210 generator.fn_5 = gen_sync_new_<optab>_12;
[all …]
/netbsd-src/external/bsd/pcc/dist/pcc/arch/sparc64/
H A Dorder.c83 nspecial(struct optab *q) in nspecial()
115 acceptable(struct optab *op) in acceptable()
/netbsd-src/external/bsd/pcc/dist/pcc/arch/nova/
H A Dorder.c141 nspecial(struct optab *q) in nspecial()
171 acceptable(struct optab *op) in acceptable()
/netbsd-src/external/bsd/pcc/dist/pcc/arch/m68k/
H A Dorder.c136 nspecial(struct optab *q) in nspecial()
178 acceptable(struct optab *op) in acceptable()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/aarch64/
H A Daarch64-sve.md1290 (define_insn_and_rewrite "@aarch64_load_<ANY_EXTEND:optab><SVE_HSDI:mode><SVE_PARTIAL_I:mode>"
1353 (define_insn_and_rewrite "@aarch64_ld<fn>f1_<ANY_EXTEND:optab><SVE_HSDI:mode><SVE_PARTIAL_I:mode>"
1546 (define_insn_and_rewrite "@aarch64_gather_load_<ANY_EXTEND:optab><SVE_4HSI:mode><SVE_4BHI:mode>"
1576 (define_insn_and_rewrite "@aarch64_gather_load_<ANY_EXTEND:optab><SVE_2HSDI:mode><SVE_2BHSI:mode>"
1603 (define_insn_and_rewrite "*aarch64_gather_load_<ANY_EXTEND:optab><SVE_2HSDI:mode><SVE_2BHSI:mode>_<…
1634 (define_insn_and_rewrite "*aarch64_gather_load_<ANY_EXTEND:optab><SVE_2HSDI:mode><SVE_2BHSI:mode>_s…
1666 (define_insn_and_rewrite "*aarch64_gather_load_<ANY_EXTEND:optab><SVE_2HSDI:mode><SVE_2BHSI:mode>_u…
1805 (define_insn_and_rewrite "@aarch64_ldff1_gather_<ANY_EXTEND:optab><VNx4_WIDE:mode><VNx4_NARROW:mode…
1836 (define_insn_and_rewrite "@aarch64_ldff1_gather_<ANY_EXTEND:optab><VNx2_WIDE:mode><VNx2_NARROW:mode…
1864 (define_insn_and_rewrite "*aarch64_ldff1_gather_<ANY_EXTEND:optab><VNx2_WIDE:mode><VNx2_NARROW:mode…
[all …]
/netbsd-src/external/bsd/pcc/dist/pcc/mip/
H A Dmatch.c535 struct optab *q, *qq = NULL; in findops()
648 struct optab *q; in relops()
735 struct optab *q; in findasg()
739 struct optab *qq = NULL; /* XXX gcc */ in findasg()
859 struct optab *q = NULL; /* XXX gcc */ in findumul()
924 struct optab *q = NULL; /* XXX gcc */ in findleaf()
980 struct optab *q; in finduni()
1080 struct optab *q; in findmops()
1084 struct optab *qq = NULL; /* XXX gcc */ in findmops()

12345678