/tools/perf/scripts/python/ |
D | powerpc-hcalls.py | 153 def hcall_table_lookup(opcode): argument 154 if (opcode in hcall_table): 155 return hcall_table[opcode] 157 return opcode 164 for opcode in output: 165 h_name = hcall_table_lookup(opcode) 166 time = output[opcode]['time'] 167 cnt = output[opcode]['cnt'] 168 min_t = output[opcode]['min'] 169 max_t = output[opcode]['max'] [all …]
|
/tools/arch/x86/lib/ |
D | inat.c | 13 insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode) in inat_get_opcode_attribute() argument 15 return inat_primary_table[opcode]; in inat_get_opcode_attribute() 26 insn_attr_t inat_get_escape_attribute(insn_byte_t opcode, int lpfx_id, in inat_get_escape_attribute() argument 37 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute() 42 return table[opcode]; in inat_get_escape_attribute() 65 insn_attr_t inat_get_avx_attribute(insn_byte_t opcode, insn_byte_t vex_m, in inat_get_avx_attribute() argument 75 if (!inat_is_group(table[opcode]) && vex_p) { in inat_get_avx_attribute() 81 return table[opcode]; in inat_get_avx_attribute()
|
D | insn.c | 236 struct insn_field *opcode = &insn->opcode; in insn_get_opcode() local 239 if (opcode->got) in insn_get_opcode() 246 opcode->bytes[0] = op; in insn_get_opcode() 247 opcode->nbytes = 1; in insn_get_opcode() 266 opcode->bytes[opcode->nbytes++] = op; in insn_get_opcode() 273 opcode->got = 1; in insn_get_opcode() 293 if (!insn->opcode.got) in insn_get_modrm()
|
D | x86-opcode-map.txt | 11 # opcode: mnemonic|GrpXXX [operand1[,operand2...]] [(extra1)[,(extra2)...] [| 2nd-mnemonic ...] 13 # opcode: escape # escaped-name 25 # (ev): this opcode requires EVEX prefix. 26 # (evo): this opcode is changed by EVEX prefix (EVEX opcode) 27 # (v): this opcode requires VEX prefix. 28 # (v1): this opcode only supports 128bit VEX. 37 Table: one byte opcode 323 Table: 2-byte opcode (0x0f) 343 # 3DNow! uses the last imm byte as opcode extension. 346 # NOTE: According to Intel SDM opcode map, vmovups and vmovupd has no operands [all …]
|
/tools/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 287 opcode = $(i++) 306 if (match(opcode, group_expr)) { 307 if (!(opcode in group)) { 308 group[opcode] = ggid 311 flags = add_flags(flags, "INAT_MAKE_GROUP(" group[opcode] ")") 318 if (match(opcode, rex_expr)) 322 if (match(opcode, fpu_expr)) 330 else if (match(ext, vexok_expr) || match(opcode, vexok_opcode_expr)) 335 if (!prefix_num[opcode]) 336 semantic_error("Unknown prefix: " opcode) [all …]
|
/tools/io_uring/ |
D | liburing.h | 57 extern int io_uring_register(int fd, unsigned int opcode, void *arg, 112 sqe->opcode = op; in io_uring_prep_rw() 151 sqe->opcode = IORING_OP_POLL_ADD; in io_uring_prep_poll_add() 160 sqe->opcode = IORING_OP_POLL_REMOVE; in io_uring_prep_poll_remove() 168 sqe->opcode = IORING_OP_FSYNC; in io_uring_prep_fsync() 176 sqe->opcode = IORING_OP_NOP; in io_uring_prep_nop()
|
D | syscall.c | 36 int io_uring_register(int fd, unsigned int opcode, void *arg, in io_uring_register() argument 39 return syscall(__NR_io_uring_register, fd, opcode, arg, nr_args); in io_uring_register()
|
D | io_uring-bench.c | 151 sqe->opcode = IORING_OP_NOP; in init_io() 179 sqe->opcode = IORING_OP_READ_FIXED; in init_io() 184 sqe->opcode = IORING_OP_READV; in init_io()
|
/tools/arch/s390/include/uapi/asm/ |
D | sie.h | 88 #define exit_code_ipa0(ipa0, opcode, mnemonic) \ argument 89 { (ipa0 << 8 | opcode), #ipa0 " " mnemonic } 90 #define exit_code(opcode, mnemonic) \ argument 91 { opcode, mnemonic }
|
/tools/perf/util/ |
D | genelf_debug.c | 220 static void emit_extended_opcode(struct buffer_ext *be, ubyte opcode, in emit_extended_opcode() argument 227 buffer_ext_add(be, &opcode, 1); in emit_extended_opcode() 231 static void emit_opcode(struct buffer_ext *be, ubyte opcode) in emit_opcode() argument 233 buffer_ext_add(be, &opcode, 1); in emit_opcode() 237 ubyte opcode, long data) in emit_opcode_signed() argument 239 buffer_ext_add(be, &opcode, 1); in emit_opcode_signed() 243 static void emit_opcode_unsigned(struct buffer_ext *be, ubyte opcode, in emit_opcode_unsigned() argument 246 buffer_ext_add(be, &opcode, 1); in emit_opcode_unsigned() 318 unsigned long opcode = temp + in get_special_opcode() local 322 return opcode <= 255 ? opcode : 0; in get_special_opcode()
|
D | bpf-prologue.c | 330 u8 opcode; in prologue_relocate() local 334 opcode = BPF_OP(insn->code); in prologue_relocate() 335 if (opcode == BPF_CALL) in prologue_relocate()
|
/tools/firewire/ |
D | decode-fcp.c | 137 uint32_t opcode:8; member 154 info = &opcode_info[frame->opcode]; in decode_avc() 157 "(unknown opcode 0x%02x)", frame->opcode); in decode_avc()
|
/tools/arch/x86/include/asm/ |
D | insn.h | 30 struct insn_field opcode; /* member 140 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete() 189 return insn_offset_opcode(insn) + insn->opcode.nbytes; in insn_offset_modrm() 232 return insn->opcode.bytes[0] == POP_SS_OPCODE || in insn_masking_exception() 233 (insn->opcode.bytes[0] == MOV_SREG_OPCODE && in insn_masking_exception()
|
D | inat.h | 97 extern insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode); 99 extern insn_attr_t inat_get_escape_attribute(insn_byte_t opcode, 105 extern insn_attr_t inat_get_avx_attribute(insn_byte_t opcode,
|
/tools/objtool/arch/x86/ |
D | Build | 4 inat_tables_maps = ../arch/x86/lib/x86-opcode-map.txt
|
D | decode.c | 98 op1 = insn.opcode.bytes[0]; in arch_decode_instruction() 99 op2 = insn.opcode.bytes[1]; in arch_decode_instruction()
|
/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-insn-decoder.c | 43 switch (insn->opcode.bytes[0]) { in intel_pt_insn_decoder() 45 switch (insn->opcode.bytes[1]) { in intel_pt_insn_decoder()
|
D | Build | 4 inat_tables_maps = $(srctree)/tools/arch/x86/lib/x86-opcode-map.txt
|
/tools/bpf/bpftool/ |
D | cfg.c | 179 u8 opcode = BPF_OP(cur->code); in func_partition_bb_head() local 181 if (opcode == BPF_EXIT || opcode == BPF_CALL) in func_partition_bb_head() 188 if (opcode != BPF_JA) { in func_partition_bb_head()
|
/tools/include/uapi/linux/ |
D | pkt_cls.h | 60 #define TC_ACT_EXT_CMP(combined, opcode) (TC_ACT_EXT_OPCODE(combined) == opcode) argument
|