Searched refs:operand (Results 1 - 25 of 77) sorted by relevance

1234

/freebsd-9.3-release/include/
H A Dstdatomic.h195 #define atomic_fetch_add_explicit(object, operand, order) \
196 __c11_atomic_fetch_add(object, operand, order)
197 #define atomic_fetch_and_explicit(object, operand, order) \
198 __c11_atomic_fetch_and(object, operand, order)
199 #define atomic_fetch_or_explicit(object, operand, order) \
200 __c11_atomic_fetch_or(object, operand, order)
201 #define atomic_fetch_sub_explicit(object, operand, order) \
202 __c11_atomic_fetch_sub(object, operand, order)
203 #define atomic_fetch_xor_explicit(object, operand, order) \
204 __c11_atomic_fetch_xor(object, operand, orde
[all...]
/freebsd-9.3-release/contrib/binutils/opcodes/
H A Dppc-dis.c130 /* Extract the operand value from the PowerPC or POWER instruction. */
133 operand_value_powerpc (const struct powerpc_operand *operand, argument
139 if (operand->extract)
140 value = (*operand->extract) (insn, dialect, &invalid);
143 value = (insn >> operand->shift) & operand->bitm;
144 if ((operand->flags & PPC_OPERAND_SIGNED) != 0)
148 unsigned long top = operand->bitm;
160 /* Determine whether the optional operand(s) should be printed. */
166 const struct powerpc_operand *operand; local
221 const struct powerpc_operand *operand; local
[all...]
H A 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
[all...]
H A Ds390-dis.c63 /* Extracts an operand value from an instruction. */
66 s390_extract_operand (unsigned char *insn, const struct s390_operand *operand) argument
71 /* Extract fragments of the operand byte for byte. */
72 insn += operand->shift / 8;
73 bits = (operand->shift & 7) + operand->bits;
83 val &= ((1U << (operand->bits - 1)) << 1) - 1;
86 if (operand->bits == 20 && operand->shift == 20)
89 /* Sign extend value if the operand i
155 const struct s390_operand *operand; local
[all...]
H A Darc-opc.c27 enum operand {OP_NONE,OP_REG,OP_SHIMM,OP_LIMM}; enum
31 enum operand ls_operand[OPERANDS];
156 'U' UNOPMACRO fake operand to copy REGB to REGC for unop macros
186 /* Fake operand used to insert shimm value into most instructions. */
190 /* Fake operand used to insert limm value into most instructions. */
194 /* Shimm operand when there is no reg indicator (st). */
198 /* Shimm operand when there is no reg indicator (ld). */
226 /* Fake utility operand to finish 'f' suffix handling. */
230 /* Fake utility operand to set the 'f' flag for the "flag" insn. */
333 const struct arc_operand *operand,
330 insert_reg(arc_insn insn, const struct arc_operand *operand, int mods, const struct arc_operand_value *reg, long value, const char **errmsg) argument
476 insert_nullify(arc_insn insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value *reg ATTRIBUTE_UNUSED, long value, const char **errmsg ATTRIBUTE_UNUSED) argument
494 insert_flagfinish(arc_insn insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value *reg ATTRIBUTE_UNUSED, long value ATTRIBUTE_UNUSED, const char **errmsg ATTRIBUTE_UNUSED) argument
514 insert_cond(arc_insn insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value *reg ATTRIBUTE_UNUSED, long value, const char **errmsg ATTRIBUTE_UNUSED) argument
545 insert_addr_wb(arc_insn insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value *reg ATTRIBUTE_UNUSED, long value ATTRIBUTE_UNUSED, const char **errmsg ATTRIBUTE_UNUSED) argument
557 insert_base(arc_insn insn, const struct arc_operand *operand, int mods, const struct arc_operand_value *reg, long value, const char **errmsg) argument
608 insert_offset(arc_insn insn, const struct arc_operand *operand, int mods, const struct arc_operand_value *reg, long value, const char **errmsg) argument
897 insert_shimmfinish(arc_insn insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value *reg ATTRIBUTE_UNUSED, long value ATTRIBUTE_UNUSED, const char **errmsg ATTRIBUTE_UNUSED) argument
933 insert_jumpflags(arc_insn insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value *reg ATTRIBUTE_UNUSED, long value, const char **errmsg) argument
964 insert_unopmacro(arc_insn insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value *reg ATTRIBUTE_UNUSED, long value ATTRIBUTE_UNUSED, const char **errmsg ATTRIBUTE_UNUSED) argument
978 insert_reladdr(arc_insn insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value *reg ATTRIBUTE_UNUSED, long value, const char **errmsg) argument
1075 extract_reg(arc_insn *insn, const struct arc_operand *operand, int mods, const struct arc_operand_value **opval, int *invalid ATTRIBUTE_UNUSED) argument
1188 extract_flag(arc_insn *insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value **opval, int *invalid ATTRIBUTE_UNUSED) argument
1218 extract_cond(arc_insn *insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value **opval, int *invalid ATTRIBUTE_UNUSED) argument
1244 extract_reladdr(arc_insn *insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value **opval ATTRIBUTE_UNUSED, int *invalid ATTRIBUTE_UNUSED) argument
1262 extract_jumpflags(arc_insn *insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value **opval ATTRIBUTE_UNUSED, int *invalid) argument
1277 extract_st_offset(arc_insn *insn, const struct arc_operand *operand, int mods ATTRIBUTE_UNUSED, const struct arc_operand_value **opval ATTRIBUTE_UNUSED, int *invalid) argument
1302 extract_ld_offset(arc_insn *insn, const struct arc_operand *operand, int mods, const struct arc_operand_value **opval, int *invalid) argument
[all...]
/freebsd-9.3-release/contrib/binutils/gas/
H A Dcond.c77 /* Leading whitespace is part of operand. */
128 expressionS operand; local
137 /* Leading whitespace is part of operand. */
142 operand.X_add_number = 0;
148 expression_and_evaluate (&operand);
149 if (operand.X_op != O_constant)
155 case O_eq: t = operand.X_add_number == 0; break;
156 case O_ne: t = operand.X_add_number != 0; break;
157 case O_lt: t = operand.X_add_number < 0; break;
158 case O_le: t = operand
338 expressionS operand; local
[all...]
H A Dcgen.c79 OPINDEX is the index in the operand table.
247 operand index. This lets us easily handle fixups for any
248 operand type. We pick a BFD reloc type in md_apply_fix. */
251 gas_cgen_record_fixup (frag, where, insn, length, operand, opinfo, symbol, offset)
256 const CGEN_OPERAND * operand;
263 /* It may seem strange to use operand->attrs and not insn->attrs here,
264 but it is the operand that has a pc relative relocation. */
266 CGEN_OPERAND_ATTR_VALUE (operand, CGEN_OPERAND_PCREL_ADDR),
269 + (int) operand->type));
288 operand inde
379 const CGEN_OPERAND * operand; local
663 const CGEN_OPERAND *operand = local
783 weak_operand_overflow_check(const expressionS * exp, const CGEN_OPERAND * operand) argument
889 const CGEN_OPERAND *operand = cgen_operand_lookup_by_num (cd, opindex); local
[all...]
/freebsd-9.3-release/sys/ia64/disasm/
H A Ddisasm_extract.c1815 operand(struct asm_inst *i, int op, enum asm_oper_type ot, uint64_t bits, function
1915 operand(i, 0, ASM_OPER_PREG, bits, 0, 6);
1919 operand(i, 1, ASM_OPER_GREG, bits, 6, 7);
1920 operand(i, 2, ASM_OPER_GREG, bits, 13, 7);
1921 operand(i, 3, ASM_OPER_GREG, bits, 20, 7);
1927 operand(i, 1, ASM_OPER_GREG, bits, 6, 7);
1928 operand(i, 2, ASM_OPER_GREG, bits, 13, 7);
1930 operand(i, 4, ASM_OPER_GREG, bits, 20, 7);
1933 operand(i, 1, ASM_OPER_GREG, bits, 6, 7);
1935 operand(
[all...]
/freebsd-9.3-release/contrib/binutils/gas/config/
H A Dtc-arc.c203 /* Initialize the various opcode and operand tables.
257 /* Insert an operand value into an instruction.
262 const struct arc_operand *operand,
269 if (operand->bits != 32)
274 if ((operand->flags & ARC_OPERAND_SIGNED) != 0)
276 if ((operand->flags & ARC_OPERAND_SIGNOPT) != 0)
277 max = (1 << operand->bits) - 1;
279 max = (1 << (operand->bits - 1)) - 1;
280 min = - (1 << (operand->bits - 1));
284 max = (1 << operand
259 arc_insert_operand(arc_insn insn, const struct arc_operand *operand, int mods, const struct arc_operand_value *reg, offsetT val, char *file, unsigned int line) argument
1292 const struct arc_operand *operand; local
1508 const struct arc_operand *operand; local
1879 const struct arc_operand *operand; local
[all...]
H A Dtc-s390.c253 * in: Input_line_pointer points to 1st char of operand.
256 * The operand may have been a register: in this case, X_op == O_register,
258 * Input_line_pointer->(next non-blank) char after operand, or is in its
271 /* Find the spelling of the operand. */
547 /* Insert an operand value into an instruction. */
550 s390_insert_operand (insn, operand, val, file, line)
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
1172 const struct s390_operand *operand; local
2022 const struct s390_operand *operand; local
[all...]
H A Dtc-mep.c1285 int operand;
1323 operand = MEP_OPERAND_PCABS24A2;
1331 operand = MEP_OPERAND_PCREL12A2;
1340 operand = MEP_OPERAND_PCREL24A2;
1346 operand = MEP_OPERAND_PCREL12A2;
1360 operand = MEP_OPERAND_PCREL17A2;
1372 operand = MEP_OPERAND_PCABS24A2;
1379 operand = MEP_OPERAND_PCREL8A2;
1394 operand = MEP_OPERAND_PCREL17A2;
1403 /* No opcode change needed, just operand
1282 int operand; local
1478 md_cgen_lookup_reloc(const CGEN_INSN *insn ATTRIBUTE_UNUSED, const CGEN_OPERAND *operand, fixS *fixP) argument
1553 mep_cgen_record_fixup_exp(fragS *frag, int where, const CGEN_INSN *insn, int length, const CGEN_OPERAND *operand, int opinfo, expressionS *exp) argument
1741 const CGEN_OPERAND *operand local
[all...]
H A Dtc-cr16.c39 /* Maximum bits which may be set in a `mask16' operand. */
49 OP_LEGAL = 0, /* Legal operand. */
263 /* Return the bit size for a given operand. */
274 /* Return the argument type of a given operand. */
285 /* Return the flags of a given operand. */
427 /* Parse an operand that is machine-specific (remove '*'). */
959 as_bad (_("operand %d: illegal use expression: `%s`"), cur_arg_num + 1, str);
1057 set_operand (char *operand, ins * cr16_ins) argument
1065 operandS = operandE = operand;
1153 { /* Eliminate '[', detach from rest of operand
1186 parse_operand(char *operand, ins * cr16_ins) argument
1294 char *operand[MAX_OPERANDS];/* Separating the operands. */ local
1451 check_cinv_options(char * operand) argument
[all...]
H A Dtc-ppc.c176 /* Anything that can start an operand needs to be mentioned here,
588 * in: Input_line_pointer points to 1st char of operand.
591 * The operand may have been a register: in this case, X_op == O_register,
593 * Input_line_pointer->(next non-blank) char after operand, or is in its
605 /* Find the spelling of the operand. */
1250 /* Check operand masks. Code here and in the disassembler assumes
1297 as_bad (_("operand index error for %s"),
1303 const struct powerpc_operand *operand = &powerpc_operands[*o];
1304 if (operand->shift >= 0)
1306 unsigned long mask = operand
1296 const struct powerpc_operand *operand = &powerpc_operands[*o]; local
1488 ppc_insert_operand(unsigned long insn, const struct powerpc_operand *operand, offsetT val, char *file, unsigned int line) argument
2215 const struct powerpc_operand *operand; local
2261 const struct powerpc_operand *operand; local
2716 const struct powerpc_operand *operand; local
5591 const struct powerpc_operand *operand; local
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dgenoutput.c50 h. `operand' is the base of an array of operand data for the insn.
52 2. An array of `struct insn_operand data', used by `operand' above.
55 for this operand.
57 b. `constraint' is the constraint for this operand.
59 c. `address_p' indicates that the operand appears within ADDRESS
62 d. `mode' is the machine mode that that operand is supposed to have.
135 /* Begin with a null operand at index 0. */
169 struct operand_data operand[MAX_MAX_OPERANDS];
423 /* Stores in max_opno the largest operand numbe
168 struct operand_data operand[MAX_MAX_OPERANDS]; member in struct:data
[all...]
H A Dreload.c86 an ordinary operand, it is classified as RELOAD_OTHER, and cannot share
164 /* Used to track what is modified by an operand. */
180 after register elimination is record separately for each operand. This
211 operand, which can be different for that from the input operand. */
381 operand 0. If IN_P is zero, the reload register will be the input
382 in operand 1. Outputs should have an initial "=", which we must
393 chain of scratch operand reloads onto. */
396 scratch_constraint = insn_data[(int) icode].operand[2].constraint;
407 mode = insn_data[(int) icode].operand[
2928 rtx operand = recog_data.operand[i]; local
4000 rtx operand = recog_data.operand[i]; local
4077 rtx operand = recog_data.operand[i]; local
5025 rtx operand, addend; local
[all...]
H A Doptabs.c204 /* Widen OP to MODE and return the rtx for the widened operand. UNSIGNEDP
391 xmode0 = insn_data[icode].operand[1].mode;
397 xmode1 = insn_data[icode].operand[2].mode;
400 /* The last operand is of a wider mode than the rest of the operands. */
412 wxmode = insn_data[icode].operand[3].mode;
416 wmode = wxmode = insn_data[icode].operand[0].mode;
419 || ! (*insn_data[icode].operand[0].predicate) (target, wmode))
460 if (! (*insn_data[icode].operand[1].predicate) (xop0, xmode0)
466 if (! (*insn_data[icode].operand[2].predicate) (xop1, xmode1)
472 if (! (*insn_data[icode].operand[
[all...]
H A Dipa-type-escape.c1020 tree operand; local
1026 for (operand = operand_list;
1027 operand != NULL_TREE;
1028 operand = TREE_CHAIN (operand))
1030 tree argument = TREE_VALUE (operand);
1045 operand = operand_list;
1050 if (operand)
1052 argument = TREE_VALUE (operand);
1055 operand
[all...]
H A Drecog.h45 /* -1 if no matching constraint was found, or an operand number. */
47 /* The same information, but reversed: -1 if this operand is not
48 matched by any other, or the operand number of the operand that
156 /* It is very tempting to make the 5 operand related arrays into a
159 templates, we need `operand' as a flat array. Without that
162 /* Gives value of operand N. */
163 rtx operand[MAX_RECOG_OPERANDS]; member in struct:recog_data
165 /* Gives location where operand N was found. */
168 /* Gives the constraint string for operand
258 const struct insn_operand_data *const operand; member in struct:insn_data
[all...]
H A Dregclass.c987 if (GET_CODE (recog_data.operand[i]) == SUBREG)
988 recog_data.operand[i] = SUBREG_REG (recog_data.operand[i]);
990 if (MEM_P (recog_data.operand[i]))
991 record_address_regs (GET_MODE (recog_data.operand[i]),
992 XEXP (recog_data.operand[i], 0),
996 record_address_regs (VOIDmode, recog_data.operand[i], 0, ADDRESS,
1001 have been initialized. We must do this even if one operand
1019 recog_data.operand, modes,
1024 recog_data.operand, mode
[all...]
H A Dipa-pure-const.c320 tree operand; local
325 for (operand = operand_list;
326 operand != NULL_TREE;
327 operand = TREE_CHAIN (operand))
329 tree argument = TREE_VALUE (operand);
396 should be converted to use the operand scanner. */
H A Dreg-stack.c90 output operand.
113 If any input operand uses the "f" constraint, all output reg
126 appears in after an asm. "=f" is not allowed: the operand
130 Since no 387 opcode uses a read/write operand, all output operands
499 if (GET_CODE (recog_data.operand[i]) == SUBREG
500 && REG_P (SUBREG_REG (recog_data.operand[i])))
501 recog_data.operand[i] = SUBREG_REG (recog_data.operand[i]);
530 operand constraints must select a class with a single reg.
537 if (STACK_REG_P (recog_data.operand[
[all...]
H A Dtarghooks.c523 && insn_data[(int) icode].operand[in_p].predicate
524 && ! insn_data[(int) icode].operand[in_p].predicate (x, reload_mode))
533 insn_constraint = insn_data[(int) icode].operand[!in_p].constraint;
551 scratch_constraint = insn_data[(int) icode].operand[2].constraint;
/freebsd-9.3-release/contrib/libpcap/
H A Dbpf_image.c62 char operand[64]; local
294 (void)snprintf(operand, sizeof operand, fmt, v);
298 n, op, operand, n + 1 + p->jt, n + 1 + p->jf);
302 n, op, operand);
/freebsd-9.3-release/contrib/binutils/include/opcode/
H A Darc.h121 struct arc_operand_value operand; member in struct:arc_ext_operand_value
130 /* The number of bits in the operand (may be unused for a modifier). */
133 /* How far the operand is left shifted in the instruction, or
142 /* This operand is a suffix to the opcode. */
145 /* This operand is a relative branch displacement. The disassembler
149 /* This operand is an absolute branch address. The disassembler
153 /* This operand is an address. The disassembler
157 /* This operand is a long immediate value. */
160 /* This operand takes signed values. */
163 /* This operand take
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/X86/Disassembler/
H A DX86Disassembler.cpp154 /// register, and appends it as an operand to an MCInst.
170 /// tryAddingSymbolicOperand - trys to add a symbolic operand in place of the
184 /// an MCExpr and that is added as an operand to the MCInst. If getOpInfo()
188 /// if it adds an operand to the MCInst and false otherwise.
210 /// translateImmediate - Appends an immediate operand to an MCInst.
214 /// @param operand - The operand, as stored in the descriptor table.
217 const OperandSpecifier &operand,
222 OperandType type = (OperandType)operand.type;
253 switch (operand
216 translateImmediate(MCInst &mcInst, uint64_t immediate, const OperandSpecifier &operand, InternalInstruction &insn, const MCDisassembler *Dis) argument
548 translateRM(MCInst &mcInst, const OperandSpecifier &operand, InternalInstruction &insn, const MCDisassembler *Dis) argument
619 translateOperand(MCInst &mcInst, const OperandSpecifier &operand, InternalInstruction &insn, const MCDisassembler *Dis) argument
[all...]

Completed in 507 milliseconds

1234