/openbsd-src/gnu/llvm/lldb/source/Plugins/Instruction/RISCV/ |
H A D | RISCVCInstructions.h | 30 constexpr RxC DecodeCR_RD(uint32_t inst) { return RxC{DecodeRD(inst), false}; } in DecodeCR_RD() 31 constexpr RxC DecodeCI_RD(uint32_t inst) { return RxC{DecodeRD(inst), false}; } in DecodeCI_RD() 32 constexpr RxC DecodeCR_RS1(uint32_t inst) { return RxC{DecodeRD(inst), false}; } in DecodeCR_RS1() 33 constexpr RxC DecodeCI_RS1(uint32_t inst) { return RxC{DecodeRD(inst), false}; } in DecodeCI_RS1() 34 constexpr RxC DecodeCR_RS2(uint32_t inst) { in DecodeCR_RS2() 38 constexpr RxC DecodeCIW_RD(uint32_t inst) { return RxC{(inst & 0x1C) >> 2}; } in DecodeCIW_RD() 39 constexpr RxC DecodeCL_RD(uint32_t inst) { return RxC{DecodeCIW_RD(inst)}; } in DecodeCL_RD() 40 constexpr RxC DecodeCA_RD(uint32_t inst) { return RxC{(inst & 0x380) >> 7}; } in DecodeCA_RD() 41 constexpr RxC DecodeCB_RD(uint32_t inst) { return RxC{DecodeCA_RD(inst)}; } in DecodeCB_RD() 43 constexpr RxC DecodeCL_RS1(uint32_t inst) { return RxC{DecodeCA_RD(inst)}; } in DecodeCL_RS1() [all …]
|
H A D | EmulateInstructionRISCV.cpp | 70 constexpr uint32_t DecodeJImm(uint32_t inst) { in DecodeJImm() 77 constexpr uint32_t DecodeIImm(uint32_t inst) { in DecodeIImm() 81 constexpr uint32_t DecodeBImm(uint32_t inst) { in DecodeBImm() 88 constexpr uint32_t DecodeSImm(uint32_t inst) { in DecodeSImm() 93 constexpr uint32_t DecodeUImm(uint32_t inst) { in DecodeUImm() 220 LoadStoreAddr(EmulateInstructionRISCV &emulator, I inst) { in LoadStoreAddr() 229 Load(EmulateInstructionRISCV &emulator, I inst, uint64_t (*extend)(E)) { in Load() 241 Store(EmulateInstructionRISCV &emulator, I inst) { in Store() 255 AtomicAddr(EmulateInstructionRISCV &emulator, I inst, unsigned int align) { in AtomicAddr() 267 AtomicSwap(EmulateInstructionRISCV &emulator, I inst, int align, in AtomicSwap() [all …]
|
H A D | RISCVInstructions.h | 310 uint32_t inst; member 315 constexpr uint32_t DecodeRD(uint32_t inst) { return (inst & 0xF80) >> 7; } in DecodeRD() 316 constexpr uint32_t DecodeRS1(uint32_t inst) { return (inst & 0xF8000) >> 15; } in DecodeRS1() 317 constexpr uint32_t DecodeRS2(uint32_t inst) { return (inst & 0x1F00000) >> 20; } in DecodeRS2() 318 constexpr uint32_t DecodeRS3(uint32_t inst) { in DecodeRS3() 321 constexpr uint32_t DecodeFunct3(uint32_t inst) { return (inst & 0x7000) >> 12; } in DecodeFunct3() 322 constexpr uint32_t DecodeFunct2(uint32_t inst) { in DecodeFunct2() 325 constexpr uint32_t DecodeFunct7(uint32_t inst) { in DecodeFunct7() 329 constexpr int32_t DecodeRM(uint32_t inst) { return DecodeFunct3(inst); } in DecodeRM()
|
/openbsd-src/gnu/llvm/lldb/source/Plugins/Instruction/LoongArch/ |
H A D | EmulateInstructionLoongArch.cpp | 36 EmulateInstructionLoongArch::GetOpcodeForInstruction(uint32_t inst) { in GetOpcodeForInstruction() 75 bool EmulateInstructionLoongArch::TestExecute(uint32_t inst) { in TestExecute() 87 uint32_t inst = m_opcode.GetOpcode32(); in EvaluateInstruction() local 128 uint32_t inst = (uint32_t)ReadMemoryUnsigned(ctx, m_addr, 4, 0, &success); in ReadInstruction() local 216 bool EmulateInstructionLoongArch::EmulateBEQZ(uint32_t inst) { in EmulateBEQZ() 220 bool EmulateInstructionLoongArch::EmulateBNEZ(uint32_t inst) { in EmulateBNEZ() 224 bool EmulateInstructionLoongArch::EmulateBCEQZ(uint32_t inst) { in EmulateBCEQZ() 228 bool EmulateInstructionLoongArch::EmulateBCNEZ(uint32_t inst) { in EmulateBCNEZ() 232 bool EmulateInstructionLoongArch::EmulateJIRL(uint32_t inst) { in EmulateJIRL() 236 bool EmulateInstructionLoongArch::EmulateB(uint32_t inst) { in EmulateB() [all …]
|
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/ |
H A D | soc15_common.h | 28 #define GET_INST(ip, inst) \ argument 36 #define SOC15_REG_OFFSET(ip, inst, reg) (adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg) argument 37 #define SOC15_REG_OFFSET1(ip, inst, reg, offset) \ argument 40 #define __WREG32_SOC15_RLC__(reg, value, flag, hwip, inst) \ argument 45 #define __RREG32_SOC15_RLC__(reg, flag, hwip, inst) \ argument 66 #define RREG32_SOC15(ip, inst, reg) \ argument 74 #define RREG32_SOC15_NO_KIQ(ip, inst, reg) \ argument 78 #define RREG32_SOC15_OFFSET(ip, inst, reg, offset) \ argument 82 #define WREG32_SOC15(ip, inst, reg, value) \ argument 92 #define WREG32_SOC15_NO_KIQ(ip, inst, reg, value) \ argument [all …]
|
H A D | amdgpu_amdkfd_gfx_v9.c | 51 uint32_t queue, uint32_t vmid, uint32_t inst) in kgd_gfx_v9_lock_srbm() 57 static void kgd_gfx_v9_unlock_srbm(struct amdgpu_device *adev, uint32_t inst) in kgd_gfx_v9_unlock_srbm() 64 uint32_t queue_id, uint32_t inst) in kgd_gfx_v9_acquire_queue() 81 void kgd_gfx_v9_release_queue(struct amdgpu_device *adev, uint32_t inst) in kgd_gfx_v9_release_queue() 90 uint32_t sh_mem_bases, uint32_t inst) in kgd_gfx_v9_program_sh_mem_settings() 102 unsigned int vmid, uint32_t inst) in kgd_gfx_v9_set_pasid_vmid_mapping() 161 uint32_t inst) in kgd_gfx_v9_init_interrupts() 226 uint32_t inst) in kgd_gfx_v9_hqd_load() 305 uint32_t doorbell_off, uint32_t inst) in kgd_gfx_v9_hiq_mqd_load() 357 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in kgd_gfx_v9_hqd_dump() [all …]
|
H A D | amdgpu_amdkfd_gfx_v10_3.c | 84 uint32_t sh_mem_bases, uint32_t inst) in program_sh_mem_settings_v10_3() 97 unsigned int vmid, uint32_t inst) in set_pasid_vmid_mapping_v10_3() 110 uint32_t inst) in init_interrupts_v10_3() 182 uint32_t wptr_mask, struct mm_struct *mm, uint32_t inst) in hqd_load_v10_3() 278 uint32_t doorbell_off, uint32_t inst) in hiq_mqd_load_v10_3() 330 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in hqd_dump_v10_3() 461 uint32_t queue_id, uint32_t inst) in hqd_is_occupied_v10_3() 503 uint32_t queue_id, uint32_t inst) in hqd_destroy_v10_3() 591 uint32_t sq_cmd, uint32_t inst) in wave_control_execute_v10_3() 634 uint32_t inst) in program_trap_handler_settings_v10_3()
|
H A D | amdgpu_amdkfd_gfx_v10.c | 84 uint32_t sh_mem_bases, uint32_t inst) in kgd_program_sh_mem_settings() 96 unsigned int vmid, uint32_t inst) in kgd_set_pasid_vmid_mapping() 141 uint32_t inst) in kgd_init_interrupts() 211 uint32_t wptr_mask, struct mm_struct *mm, uint32_t inst) in kgd_hqd_load() 292 uint32_t doorbell_off, uint32_t inst) in kgd_hiq_mqd_load() 344 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in kgd_hqd_dump() 475 uint32_t queue_id, uint32_t inst) in kgd_hqd_is_occupied() 516 uint32_t queue_id, uint32_t inst) in kgd_hqd_destroy() 679 uint32_t sq_cmd, uint32_t inst) in kgd_wave_control_execute() 890 uint32_t inst) in kgd_gfx_v10_set_address_watch() [all …]
|
H A D | soc15.h | 54 uint32_t inst; member 61 uint32_t inst; member 71 uint32_t inst; member 80 uint32_t inst; member 89 #define SOC15_REG_ENTRY(ip, inst, reg) ip##_HWIP, inst, reg##_BASE_IDX, reg argument 93 #define SOC15_REG_GOLDEN_VALUE(ip, inst, reg, and_mask, or_mask) \ argument
|
H A D | amdgpu_amdkfd_gfx_v7.c | 81 uint32_t sh_mem_bases, uint32_t inst) in kgd_program_sh_mem_settings() 94 unsigned int vmid, uint32_t inst) in kgd_set_pasid_vmid_mapping() 118 uint32_t inst) in kgd_init_interrupts() 162 uint32_t wptr_mask, struct mm_struct *mm, uint32_t inst) in kgd_hqd_load() 206 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in kgd_hqd_dump() 322 uint32_t queue_id, uint32_t inst) in kgd_hqd_is_occupied() 362 uint32_t queue_id, uint32_t inst) in kgd_hqd_destroy() 498 uint32_t sq_cmd, uint32_t inst) in kgd_wave_control_execute()
|
H A D | amdgpu_amdkfd_gfx_v8.c | 75 uint32_t sh_mem_bases, uint32_t inst) in kgd_program_sh_mem_settings() 88 unsigned int vmid, uint32_t inst) in kgd_set_pasid_vmid_mapping() 113 uint32_t inst) in kgd_init_interrupts() 157 uint32_t wptr_mask, struct mm_struct *mm, uint32_t inst) in kgd_hqd_load() 230 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in kgd_hqd_dump() 354 uint32_t queue_id, uint32_t inst) in kgd_hqd_is_occupied() 394 uint32_t queue_id, uint32_t inst) in kgd_hqd_destroy() 544 uint32_t sq_cmd, uint32_t inst) in kgd_wave_control_execute()
|
H A D | amdgpu_amdkfd_gfx_v11.c | 82 uint32_t sh_mem_bases, uint32_t inst) in program_sh_mem_settings_v11() 93 unsigned int vmid, uint32_t inst) in set_pasid_vmid_mapping_v11() 106 uint32_t inst) in init_interrupts_v11() 167 struct mm_struct *mm, uint32_t inst) in hqd_load_v11() 263 uint32_t doorbell_off, uint32_t inst) in hiq_mqd_load_v11() 315 uint32_t (**dump)[2], uint32_t *n_regs, uint32_t inst) in hqd_dump_v11() 450 uint32_t pipe_id, uint32_t queue_id, uint32_t inst) in hqd_is_occupied_v11() 491 uint32_t queue_id, uint32_t inst) in hqd_destroy_v11() 576 uint32_t sq_cmd, uint32_t inst) in wave_control_execute_v11() 747 uint32_t inst) in kgd_gfx_v11_set_address_watch()
|
/openbsd-src/gnu/llvm/lldb/include/lldb/Core/ |
H A D | Opcode.h | 43 Opcode(uint8_t inst, lldb::ByteOrder order) in Opcode() 48 Opcode(uint16_t inst, lldb::ByteOrder order) in Opcode() 53 Opcode(uint32_t inst, lldb::ByteOrder order) in Opcode() 58 Opcode(uint64_t inst, lldb::ByteOrder order) in Opcode() 153 void SetOpcode8(uint8_t inst, lldb::ByteOrder order) { in SetOpcode8() 159 void SetOpcode16(uint16_t inst, lldb::ByteOrder order) { in SetOpcode16() 165 void SetOpcode16_2(uint32_t inst, lldb::ByteOrder order) { in SetOpcode16_2() 171 void SetOpcode32(uint32_t inst, lldb::ByteOrder order) { in SetOpcode32() 177 void SetOpcode64(uint64_t inst, lldb::ByteOrder order) { in SetOpcode64() 267 } inst; member
|
/openbsd-src/gnu/usr.bin/binutils/gdb/ |
H A D | cris-tdep.c | 1855 quick_mode_bdap_prefix (unsigned short inst, inst_env_type *inst_env) in quick_mode_bdap_prefix() 1879 process_autoincrement (int size, unsigned short inst, inst_env_type *inst_env) in process_autoincrement() 1916 bdap_prefix (unsigned short inst, inst_env_type *inst_env) in bdap_prefix() 1952 biap_prefix (unsigned short inst, inst_env_type *inst_env) in biap_prefix() 1987 dip_prefix (unsigned short inst, inst_env_type *inst_env) in dip_prefix() 2020 eight_bit_offset_branch_op (unsigned short inst, inst_env_type *inst_env) in eight_bit_offset_branch_op() 2057 sixteen_bit_offset_branch_op (unsigned short inst, inst_env_type *inst_env) in sixteen_bit_offset_branch_op() 2088 abs_op (unsigned short inst, inst_env_type *inst_env) in abs_op() 2130 addi_op (unsigned short inst, inst_env_type *inst_env) in addi_op() 2149 asr_op (unsigned short inst, inst_env_type *inst_env) in asr_op() [all …]
|
/openbsd-src/sys/arch/m88k/m88k/ |
H A D | db_disasm.c | 323 oimmed(int cpu, u_int32_t inst, const char *opcode, vaddr_t iadr) in oimmed() 348 ctrlregs(int cpu, u_int32_t inst, const char *opcode, vaddr_t iadr) in ctrlregs() 382 sindou(int cpu, u_int32_t inst, const char *opcode, vaddr_t iadr) in sindou() 467 jump(int cpu, u_int32_t inst, const char *opcode, vaddr_t iadr) in jump() 483 instset(int cpu, u_int32_t inst, const char *opcode, vaddr_t iadr) in instset() 515 obranch(int cpu, u_int32_t inst, const char *opcode, vaddr_t iadr) in obranch() 532 brcond(int cpu, u_int32_t inst, const char *opcode, vaddr_t iadr) in brcond() 563 otrap(int cpu, u_int32_t inst, const char *opcode, vaddr_t iadr) in otrap() 586 obit(int cpu, u_int32_t inst, const char *opcode, vaddr_t iadr) in obit() 603 bitman(int cpu, u_int32_t inst, const char *opcode, vaddr_t iadr) in bitman() [all …]
|
/openbsd-src/gnu/usr.bin/binutils/opcodes/ |
H A D | mcore-opc.h | 32 typedef struct inst struct 37 unsigned short inst; argument
|
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/ |
H A D | mcore-opc.h | 32 typedef struct inst struct 37 unsigned short inst; member
|
/openbsd-src/gnu/llvm/lld/ELF/Arch/ |
H A D | X86.cpp | 215 const uint8_t inst[] = { in writePlt() local 223 const uint8_t inst[] = { in writePlt() local 356 const uint8_t inst[] = { in relaxTlsGdToLe() local 390 const uint8_t inst[] = { in relaxTlsGdToIe() local 464 const uint8_t inst[] = { in relaxTlsLdToLe() local 477 const uint8_t inst[] = { in relaxTlsLdToLe() local 542 const uint8_t inst[] = { in writePlt() local 552 const uint8_t inst[] = { in writePlt() local 565 const uint8_t inst[] = { in writeIBTPlt() local
|
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource.h | 691 #define MCIF_WB_COMMON_REG_LIST_DCN32_RI(inst) \ argument 801 #define MPC_DWB_MUX_REG_LIST_DCN3_0_RI(inst) \ argument 804 #define MPC_OUT_MUX_COMMON_REG_LIST_DCN1_0_RI(inst) \ argument 809 #define MPC_OUT_MUX_REG_LIST_DCN3_0_RI(inst) \ argument 819 #define MPC_COMMON_REG_LIST_DCN1_0_RI(inst) \ argument 829 #define MPC_REG_LIST_DCN3_0_RI(inst) \ argument 887 #define MPC_REG_LIST_DCN3_2_RI(inst) \ argument 1032 #define OPTC_COMMON_REG_LIST_DCN3_2_RI(inst) \ argument
|
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn30/ |
H A D | dcn30_optc.h | 31 #define V_TOTAL_REGS_DCN30_SRI(inst) argument 33 #define OPTC_COMMON_REG_LIST_DCN3_BASE(inst) \ argument 97 #define OPTC_COMMON_REG_LIST_DCN3_0(inst) \ argument
|
H A D | dcn30_mpc.h | 45 #define MPC_REG_LIST_DCN3_0(inst)\ argument 102 #define MPC_OUT_MUX_REG_LIST_DCN3_0(inst) \ argument 118 #define MPC_RMU_REG_LIST_DCN3AG(inst) \ argument 185 #define MPC_DWB_MUX_REG_LIST_DCN3_0(inst) \ argument
|
/openbsd-src/gnu/llvm/lldb/include/lldb/Utility/ |
H A D | RegisterValue.h | 48 explicit RegisterValue(uint8_t inst) : m_type(eTypeUInt8) { m_scalar = inst; } in RegisterValue() 50 explicit RegisterValue(uint16_t inst) : m_type(eTypeUInt16) { in RegisterValue() 54 explicit RegisterValue(uint32_t inst) : m_type(eTypeUInt32) { in RegisterValue() 58 explicit RegisterValue(uint64_t inst) : m_type(eTypeUInt64) { in RegisterValue() 62 explicit RegisterValue(llvm::APInt inst) : m_type(eTypeUInt128) { in RegisterValue()
|
/openbsd-src/sys/arch/alpha/alpha/ |
H A D | fp_complete.c | 146 alpha_instruction inst; in this_cannot_happen() local 237 alpha_instruction inst; in cvt_qs_ts_st_gf_qf() local 274 alpha_instruction inst; in cvt_gd() local 288 alpha_instruction inst; in cvt_qt_dg_qg() local 325 alpha_instruction inst; in cvt_tq_gq() local 504 alpha_instruction inst; in alpha_fp_interpret() local 571 alpha_instruction inst; in alpha_fp_complete_at() local 619 alpha_instruction inst; in alpha_fp_complete() local
|
/openbsd-src/sys/arch/i386/i386/ |
H A D | db_disasm.c | 99 struct inst { struct 111 struct finst { argument 124 struct inst db_Grp7[] = { argument 998 db_disasm_esc(vaddr_t loc, int inst, int short_addr, int size, char *seg) in db_disasm_esc() 1091 int inst; in db_disasm() local
|
/openbsd-src/gnu/gcc/gcc/config/mips/ |
H A D | sync.S | 67 #define SYNC_FETCH_AND_OP(op, n, ll, sc, inst, neg) \ argument 95 #define SYNC_FETCH_AND_OP_EMUL(op, n, inst, neg, amask, vmask) \ argument 134 #define SYNC_OP_AND_FETCH(op, n, ll, sc, inst, neg) \ argument 163 #define SYNC_OP_AND_FETCH_EMUL(op, n, inst, neg, amask, vmask) \ argument
|