| /tools/perf/scripts/python/ |
| A D | powerpc-hcalls.py | 154 if (opcode in hcall_table): 155 return hcall_table[opcode] 157 return opcode 164 for opcode in output: 167 cnt = output[opcode]['cnt'] 174 opcode, retval): argument 178 if (opcode in output): 180 output[opcode]['cnt'] += 1 186 output[opcode] = { 193 del d_enter[cpu][opcode] [all …]
|
| /tools/arch/x86/lib/ |
| A 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()
|
| A D | insn.c | 275 struct insn_field *opcode = &insn->opcode; in insn_get_opcode() local 279 if (opcode->got) in insn_get_opcode() 288 insn_set_byte(opcode, 0, op); in insn_get_opcode() 289 opcode->nbytes = 1; in insn_get_opcode() 335 opcode->bytes[opcode->nbytes++] = op; in insn_get_opcode() 347 opcode->got = 1; in insn_get_opcode() 741 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
|
| /tools/arch/loongarch/include/asm/ |
| A D | inst.h | 56 unsigned int opcode : 17; member 62 unsigned int opcode : 6; member 69 unsigned int opcode : 6; member 75 unsigned int opcode : 22; member 82 unsigned int opcode : 10; member 89 unsigned int opcode : 8; member 96 unsigned int opcode : 6; member 153 insn->reg2i16_format.opcode = OP; \
|
| /tools/testing/selftests/kvm/x86/ |
| A D | nested_emulation_test.c | 16 uint8_t opcode[15]; member 23 .opcode = { 0xf3, 0x90 }, 29 .opcode = { 0xf4 }, 43 for (i = 0; i < ARRAY_SIZE(insn->opcode) && insn->opcode[i]; i++) in get_instruction_length() 93 memcpy(l2_instruction, insn->opcode, insn_len); in guest_code() 94 memset(l2_instruction + insn_len, 0xcc, sizeof(insn->opcode) - insn_len); in guest_code()
|
| /tools/objtool/arch/powerpc/ |
| A D | decode.c | 46 unsigned int opcode; in arch_decode_instruction() local 52 opcode = ins >> 26; in arch_decode_instruction() 56 switch (opcode) { in arch_decode_instruction() 72 if (opcode == 1) in arch_decode_instruction()
|
| /tools/perf/util/ |
| A D | dwarf-regs-powerpc.c | 31 int opcode = PPC_OP(raw_insn); in get_offset_opcode() local 34 if ((opcode == OP_LD) || (opcode == OP_STD)) in get_offset_opcode()
|
| A D | genelf_debug.c | 227 static void emit_extended_opcode(struct buffer_ext *be, ubyte opcode, in emit_extended_opcode() argument 234 buffer_ext_add(be, &opcode, 1); in emit_extended_opcode() 238 static void emit_opcode(struct buffer_ext *be, ubyte opcode) in emit_opcode() argument 240 buffer_ext_add(be, &opcode, 1); in emit_opcode() 244 ubyte opcode, long data) in emit_opcode_signed() argument 246 buffer_ext_add(be, &opcode, 1); in emit_opcode_signed() 250 static void emit_opcode_unsigned(struct buffer_ext *be, ubyte opcode, in emit_opcode_unsigned() argument 253 buffer_ext_add(be, &opcode, 1); in emit_opcode_unsigned() 325 unsigned long opcode = temp + in get_special_opcode() local 329 return opcode <= 255 ? opcode : 0; in get_special_opcode()
|
| /tools/arch/x86/tools/ |
| A D | gen-insn-attr-x86.awk | 294 opcode = $(i++) 313 if (match(opcode, group_expr)) { 314 if (!(opcode in group)) { 315 group[opcode] = ggid 318 flags = add_flags(flags, "INAT_MAKE_GROUP(" group[opcode] ")") 334 if (match(opcode, rex_expr)) 338 if (match(opcode, fpu_expr)) 348 else if (match(ext, vexok_expr) || match(opcode, vexok_opcode_expr)) 353 if (!prefix_num[opcode]) 354 semantic_error("Unknown prefix: " opcode) [all …]
|
| /tools/arch/s390/include/uapi/asm/ |
| A 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/firewire/ |
| A 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/objtool/arch/loongarch/ |
| A D | decode.c | 78 switch (inst.reg0i26_format.opcode) { in decode_insn_reg0i26_fomat() 99 switch (inst.reg1i21_format.opcode) { in decode_insn_reg1i21_fomat() 119 switch (inst.reg2i12_format.opcode) { in decode_insn_reg2i12_fomat() 187 switch (inst.reg2i14_format.opcode) { in decode_insn_reg2i14_fomat() 229 switch (inst.reg2i16_format.opcode) { in decode_insn_reg2i16_fomat() 315 else if (inst.reg0i15_format.opcode == break_op) { in arch_decode_instruction() 318 } else if (inst.reg2_format.opcode == ertn_op) { in arch_decode_instruction()
|
| /tools/perf/arch/powerpc/annotate/ |
| A D | instructions.c | 195 int opcode = PPC_OP(raw_insn); in check_ppc_insn() local 208 if ((opcode & 0x20)) { in check_ppc_insn() 214 sprintf(name_insn, "%d", opcode); in check_ppc_insn() 218 } else if (opcode == 31) { in check_ppc_insn() 236 mem_insns_31_opcode.value = opcode; in check_ppc_insn()
|
| /tools/arch/x86/include/asm/ |
| A D | insn.h | 75 struct insn_field opcode; /* member 252 return insn_offset_opcode(insn) + insn->opcode.nbytes; in insn_offset_modrm() 295 return insn->opcode.bytes[0] == POP_SS_OPCODE || in insn_masking_exception() 296 (insn->opcode.bytes[0] == MOV_SREG_OPCODE && in insn_masking_exception()
|
| A D | inat.h | 103 extern insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode); 105 extern insn_attr_t inat_get_escape_attribute(insn_byte_t opcode, 111 extern insn_attr_t inat_get_avx_attribute(insn_byte_t opcode,
|
| /tools/testing/cxl/test/ |
| A D | mem.c | 52 .opcode = cpu_to_le16(CXL_MBOX_OP_GET_FEATURE), 56 .opcode = cpu_to_le16(CXL_MBOX_OP_SET_FEATURE), 60 .opcode = cpu_to_le16(CXL_MBOX_OP_IDENTIFY), 64 .opcode = cpu_to_le16(CXL_MBOX_OP_GET_LSA), 72 .opcode = cpu_to_le16(CXL_MBOX_OP_SET_LSA), 85 .opcode = cpu_to_le16(CXL_MBOX_OP_GET_POISON), 97 .opcode = cpu_to_le16(CXL_MBOX_OP_GET_FW_INFO), 101 .opcode = cpu_to_le16(CXL_MBOX_OP_TRANSFER_FW), 106 .opcode = cpu_to_le16(CXL_MBOX_OP_ACTIVATE_FW), 111 .opcode = cpu_to_le16(CXL_MBOX_OP_SANITIZE), [all …]
|
| /tools/objtool/arch/x86/ |
| A D | Build | 6 inat_tables_maps = ../arch/x86/lib/x86-opcode-map.txt
|
| /tools/testing/selftests/bpf/progs/ |
| A D | test_tcp_custom_syncookie.c | 222 __u8 *opcode, *opsize, *wscale; in tcp_parse_option() local 228 opcode = next(ctx, 1); in tcp_parse_option() 229 if (!opcode) in tcp_parse_option() 232 if (*opcode == TCPOPT_EOL) in tcp_parse_option() 235 if (*opcode == TCPOPT_NOP) in tcp_parse_option() 245 switch (*opcode) { in tcp_parse_option()
|
| A D | xdp_synproxy_kern.c | 219 __u8 *opcode, *opsize, *wscale, *tsecr; in tscookie_tcpopt_parse() local 222 opcode = next(ctx, 1); in tscookie_tcpopt_parse() 223 if (!opcode) in tscookie_tcpopt_parse() 226 if (*opcode == TCPOPT_EOL) in tscookie_tcpopt_parse() 228 if (*opcode == TCPOPT_NOP) in tscookie_tcpopt_parse() 235 switch (*opcode) { in tscookie_tcpopt_parse()
|
| /tools/include/uapi/linux/ |
| A D | io_uring.h | 31 __u8 opcode; /* type of operation for this sqe */ member 631 __u16 opcode; member 721 __u8 opcode; member
|
| /tools/include/io_uring/ |
| A D | mini_liburing.h | 237 sqe->opcode = (__u8)IORING_OP_URING_CMD; in io_uring_prep_cmd() 262 sqe->opcode = (__u8)IORING_OP_SEND; in io_uring_prep_send() 274 sqe->opcode = (__u8)IORING_OP_SEND_ZC; in io_uring_prep_sendzc()
|
| /tools/bpf/bpftool/ |
| A 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/perf/util/intel-pt-decoder/ |
| A D | intel-pt-insn-decoder.c | 42 switch (insn->opcode.bytes[0]) { in intel_pt_insn_decoder() 44 switch (insn->opcode.bytes[1]) { in intel_pt_insn_decoder()
|
| A D | Build | 4 inat_tables_maps = $(srctree)/tools/arch/x86/lib/x86-opcode-map.txt
|
| /tools/testing/selftests/kvm/riscv/ |
| A D | sbi_pmu_test.c | 133 int opcode, csr_num, funct3; in guest_illegal_exception_handler() local 139 opcode = (insn & INSN_OPCODE_MASK) >> INSN_OPCODE_SHIFT; in guest_illegal_exception_handler() 140 __GUEST_ASSERT(opcode == INSN_OPCODE_SYSTEM, in guest_illegal_exception_handler() 141 "Unexpected instruction with opcode 0x%x insn 0x%lx\n", opcode, insn); in guest_illegal_exception_handler()
|