Home
last modified time | relevance | path

Searched refs:operand (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/freebsd-12-stable/contrib/libpcap/
Dbpf_image.c43 const char *operand; in bpf_image() local
50 operand = operand_buf; in bpf_image()
56 operand = operand_buf; in bpf_image()
61 operand = ""; in bpf_image()
67 operand = operand_buf; in bpf_image()
73 operand = operand_buf; in bpf_image()
79 operand = operand_buf; in bpf_image()
84 operand = "#pktlen"; in bpf_image()
90 operand = operand_buf; in bpf_image()
96 operand = operand_buf; in bpf_image()
[all …]
/freebsd-12-stable/sys/sys/
Dstdatomic.h243 #define atomic_fetch_add_explicit(object, operand, order) \ argument
244 __c11_atomic_fetch_add(object, operand, order)
245 #define atomic_fetch_and_explicit(object, operand, order) \ argument
246 __c11_atomic_fetch_and(object, operand, order)
247 #define atomic_fetch_or_explicit(object, operand, order) \ argument
248 __c11_atomic_fetch_or(object, operand, order)
249 #define atomic_fetch_sub_explicit(object, operand, order) \ argument
250 __c11_atomic_fetch_sub(object, operand, order)
251 #define atomic_fetch_xor_explicit(object, operand, order) \ argument
252 __c11_atomic_fetch_xor(object, operand, order)
[all …]
/freebsd-12-stable/contrib/binutils/opcodes/
Ds390-dis.c66 s390_extract_operand (unsigned char *insn, const struct s390_operand *operand) in s390_extract_operand() argument
72 insn += operand->shift / 8; in s390_extract_operand()
73 bits = (operand->shift & 7) + operand->bits; in s390_extract_operand()
83 val &= ((1U << (operand->bits - 1)) << 1) - 1; in s390_extract_operand()
86 if (operand->bits == 20 && operand->shift == 20) in s390_extract_operand()
90 if ((operand->flags & (S390_OPERAND_SIGNED | S390_OPERAND_PCREL)) in s390_extract_operand()
91 && (val & (1U << (operand->bits - 1)))) in s390_extract_operand()
92 val |= (-1U << (operand->bits - 1)) << 1; in s390_extract_operand()
95 if (operand->flags & S390_OPERAND_PCREL) in s390_extract_operand()
99 if (operand->flags & S390_OPERAND_LENGTH) in s390_extract_operand()
[all …]
Darc-opc.c27 enum operand {OP_NONE,OP_REG,OP_SHIMM,OP_LIMM}; enum
31 enum operand ls_operand[OPERANDS];
331 const struct arc_operand *operand, in insert_reg() argument
338 enum operand op_type = OP_NONE; in insert_reg()
359 if ('a' != operand->fmt) in insert_reg()
371 insn |= marker << operand->shift; in insert_reg()
380 insn |= ARC_REG_LIMM << operand->shift; in insert_reg()
406 insn |= ARC_REG_SHIMM << operand->shift; in insert_reg()
413 if ('a' == operand->fmt || ((insn & I(-1)) < I(2))) in insert_reg()
418 if ('a' != operand->fmt) in insert_reg()
[all …]
Dppc-dis.c133 operand_value_powerpc (const struct powerpc_operand *operand, in operand_value_powerpc() argument
139 if (operand->extract) in operand_value_powerpc()
140 value = (*operand->extract) (insn, dialect, &invalid); in operand_value_powerpc()
143 value = (insn >> operand->shift) & operand->bitm; in operand_value_powerpc()
144 if ((operand->flags & PPC_OPERAND_SIGNED) != 0) in operand_value_powerpc()
148 unsigned long top = operand->bitm; in operand_value_powerpc()
166 const struct powerpc_operand *operand; in skip_optional_operands() local
170 operand = &powerpc_operands[*opindex]; in skip_optional_operands()
171 if ((operand->flags & PPC_OPERAND_NEXT) != 0 in skip_optional_operands()
172 || ((operand->flags & PPC_OPERAND_OPTIONAL) != 0 in skip_optional_operands()
[all …]
Dalpha-dis.c135 const struct alpha_operand *operand = alpha_operands + *opindex; local
136 if (operand->extract)
137 (*operand->extract) (insn, &invalid);
161 const struct alpha_operand *operand = alpha_operands + *opindex; local
167 if ((operand->flags & AXP_OPERAND_FAKE) != 0)
171 if (operand->extract)
172 value = (*operand->extract) (insn, (int *) NULL);
175 value = (insn >> operand->shift) & ((1 << operand->bits) - 1);
176 if (operand->flags & AXP_OPERAND_SIGNED)
178 int signbit = 1 << (operand->bits - 1);
[all …]
/freebsd-12-stable/contrib/binutils/gas/config/
Dtc-arc.c260 const struct arc_operand *operand, in arc_insert_operand() argument
267 if (operand->bits != 32) in arc_insert_operand()
272 if ((operand->flags & ARC_OPERAND_SIGNED) != 0) in arc_insert_operand()
274 if ((operand->flags & ARC_OPERAND_SIGNOPT) != 0) in arc_insert_operand()
275 max = (1 << operand->bits) - 1; in arc_insert_operand()
277 max = (1 << (operand->bits - 1)) - 1; in arc_insert_operand()
278 min = - (1 << (operand->bits - 1)); in arc_insert_operand()
282 max = (1 << operand->bits) - 1; in arc_insert_operand()
286 if ((operand->flags & ARC_OPERAND_NEGATIVE) != 0) in arc_insert_operand()
295 if (operand->insert) in arc_insert_operand()
[all …]
Dtc-s390.c550 s390_insert_operand (insn, operand, val, file, line) in s390_insert_operand() argument
552 const struct s390_operand *operand;
560 if (operand->flags & (S390_OPERAND_SIGNED|S390_OPERAND_PCREL))
564 max = ((offsetT) 1 << (operand->bits - 1)) - 1;
565 min = - ((offsetT) 1 << (operand->bits - 1));
567 if (operand->flags & S390_OPERAND_PCREL)
576 if (operand->flags & S390_OPERAND_PCREL)
590 uval = (addressT) val & ((((addressT) 1 << (operand->bits-1)) << 1) - 1);
592 if (operand->bits == 20 && operand->shift == 20)
599 max = (((addressT) 1 << (operand->bits - 1)) << 1) - 1;
[all …]
Dtc-ppc.c1296 const struct powerpc_operand *operand = &powerpc_operands[*o]; in ppc_setup_opcodes() local
1297 if (operand->shift >= 0) in ppc_setup_opcodes()
1299 unsigned long mask = operand->bitm << operand->shift; in ppc_setup_opcodes()
1489 const struct powerpc_operand *operand, in ppc_insert_operand() argument
1496 max = operand->bitm; in ppc_insert_operand()
1500 if ((operand->flags & PPC_OPERAND_SIGNED) != 0) in ppc_insert_operand()
1502 if ((operand->flags & PPC_OPERAND_SIGNOPT) == 0) in ppc_insert_operand()
1507 if ((operand->flags & PPC_OPERAND_PLUS1) != 0) in ppc_insert_operand()
1510 if ((operand->flags & PPC_OPERAND_NEGATIVE) != 0) in ppc_insert_operand()
1544 if (operand->insert) in ppc_insert_operand()
[all …]
Dtc-mep.c1282 int operand; in md_convert_frag() local
1320 operand = MEP_OPERAND_PCABS24A2; in md_convert_frag()
1328 operand = MEP_OPERAND_PCREL12A2; in md_convert_frag()
1337 operand = MEP_OPERAND_PCREL24A2; in md_convert_frag()
1343 operand = MEP_OPERAND_PCREL12A2; in md_convert_frag()
1357 operand = MEP_OPERAND_PCREL17A2; in md_convert_frag()
1369 operand = MEP_OPERAND_PCABS24A2; in md_convert_frag()
1376 operand = MEP_OPERAND_PCREL8A2; in md_convert_frag()
1391 operand = MEP_OPERAND_PCREL17A2; in md_convert_frag()
1403 operand = MEP_OPERAND_PCREL17A2; in md_convert_frag()
[all …]
/freebsd-12-stable/contrib/gcc/
Dgenoutput.c168 struct operand_data operand[MAX_MAX_OPERANDS]; member
453 if (d->operand[opno].seen) in scan_operands()
460 d->operand[opno].seen = 1; in scan_operands()
461 d->operand[opno].mode = GET_MODE (part); in scan_operands()
462 d->operand[opno].strict_low = this_strict_low; in scan_operands()
463 d->operand[opno].predicate = XSTR (part, 1); in scan_operands()
464 d->operand[opno].constraint = strip_whitespace (XSTR (part, 2)); in scan_operands()
465 d->operand[opno].n_alternatives in scan_operands()
466 = n_occurrences (',', d->operand[opno].constraint) + 1; in scan_operands()
467 d->operand[opno].address_p = this_address_p; in scan_operands()
[all …]
Dreload.c394 scratch_constraint = insn_data[(int) icode].operand[2].constraint; in push_secondary_reload()
405 mode = insn_data[(int) icode].operand[2].mode; in push_secondary_reload()
548 scratch_constraint = insn_data[(int) icode].operand[2].constraint; in scratch_reload_class()
1828 if (insn_data[INSN_CODE (this_insn)].operand[i].constraint[0] == '=' in combine_reloads()
1829 || insn_data[INSN_CODE (this_insn)].operand[i].constraint[0] == '+') in combine_reloads()
2644 substed_operand[i] = recog_data.operand[i]; in find_reloads()
2689 = operands_match_p (recog_data.operand[c], in find_reloads()
2690 recog_data.operand[i]); in find_reloads()
2703 = operands_match_p (recog_data.operand[other], in find_reloads()
2704 recog_data.operand[i]); in find_reloads()
[all …]
Drtl.def190 1st operand is the instruction template.
191 2nd operand is the constraint for the output.
192 3rd operand is the number of the output this expression refers to.
198 and whose mode indicates the mode of the input operand.
203 1st operand is the instruction template.
204 2nd operand is the constraint for the output.
205 3rd operand is the number of the output this expression refers to.
211 and whose mode indicates the mode of the input operand.
218 1st operand is a vector of operands being used by the operation so that
220 2nd operand is a unique value saying which of a number of machine-specific
[all …]
Doptabs.c387 xmode0 = insn_data[icode].operand[1].mode; in expand_widen_pattern_expr()
393 xmode1 = insn_data[icode].operand[2].mode; in expand_widen_pattern_expr()
408 wxmode = insn_data[icode].operand[3].mode; in expand_widen_pattern_expr()
412 wmode = wxmode = insn_data[icode].operand[0].mode; in expand_widen_pattern_expr()
415 || ! (*insn_data[icode].operand[0].predicate) (target, wmode)) in expand_widen_pattern_expr()
456 if (! (*insn_data[icode].operand[1].predicate) (xop0, xmode0) in expand_widen_pattern_expr()
462 if (! (*insn_data[icode].operand[2].predicate) (xop1, xmode1) in expand_widen_pattern_expr()
468 if (! (*insn_data[icode].operand[3].predicate) (wxop, wxmode) in expand_widen_pattern_expr()
481 if (! (*insn_data[icode].operand[2].predicate) (wxop, wxmode) in expand_widen_pattern_expr()
511 enum machine_mode mode0 = insn_data[icode].operand[1].mode; in expand_ternary_op()
[all …]
Dipa-type-escape.c1020 tree operand; in check_call() local
1026 for (operand = operand_list; in check_call()
1027 operand != NULL_TREE; in check_call()
1028 operand = TREE_CHAIN (operand)) in check_call()
1030 tree argument = TREE_VALUE (operand); in check_call()
1045 operand = operand_list; in check_call()
1050 if (operand) in check_call()
1052 argument = TREE_VALUE (operand); in check_call()
1055 operand = TREE_CHAIN (operand); in check_call()
1069 operand = operand_list; in check_call()
[all …]
/freebsd-12-stable/contrib/binutils/gas/
Dcond.c128 expressionS operand; in s_if() local
142 operand.X_add_number = 0; in s_if()
148 expression_and_evaluate (&operand); in s_if()
149 if (operand.X_op != O_constant) in s_if()
155 case O_eq: t = operand.X_add_number == 0; break; in s_if()
156 case O_ne: t = operand.X_add_number != 0; break; in s_if()
157 case O_lt: t = operand.X_add_number < 0; break; in s_if()
158 case O_le: t = operand.X_add_number <= 0; break; in s_if()
159 case O_ge: t = operand.X_add_number >= 0; break; in s_if()
160 case O_gt: t = operand.X_add_number > 0; break; in s_if()
[all …]
Dcgen.c251 gas_cgen_record_fixup (frag, where, insn, length, operand, opinfo, symbol, offset) in gas_cgen_record_fixup() argument
256 const CGEN_OPERAND * operand;
266 CGEN_OPERAND_ATTR_VALUE (operand, CGEN_OPERAND_PCREL_ADDR),
269 + (int) operand->type));
292 gas_cgen_record_fixup_exp (frag, where, insn, length, operand, opinfo, exp) in gas_cgen_record_fixup_exp() argument
297 const CGEN_OPERAND * operand;
306 CGEN_OPERAND_ATTR_VALUE (operand, CGEN_OPERAND_PCREL_ADDR),
309 + (int) operand->type));
379 const CGEN_OPERAND * operand; local
442 operand = cgen_operand_lookup_by_num (cd, opindex);
[all …]
/freebsd-12-stable/contrib/binutils/gas/doc/
Dc-cr16.texi24 The National Semiconductor CR16 target of @code{@value{AS}} has a few machine dependent operand qua…
26 …r is an optional field in the instruction operand, to determines the type of the expression field …
30 - @code{Specifies expression operand type as small}
32 - @code{Specifies expression operand type as medium}
34 - @code{Specifies expression operand type as large}
36 …y for the operand, where pc has implied bit, the expression is adjusted accordingly. The linker us…
39 CR16 target operand qualifiers and its size (in bits):
52 - s ---- Illegal specifier for this operand.
/freebsd-12-stable/contrib/llvm-project/clang/lib/Headers/
Dstdatomic.h132 #define atomic_fetch_add(object, operand) __c11_atomic_fetch_add(object, operand, __ATOMIC_SEQ_CST) argument
135 #define atomic_fetch_sub(object, operand) __c11_atomic_fetch_sub(object, operand, __ATOMIC_SEQ_CST) argument
138 #define atomic_fetch_or(object, operand) __c11_atomic_fetch_or(object, operand, __ATOMIC_SEQ_CST) argument
141 #define atomic_fetch_xor(object, operand) __c11_atomic_fetch_xor(object, operand, __ATOMIC_SEQ_CST) argument
144 #define atomic_fetch_and(object, operand) __c11_atomic_fetch_and(object, operand, __ATOMIC_SEQ_CST) argument
/freebsd-12-stable/contrib/gcc/config/ia64/
Dpredicates.md21 ;; True if OP is a valid operand for the MEM of a CALL insn.
187 ;; Return true if OP is a valid thread local storage symbolic operand.
225 ;; Return true if OP is a local-dynamic thread local storage symbolic operand.
230 ;; Return true if OP is an initial-exec thread local storage symbolic operand.
254 ;; Return true if OP is a local-exec thread local storage symbolic operand.
290 ;; True if OP is a general operand, with some restrictions on symbols.
336 ;; True if OP is a register operand that is (or could be) a GR reg.
348 ;; True if OP is a register operand that is (or could be) an FR reg.
360 ;; True if OP is a register operand that is (or could be) a GR/FR reg.
374 ;; True if OP is a nonimmediate operand that is (or could be) a GR reg.
[all …]
/freebsd-12-stable/contrib/gcc/doc/
Dmd.texi33 * Constraints:: Fine-tuning operand selection.
77 template or operand constraints. Note that the names the compiler looks
108 to be filled in later, operand constraints that restrict how the pieces can
171 to substitute the value of an operand. @xref{Output Template}.
216 a general operand. It has no condition, so any insn whose RTL description
223 output template to return based on the kind of operand and the specific
226 @samp{"rm"} is an operand constraint. Its meaning is explained below.
249 This expression is a placeholder for operand number @var{n} of
250 the insn. When constructing an insn, operand number @var{n}
252 appears at this position in the insn will be taken as operand
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/XCore/
DXCoreInstrFormats.td41 // 3R with first operand as an immediate. Used for TSETR where the first
42 // operand is treated as an immediate since it refers to a register number in
59 // L3R with first operand as both a source and a destination.
71 // 2RUS with bitp operand
88 // L2RUS with bitp operand
160 // 2R with first operand as an immediate. Used for TSETMR where the first
161 // operand is treated as an immediate since it refers to a register number in
168 // 2R with first operand as both a source and a destination.
187 // RUS with bitp operand
194 // RUS with first operand as both a source and a destination and a bitp second
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/M68k/
DM68kInstrInfo.td193 // REGISTER DIRECT. The operand is in the data register specified by
201 // DATA REGISTER DIRECT. The operand is in the data register specified by
210 // ADDRESS REGISTER DIRECT. The operand is in the address register specified by
228 // ADDRESS REGISTER INDIRECT. The address of the operand is in the address
241 // ADDRESS REGISTER INDIRECT WITH POSTINCREMENT. The address of the operand is
242 // in the address register specified by the register field. After the operand
244 // the size of the operand is byte, word, or long word. If the address register
245 // is the stack pointer and the operand size is byte, the address is incremented
257 // ADDRESS REGISTER INDIRECT WITH PREDECREMENT. The address of the operand is in
258 // the address register specified by the register field. Before the operand
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Target/
DTargetInstrPredicate.td26 // whose opcode is BLR, and whose first operand is a register different from
90 // operands. It is used to reference a specific machine operand.
95 // Return true if machine operand at position `Index` is a register operand.
98 // Return true if machine operand at position `Index` is an immediate operand.
113 // immediate operand value, and returns another value. Field `FunctionMapper` is
114 // the name of the function to call on the operand value.
119 // Check that the machine register operand at position `Index` references
121 // operand at position `Index` is a register operand.
126 // Check if register operand at index `Index` is the invalid register.
129 // Return true if machine operand at position `Index` is a valid
[all …]
/freebsd-12-stable/contrib/gcc/config/rs6000/
Dpredicates.md183 ;; Return 1 if operand is a CONST_DOUBLE that can be set in a register
274 ;; Return 1 if the operand is a CONST_VECTOR and can be loaded into a
326 ;; Return 1 if operand is constant zero (scalars and vectors).
331 ;; Return 1 if operand is 0.0.
338 ;; Return 1 if the operand is in volatile memory. Note that during the
351 ;; Return 1 if the operand is an offsettable memory operand.
358 ;; Return 1 if the operand is a memory operand with an address divisible by 4
366 ;; Return 1 if the operand is an indexed or indirect memory operand.
381 ;; Return 1 if the operand is an indexed or indirect address.
398 ;; Return 1 if the operand is either a non-special register or can be used
[all …]

12345678910>>...16