Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 1875) sorted by relevance

12345678910>>...75

/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dexpmed.h115 machine_mode mode; member
228 expmed_mode_index (machine_mode mode) in expmed_mode_index() argument
230 switch (GET_MODE_CLASS (mode)) in expmed_mode_index()
233 return mode - MIN_MODE_INT; in expmed_mode_index()
238 return mode - MIN_MODE_PARTIAL_INT + NUM_MODE_INT; in expmed_mode_index()
244 return mode - MIN_MODE_VECTOR_INT + NUM_MODE_IP_INT; in expmed_mode_index()
258 machine_mode mode) in expmed_op_cheap_ptr() argument
260 int idx = expmed_mode_index (mode); in expmed_op_cheap_ptr()
269 machine_mode mode) in expmed_op_cost_ptr() argument
271 int idx = expmed_mode_index (mode); in expmed_op_cost_ptr()
[all …]
H A Dfixed-value.c32 return (a->mode == b->mode in fixed_identical()
62 check_real_for_fixed_mode (REAL_VALUE_TYPE *real_value, machine_mode mode) in check_real_for_fixed_mode() argument
66 real_2expN (&max_value, GET_MODE_IBIT (mode), VOIDmode); in check_real_for_fixed_mode()
67 real_2expN (&epsilon_value, -GET_MODE_FBIT (mode), VOIDmode); in check_real_for_fixed_mode()
69 if (SIGNED_FIXED_POINT_MODE_P (mode)) in check_real_for_fixed_mode()
89 fixed_from_double_int (double_int payload, scalar_mode mode) in fixed_from_double_int() argument
93 gcc_assert (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_DOUBLE_INT); in fixed_from_double_int()
95 if (SIGNED_SCALAR_FIXED_POINT_MODE_P (mode)) in fixed_from_double_int()
96 value.data = payload.sext (1 + GET_MODE_IBIT (mode) + GET_MODE_FBIT (mode)); in fixed_from_double_int()
97 else if (UNSIGNED_SCALAR_FIXED_POINT_MODE_P (mode)) in fixed_from_double_int()
[all …]
H A Dsimplify-rtx.c61 neg_const_int (machine_mode mode, const_rtx i) in neg_const_int() argument
65 if (!HWI_COMPUTABLE_MODE_P (mode) in neg_const_int()
67 return simplify_const_unary_operation (NEG, mode, CONST_CAST_RTX (i), in neg_const_int()
68 mode); in neg_const_int()
69 return gen_int_mode (val, mode); in neg_const_int()
76 mode_signbit_p (machine_mode mode, const_rtx x) in mode_signbit_p() argument
82 if (!is_int_mode (mode, &int_mode)) in mode_signbit_p()
130 val_signbit_p (machine_mode mode, unsigned HOST_WIDE_INT val) in val_signbit_p() argument
135 if (!is_int_mode (mode, &int_mode)) in val_signbit_p()
149 val_signbit_known_set_p (machine_mode mode, unsigned HOST_WIDE_INT val) in val_signbit_known_set_p() argument
[all …]
H A Doptabs-query.c59 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()
83 machine_mode mode, in get_traditional_extraction_insn() argument
89 machine_mode struct_mode = data->operand[struct_op].mode; in get_traditional_extraction_insn()
92 if (mode != struct_mode) in get_traditional_extraction_insn()
95 machine_mode field_mode = data->operand[field_op].mode; in get_traditional_extraction_insn()
99 machine_mode pos_mode = data->operand[struct_op + 2].mode; in get_traditional_extraction_insn()
125 machine_mode mode, direct_optab reg_optab, in get_optab_extraction_insn() argument
129 enum insn_code icode = direct_optab_handler (optab, mode); in get_optab_extraction_insn()
[all …]
H A Dexpmed.c93 mask_rtx (scalar_int_mode mode, int bitpos, int bitsize, bool complement) in mask_rtx() argument
97 GET_MODE_PRECISION (mode)), mode); in mask_rtx()
160 machine_mode mode, int speed) in init_expmed_one_mode() argument
165 mode_bitsize = GET_MODE_UNIT_BITSIZE (mode); in init_expmed_one_mode()
167 PUT_MODE (all->reg, mode); in init_expmed_one_mode()
168 PUT_MODE (all->plus, mode); in init_expmed_one_mode()
169 PUT_MODE (all->neg, mode); in init_expmed_one_mode()
170 PUT_MODE (all->mult, mode); in init_expmed_one_mode()
171 PUT_MODE (all->sdiv, mode); in init_expmed_one_mode()
172 PUT_MODE (all->udiv, mode); in init_expmed_one_mode()
[all …]
H A Doptabs.c196 widen_operand (rtx op, machine_mode mode, machine_mode oldmode, in widen_operand() argument
210 || !is_a <scalar_int_mode> (mode, &int_mode) in widen_operand()
213 return convert_modes (mode, oldmode, op, unsignedp); in widen_operand()
314 expand_ternary_op (machine_mode mode, optab ternary_optab, rtx op0, in expand_ternary_op() argument
318 enum insn_code icode = optab_handler (ternary_optab, mode); in expand_ternary_op()
320 gcc_assert (optab_handler (ternary_optab, mode) != CODE_FOR_nothing); in expand_ternary_op()
322 create_output_operand (&ops[0], target, mode); in expand_ternary_op()
323 create_convert_operand_from (&ops[1], op0, mode, unsignedp); in expand_ternary_op()
324 create_convert_operand_from (&ops[2], op1, mode, unsignedp); in expand_ternary_op()
325 create_convert_operand_from (&ops[3], op2, mode, unsignedp); in expand_ternary_op()
[all …]
H A Doptabs-libfuncs.c106 optab_libfunc (optab optab, machine_mode mode) in optab_libfunc() argument
118 e.mode1 = mode; in optab_libfunc()
129 d->libcall_gen (optab, d->libcall_basename, d->libcall_suffix, mode); in optab_libfunc()
152 machine_mode mode) in gen_libfunc() argument
155 const char *mname = GET_MODE_NAME (mode); in gen_libfunc()
180 set_optab_libfunc (optable, mode, in gen_libfunc()
188 machine_mode mode) in gen_int_libfunc() argument
194 if (!is_int_mode (mode, &int_mode)) in gen_int_libfunc()
212 machine_mode mode) in gen_fp_libfunc() argument
216 if (GET_MODE_CLASS (mode) == MODE_FLOAT) in gen_fp_libfunc()
[all …]
H A Dmachmode.h310 opt_mode<T>::exists (U *mode) const
314 *mode = T (typename mode_traits<T>::from_int (m_mode));
520 mode_to_bytes (machine_mode mode)
523 return (__builtin_constant_p (mode)
524 ? mode_size_inline (mode) : mode_size[mode]);
526 return mode_size[mode];
533 mode_to_bits (machine_mode mode)
535 return mode_to_bytes (mode) * BITS_PER_UNIT;
541 mode_to_precision (machine_mode mode)
543 return mode_precision[mode];
[all …]
H A Dloop-iv.c178 fprintf (file, " (in %s)", GET_MODE_NAME (iv->mode)); in dump_iv_info()
180 if (iv->mode != iv->extend_mode) in dump_iv_info()
387 iv_constant (struct rtx_iv *iv, scalar_int_mode mode, rtx cst) in iv_constant() argument
389 iv->mode = mode; in iv_constant()
394 iv->extend_mode = iv->mode; in iv_constant()
404 iv_subreg (struct rtx_iv *iv, scalar_int_mode mode) in iv_subreg() argument
411 val = lowpart_subreg (mode, val, in iv_subreg()
413 ? iv->mode : iv->extend_mode); in iv_subreg()
417 iv->mode = iv->extend_mode = mode; in iv_subreg()
423 if (iv->extend_mode == mode) in iv_subreg()
[all …]
/dflybsd-src/usr.bin/tset/
H A Dset.c50 tcgetattr(STDERR_FILENO, &mode); in reset_mode()
53 mode.c_cc[VDISCARD] = CHK(mode.c_cc[VDISCARD], CDISCARD); in reset_mode()
55 mode.c_cc[VEOF] = CHK(mode.c_cc[VEOF], CEOF); in reset_mode()
56 mode.c_cc[VERASE] = CHK(mode.c_cc[VERASE], CERASE); in reset_mode()
58 mode.c_cc[VFLUSH] = CHK(mode.c_cc[VFLUSH], CFLUSH); in reset_mode()
60 mode.c_cc[VINTR] = CHK(mode.c_cc[VINTR], CINTR); in reset_mode()
61 mode.c_cc[VKILL] = CHK(mode.c_cc[VKILL], CKILL); in reset_mode()
63 mode.c_cc[VLNEXT] = CHK(mode.c_cc[VLNEXT], CLNEXT); in reset_mode()
65 mode.c_cc[VQUIT] = CHK(mode.c_cc[VQUIT], CQUIT); in reset_mode()
67 mode.c_cc[VREPRINT] = CHK(mode.c_cc[VREPRINT], CRPRNT); in reset_mode()
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dfixed-value.c32 return (a->mode == b->mode in fixed_identical()
62 check_real_for_fixed_mode (REAL_VALUE_TYPE *real_value, enum machine_mode mode) in check_real_for_fixed_mode() argument
66 real_2expN (&max_value, GET_MODE_IBIT (mode), mode); in check_real_for_fixed_mode()
67 real_2expN (&epsilon_value, -GET_MODE_FBIT (mode), mode); in check_real_for_fixed_mode()
69 if (SIGNED_FIXED_POINT_MODE_P (mode)) in check_real_for_fixed_mode()
87 fixed_from_string (FIXED_VALUE_TYPE *f, const char *str, enum machine_mode mode) in fixed_from_string() argument
93 f->mode = mode; in fixed_from_string()
94 fbit = GET_MODE_FBIT (mode); in fixed_from_string()
97 temp = check_real_for_fixed_mode (&real_value, f->mode); in fixed_from_string()
101 || (temp == FIXED_MAX_EPS && ALL_ACCUM_MODE_P (f->mode))) in fixed_from_string()
[all …]
H A Dsimplify-rtx.c68 neg_const_int (enum machine_mode mode, const_rtx i) in neg_const_int() argument
70 return gen_int_mode (- INTVAL (i), mode); in neg_const_int()
77 mode_signbit_p (enum machine_mode mode, const_rtx x) in mode_signbit_p() argument
82 if (GET_MODE_CLASS (mode) != MODE_INT) in mode_signbit_p()
85 width = GET_MODE_PRECISION (mode); in mode_signbit_p()
112 val_signbit_p (enum machine_mode mode, unsigned HOST_WIDE_INT val) in val_signbit_p() argument
116 if (GET_MODE_CLASS (mode) != MODE_INT) in val_signbit_p()
119 width = GET_MODE_PRECISION (mode); in val_signbit_p()
123 val &= GET_MODE_MASK (mode); in val_signbit_p()
130 val_signbit_known_set_p (enum machine_mode mode, unsigned HOST_WIDE_INT val) in val_signbit_known_set_p() argument
[all …]
H A Doptabs.c132 optab_libfunc (optab optab, enum machine_mode mode) in optab_libfunc() argument
138 e.mode1 = mode; in optab_libfunc()
146 optab->libcall_suffix, mode); in optab_libfunc()
315 widen_operand (rtx op, enum machine_mode mode, enum machine_mode oldmode, in widen_operand() argument
330 return convert_modes (mode, oldmode, op, unsignedp); in widen_operand()
334 if (GET_MODE_SIZE (mode) <= UNITS_PER_WORD) in widen_operand()
335 return gen_rtx_SUBREG (mode, force_reg (GET_MODE (op), op), 0); in widen_operand()
340 result = gen_reg_rtx (mode); in widen_operand()
641 expand_ternary_op (enum machine_mode mode, optab ternary_optab, rtx op0, in expand_ternary_op() argument
645 enum insn_code icode = optab_handler (ternary_optab, mode); in expand_ternary_op()
[all …]
H A Dexpmed.c123 enum machine_mode mode, wider_mode; in init_expmed() local
201 for (mode = GET_CLASS_NARROWEST_MODE (MODE_INT); in init_expmed()
202 mode != VOIDmode; in init_expmed()
203 mode = GET_MODE_WIDER_MODE (mode)) in init_expmed()
205 PUT_MODE (&all.reg, mode); in init_expmed()
206 PUT_MODE (&all.plus, mode); in init_expmed()
207 PUT_MODE (&all.neg, mode); in init_expmed()
208 PUT_MODE (&all.mult, mode); in init_expmed()
209 PUT_MODE (&all.sdiv, mode); in init_expmed()
210 PUT_MODE (&all.udiv, mode); in init_expmed()
[all …]
H A Ddojump.c145 prefer_and_bit_test (enum machine_mode mode, int bitnum) in prefer_and_bit_test() argument
153 and_reg = gen_rtx_REG (mode, FIRST_PSEUDO_REGISTER); in prefer_and_bit_test()
154 and_test = gen_rtx_AND (mode, and_reg, NULL); in prefer_and_bit_test()
155 shift_test = gen_rtx_AND (mode, gen_rtx_ASHIFTRT (mode, and_reg, NULL), in prefer_and_bit_test()
161 PUT_MODE (and_reg, mode); in prefer_and_bit_test()
162 PUT_MODE (and_test, mode); in prefer_and_bit_test()
163 PUT_MODE (shift_test, mode); in prefer_and_bit_test()
164 PUT_MODE (XEXP (shift_test, 0), mode); in prefer_and_bit_test()
170 mode); in prefer_and_bit_test()
186 enum machine_mode mode; in do_jump_1() local
[all …]
H A Drtlhooks.c40 gen_lowpart_general (enum machine_mode mode, rtx x) in gen_lowpart_general() argument
42 rtx result = gen_lowpart_common (mode, x); in gen_lowpart_general()
50 result = gen_lowpart_common (mode, copy_to_reg (x)); in gen_lowpart_general()
64 && TRULY_NOOP_TRUNCATION_MODES_P (mode, GET_MODE (x)) in gen_lowpart_general()
66 return gen_lowpart_general (mode, force_reg (GET_MODE (x), x)); in gen_lowpart_general()
70 - MAX (GET_MODE_SIZE (mode), UNITS_PER_WORD)); in gen_lowpart_general()
75 offset -= (MIN (UNITS_PER_WORD, GET_MODE_SIZE (mode)) in gen_lowpart_general()
78 return adjust_address (x, mode, offset); in gen_lowpart_general()
85 gen_lowpart_no_emit_general (enum machine_mode mode, rtx x) in gen_lowpart_no_emit_general() argument
87 rtx result = gen_lowpart_if_possible (mode, x); in gen_lowpart_no_emit_general()
[all …]
H A Dloop-iv.c139 fprintf (file, " (in %s)", GET_MODE_NAME (iv->mode)); in dump_iv_info()
141 if (iv->mode != iv->extend_mode) in dump_iv_info()
385 iv_constant (struct rtx_iv *iv, rtx cst, enum machine_mode mode) in iv_constant() argument
387 if (mode == VOIDmode) in iv_constant()
388 mode = GET_MODE (cst); in iv_constant()
390 iv->mode = mode; in iv_constant()
395 iv->extend_mode = iv->mode; in iv_constant()
405 iv_subreg (struct rtx_iv *iv, enum machine_mode mode) in iv_subreg() argument
412 val = lowpart_subreg (mode, val, iv->extend_mode); in iv_subreg()
416 iv->mode = iv->extend_mode = mode; in iv_subreg()
[all …]
H A Demit-rtl.c385 gen_raw_REG (enum machine_mode mode, int regno) in gen_raw_REG() argument
387 rtx x = gen_rtx_raw_REG (mode, regno); in gen_raw_REG()
397 gen_rtx_CONST_INT (enum machine_mode mode ATTRIBUTE_UNUSED, HOST_WIDE_INT arg) in gen_rtx_CONST_INT()
419 gen_int_mode (HOST_WIDE_INT c, enum machine_mode mode) in gen_int_mode() argument
421 return GEN_INT (trunc_int_for_mode (c, mode)); in gen_int_mode()
444 const_double_from_real_value (REAL_VALUE_TYPE value, enum machine_mode mode) in const_double_from_real_value() argument
447 PUT_MODE (real, mode); in const_double_from_real_value()
472 const_fixed_from_fixed_value (FIXED_VALUE_TYPE value, enum machine_mode mode) in const_fixed_from_fixed_value() argument
475 PUT_MODE (fixed, mode); in const_fixed_from_fixed_value()
507 immed_double_int_const (double_int i, enum machine_mode mode) in immed_double_int_const() argument
[all …]
/dflybsd-src/etc/mtree/
H A DBSD.var.dist6 /set type=dir uname=root gname=wheel mode=0755
18 /set mode=0750
21 cache mode=0755
26 tabs mode=0700
29 /set mode=0755
31 entropy uname=operator gname=operator mode=0700
36 empty mode=0555 flags=schg
38 /set gname=games mode=0775
40 hackdir mode=0770
41 save mode=0770
[all …]
/dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/
H A Dop_classes.c19 static enum chan_allowed allow_channel(struct hostapd_hw_modes *mode, u8 chan, in allow_channel() argument
24 for (i = 0; i < mode->num_channels; i++) { in allow_channel()
25 if (mode->channels[i].chan == chan) in allow_channel()
29 if (i == mode->num_channels || in allow_channel()
30 (mode->channels[i].flag & HOSTAPD_CHAN_DISABLED)) in allow_channel()
34 *flags = mode->channels[i].flag; in allow_channel()
36 if (mode->channels[i].flag & HOSTAPD_CHAN_NO_IR) in allow_channel()
43 static int get_center_80mhz(struct hostapd_hw_modes *mode, u8 channel) in get_center_80mhz() argument
48 if (mode->mode != HOSTAPD_MODE_IEEE80211A) in get_center_80mhz()
65 static enum chan_allowed verify_80mhz(struct hostapd_hw_modes *mode, u8 channel) in verify_80mhz() argument
[all …]
/dflybsd-src/sys/dev/disk/nata/chipsets/
H A Data-ite.c29 static void ata_ite_821x_setmode(device_t dev, int mode);
30 static void ata_ite_8213_setmode(device_t dev, int mode);
85 ata_ite_821x_setmode(device_t dev, int mode) in ata_ite_821x_setmode() argument
98 mode = ata_limit_mode(dev, mode, ATA_UDMA6); in ata_ite_821x_setmode()
101 if (mode > ATA_UDMA2 && (pci_read_config(gparent, 0x40, 2) & in ata_ite_821x_setmode()
104 mode = ATA_UDMA2; in ata_ite_821x_setmode()
108 error = ata_controlcmd(dev, ATA_SETFEATURES, ATA_SF_SETXFER, 0, mode); in ata_ite_821x_setmode()
112 (error) ? "failed" : "success", ata_mode2str(mode)); in ata_ite_821x_setmode()
116 if (mode >= ATA_UDMA0) { in ata_ite_821x_setmode()
125 udmatiming[mode & ATA_MODE_MASK], 1); in ata_ite_821x_setmode()
[all …]
/dflybsd-src/tools/tools/usbtest/
H A Dusbtest.c193 int mode = 0; in show_default_audio_select() local
204 &mode, sizeof(mode)); in show_default_audio_select()
208 "to %d (error=%d)\n", mode, errno); in show_default_audio_select()
243 (mode == G_AUDIO_MODE_SILENT) ? "(selected)" : "", in show_default_audio_select()
244 (mode == G_AUDIO_MODE_DUMP) ? "(selected)" : "", in show_default_audio_select()
245 (mode == G_AUDIO_MODE_LOOP) ? "(selected)" : "", in show_default_audio_select()
246 (mode == G_AUDIO_MODE_PATTERN) ? "(selected)" : "", in show_default_audio_select()
253 mode = G_AUDIO_MODE_SILENT; in show_default_audio_select()
256 mode = G_AUDIO_MODE_DUMP; in show_default_audio_select()
259 mode = G_AUDIO_MODE_LOOP; in show_default_audio_select()
[all …]
/dflybsd-src/contrib/zlib-1.2/
H A Dgzlib.c79 if (state->mode == GZ_READ) { /* for reading ... */
91 local gzFile gz_open(path, fd, mode) in gz_open() argument
94 const char *mode;
119 state->mode = GZ_NONE;
123 while (*mode) {
124 if (*mode >= '0' && *mode <= '9')
125 state->level = *mode - '0';
127 switch (*mode) {
129 state->mode = GZ_READ;
133 state->mode = GZ_WRITE;
[all …]
/dflybsd-src/sys/dev/drm/
H A Ddrm_probe_helper.c68 drm_mode_validate_flag(const struct drm_display_mode *mode, in drm_mode_validate_flag() argument
71 if ((mode->flags & DRM_MODE_FLAG_INTERLACE) && in drm_mode_validate_flag()
75 if ((mode->flags & DRM_MODE_FLAG_DBLSCAN) && in drm_mode_validate_flag()
79 if ((mode->flags & DRM_MODE_FLAG_3D_MASK) && in drm_mode_validate_flag()
87 drm_mode_validate_pipeline(struct drm_display_mode *mode, in drm_mode_validate_pipeline() argument
96 ret = drm_connector_mode_valid(connector, mode); in drm_mode_validate_pipeline()
108 ret = drm_encoder_mode_valid(encoder, mode); in drm_mode_validate_pipeline()
117 ret = drm_bridge_mode_valid(encoder->bridge, mode); in drm_mode_validate_pipeline()
128 ret = drm_crtc_mode_valid(crtc, mode); in drm_mode_validate_pipeline()
144 struct drm_display_mode *mode; in drm_helper_probe_add_cmdline_mode() local
[all …]
H A Ddrm_modes.c50 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline() argument
52 DRM_DEBUG_KMS("Modeline " DRM_MODE_FMT "\n", DRM_MODE_ARG(mode)); in drm_mode_debug_printmodeline()
90 void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode) in drm_mode_destroy() argument
92 if (!mode) in drm_mode_destroy()
95 drm_mode_object_unregister(dev, &mode->base); in drm_mode_destroy()
97 kfree(mode); in drm_mode_destroy()
111 struct drm_display_mode *mode) in drm_mode_probed_add() argument
115 list_add_tail(&mode->head, &connector->probed_modes); in drm_mode_probed_add()
726 void drm_mode_set_name(struct drm_display_mode *mode) in drm_mode_set_name() argument
728 bool interlaced = !!(mode->flags & DRM_MODE_FLAG_INTERLACE); in drm_mode_set_name()
[all …]

12345678910>>...75