/freebsd/contrib/opencsd/decoder/source/i_dec/ |
H A D | trc_idec_arminst.cpp | 45 int inst_ARM_is_direct_branch(uint32_t inst) in inst_ARM_is_direct_branch() argument 48 if ((inst & 0xf0000000) == 0xf0000000) { in inst_ARM_is_direct_branch() 50 if ((inst & 0xfe000000) == 0xfa000000){ in inst_ARM_is_direct_branch() 55 } else if ((inst & 0x0e000000) == 0x0a000000) { in inst_ARM_is_direct_branch() 63 int inst_ARM_wfiwfe(uint32_t inst) in inst_ARM_wfiwfe() argument 65 if ( ((inst & 0xf0000000) != 0xf0000000) && in inst_ARM_wfiwfe() 66 ((inst & 0x0ffffffe) == 0x0320f002) in inst_ARM_wfiwfe() 73 int inst_ARM_is_indirect_branch(uint32_t inst, struct decode_info *info) in inst_ARM_is_indirect_branch() argument 76 if ((inst & 0xf0000000) == 0xf0000000) { in inst_ARM_is_indirect_branch() 78 if ((inst & 0xfe500000) == 0xf8100000) { in inst_ARM_is_indirect_branch() [all …]
|
/freebsd/contrib/llvm-project/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() argument 31 constexpr RxC DecodeCI_RD(uint32_t inst) { return RxC{DecodeRD(inst), false}; } in DecodeCI_RD() argument 32 constexpr RxC DecodeCR_RS1(uint32_t inst) { return RxC{DecodeRD(inst), false}; } in DecodeCR_RS1() argument 33 constexpr RxC DecodeCI_RS1(uint32_t inst) { return RxC{DecodeRD(inst), false}; } in DecodeCI_RS1() argument 34 constexpr RxC DecodeCR_RS2(uint32_t inst) { in DecodeCR_RS2() argument 35 return RxC{(inst & 0x7C) >> 2, false}; in DecodeCR_RS2() 38 constexpr RxC DecodeCIW_RD(uint32_t inst) { return RxC{(inst & 0x1C) >> 2}; } in DecodeCIW_RD() argument 39 constexpr RxC DecodeCL_RD(uint32_t inst) { return RxC{DecodeCIW_RD(inst)}; } in DecodeCL_RD() argument 40 constexpr RxC DecodeCA_RD(uint32_t inst) { return RxC{(inst & 0x380) >> 7}; } in DecodeCA_RD() argument 41 constexpr RxC DecodeCB_RD(uint32_t inst) { return RxC{DecodeCA_RD(inst)}; } in DecodeCB_RD() argument [all …]
|
H A D | EmulateInstructionRISCV.cpp | 70 constexpr uint32_t DecodeJImm(uint32_t inst) { in DecodeJImm() argument 71 return (uint64_t(int64_t(int32_t(inst & 0x80000000)) >> 11)) // imm[20] in DecodeJImm() 72 | (inst & 0xff000) // imm[19:12] in DecodeJImm() 73 | ((inst >> 9) & 0x800) // imm[11] in DecodeJImm() 74 | ((inst >> 20) & 0x7fe); // imm[10:1] in DecodeJImm() 77 constexpr uint32_t DecodeIImm(uint32_t inst) { in DecodeIImm() argument 78 return int64_t(int32_t(inst)) >> 20; // imm[11:0] in DecodeIImm() 81 constexpr uint32_t DecodeBImm(uint32_t inst) { in DecodeBImm() argument 82 return (uint64_t(int64_t(int32_t(inst & 0x80000000)) >> 19)) // imm[12] in DecodeBImm() 83 | ((inst & 0x80) << 4) // imm[11] in DecodeBImm() [all …]
|
H A D | RISCVInstructions.h | 97 uint32_t inst; \ 303 RISCVInst (*decode)(uint32_t inst); 310 uint32_t inst; member 315 constexpr uint32_t DecodeRD(uint32_t inst) { return (inst & 0xF80) >> 7; } in DecodeRD() argument 316 constexpr uint32_t DecodeRS1(uint32_t inst) { return (inst & 0xF8000) >> 15; } in DecodeRS1() argument 317 constexpr uint32_t DecodeRS2(uint32_t inst) { return (inst & 0x1F00000) >> 20; } in DecodeRS2() argument 318 constexpr uint32_t DecodeRS3(uint32_t inst) { in DecodeRS3() argument 319 return (inst & 0xF0000000) >> 27; in DecodeRS3() 321 constexpr uint32_t DecodeFunct3(uint32_t inst) { return (inst & 0x7000) >> 12; } in DecodeFunct3() argument 322 constexpr uint32_t DecodeFunct2(uint32_t inst) { in DecodeFunct2() argument [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/LoongArch/ |
H A D | EmulateInstructionLoongArch.cpp | 36 EmulateInstructionLoongArch::GetOpcodeForInstruction(uint32_t inst) { in GetOpcodeForInstruction() argument 70 if ((g_opcodes[i].mask & inst) == g_opcodes[i].value) in GetOpcodeForInstruction() 75 bool EmulateInstructionLoongArch::TestExecute(uint32_t inst) { in TestExecute() argument 76 Opcode *opcode_data = GetOpcodeForInstruction(inst); in TestExecute() 80 if (!(this->*opcode_data->callback)(inst)) in TestExecute() 87 uint32_t inst = m_opcode.GetOpcode32(); in EvaluateInstruction() local 91 Opcode *opcode_data = GetOpcodeForInstruction(inst); in EvaluateInstruction() 103 if (!(this->*opcode_data->callback)(inst)) in EvaluateInstruction() 128 uint32_t inst = (uint32_t)ReadMemoryUnsigned(ctx, m_addr, 4, 0, &success); in ReadInstruction() local 129 m_opcode.SetOpcode32(inst, GetByteOrder()); in ReadInstruction() [all …]
|
H A D | EmulateInstructionLoongArch.h | 63 bool TestExecute(uint32_t inst); 74 Opcode *GetOpcodeForInstruction(uint32_t inst); 76 bool EmulateBEQZ(uint32_t inst); 77 bool EmulateBNEZ(uint32_t inst); 78 bool EmulateBCEQZ(uint32_t inst); 79 bool EmulateBCNEZ(uint32_t inst); 80 bool EmulateJIRL(uint32_t inst); 81 bool EmulateB(uint32_t inst); 82 bool EmulateBL(uint32_t inst); 83 bool EmulateBEQ(uint32_t inst); [all …]
|
/freebsd/contrib/opencsd/decoder/include/i_dec/ |
H A D | trc_idec_arminst.h | 72 int inst_ARM_is_branch(uint32_t inst, struct decode_info *info); 73 int inst_Thumb_is_branch(uint32_t inst, struct decode_info *info); 74 int inst_A64_is_branch(uint32_t inst, struct decode_info *info); 80 int inst_ARM_is_direct_branch(uint32_t inst); 81 int inst_Thumb_is_direct_branch(uint32_t inst, struct decode_info *info); 82 int inst_Thumb_is_direct_branch_link(uint32_t inst, uint8_t *is_link, uint8_t *is_cond, struct deco… 83 int inst_A64_is_direct_branch(uint32_t inst, struct decode_info *info); 84 int inst_A64_is_direct_branch_link(uint32_t inst, uint8_t *is_link, struct decode_info *info); 89 int inst_ARM_branch_destination(uint32_t addr, uint32_t inst, uint32_t *pnpc); 90 int inst_Thumb_branch_destination(uint32_t addr, uint32_t inst, uint32_t *pnpc); [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | Opcode.h | 43 Opcode(uint8_t inst, lldb::ByteOrder order) in Opcode() argument 45 m_data.inst8 = inst; in Opcode() 48 Opcode(uint16_t inst, lldb::ByteOrder order) in Opcode() argument 50 m_data.inst16 = inst; in Opcode() 53 Opcode(uint32_t inst, lldb::ByteOrder order) in Opcode() argument 55 m_data.inst32 = inst; in Opcode() 58 Opcode(uint64_t inst, lldb::ByteOrder order) in Opcode() argument 60 m_data.inst64 = inst; in Opcode() 159 void SetOpcode8(uint8_t inst, lldb::ByteOrder order) { in SetOpcode8() argument 161 m_data.inst8 = inst; in SetOpcode8() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCWin64EH.cpp | 63 WinEH::Instruction &inst) { in EmitUnwindCode() argument 66 b2 = (inst.Operation & 0x0F); in EmitUnwindCode() 67 switch (static_cast<Win64EH::UnwindOpcodes>(inst.Operation)) { in EmitUnwindCode() 71 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode() 72 b2 |= (inst.Register & 0x0F) << 4; in EmitUnwindCode() 76 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode() 77 if (inst.Offset > 512 * 1024 - 8) { in EmitUnwindCode() 80 w = inst.Offset & 0xFFF8; in EmitUnwindCode() 82 w = inst.Offset >> 16; in EmitUnwindCode() 85 w = inst in EmitUnwindCode() 209 WinEH::Instruction inst = info->Instructions.back(); EmitUnwindInfo() local 442 ARM64EmitUnwindCode(MCStreamer & streamer,const WinEH::Instruction & inst) ARM64EmitUnwindCode() argument 1326 for (const WinEH::Instruction &inst : EpilogInstrs) ARM64EmitUnwindInfoForSegment() local 1577 isARMTerminator(const WinEH::Instruction & inst) isARMTerminator() argument 1591 ARMEmitUnwindCode(MCStreamer & streamer,const WinEH::Instruction & inst) ARMEmitUnwindCode() argument 2475 WinEH::Instruction inst = info->Instructions.back(); ARMEmitUnwindInfo() local 2483 for (const WinEH::Instruction &inst : EpilogInstrs) ARMEmitUnwindInfo() local [all...] |
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_cfg_bundle.c | 42 struct adf_cfg_instance *inst, in adf_cfg_get_free_instance() argument 48 if (adf_cfg_can_be_shared(bundle, process_name, inst->polling_mode)) { in adf_cfg_get_free_instance() 56 inst->stype == device->instances[i]->stype) { in adf_cfg_get_free_instance() 75 struct adf_cfg_instance *inst, in adf_cfg_get_ring_pairs_from_bundle() argument 79 if (inst->polling_mode == ADF_CFG_RESP_POLL && in adf_cfg_get_ring_pairs_from_bundle() 86 if (inst->stype != bundle_inst->stype) { in adf_cfg_get_ring_pairs_from_bundle() 94 inst->polling_mode != ADF_CFG_RESP_EPOLL && in adf_cfg_get_ring_pairs_from_bundle() 95 inst->polling_mode != ADF_CFG_RESP_POLL) { in adf_cfg_get_ring_pairs_from_bundle() 96 pr_err("User instance %s needs to be configured", inst->name); in adf_cfg_get_ring_pairs_from_bundle() 108 bundle->polling_mode = inst->polling_mode; in adf_cfg_get_ring_pairs_from_bundle() [all …]
|
/freebsd/contrib/bc/src/ |
H A D | dc_parse.c | 76 * @param inst The instruction to push for the memory operation. 82 dc_parse_mem(BcParse* p, uchar inst, bool name, bool store) in dc_parse_mem() argument 85 bc_parse_push(p, inst); in dc_parse_mem() 88 if (name) dc_parse_register(p, inst != BC_INST_ARRAY_ELEM); in dc_parse_mem() 104 * @param inst The instruction for the condition. 107 dc_parse_cond(BcParse* p, uchar inst) in dc_parse_cond() argument 110 bc_parse_push(p, inst); in dc_parse_cond() 137 uchar inst; in dc_parse_token() local 149 inst = (uchar) (t - BC_LEX_OP_REL_EQ + BC_INST_REL_EQ); in dc_parse_token() 150 dc_parse_cond(p, inst); in dc_parse_token() 378 BcInst inst; dc_parse_expr() local [all...] |
H A D | program.c | 684 bc_program_op(BcProgram* p, uchar inst) in bc_program_op() argument 691 size_t idx = inst - BC_INST_POWER; in bc_program_op() 952 bc_program_print(BcProgram* p, uchar inst, size_t idx) in bc_program_print() argument 957 bool pop = (inst != BC_INST_PRINT); in bc_program_print() 994 assert(inst != BC_INST_PRINT_STR); in bc_program_print() 1012 if (inst == BC_INST_PRINT_STR) bc_program_printChars(str); in bc_program_print() 1019 if (inst == BC_INST_PRINT) bc_vm_putchar('\n', bc_flush_err); in bc_program_print() 1055 bc_program_unary(BcProgram* p, uchar inst) in bc_program_unary() argument 1072 bc_program_unarys[inst - BC_INST_NEG](res, num); in bc_program_unary() 1082 bc_program_logical(BcProgram* p, uchar inst) in bc_program_logical() argument [all …]
|
/freebsd/sys/crypto/openssl/aarch64/ |
H A D | keccak1600-armv8.S | 585 .inst 0xce0f2a99 //eor3 v25.16b,v20.16b,v15.16b,v10.16b 586 .inst 0xce102eba //eor3 v26.16b,v21.16b,v16.16b,v11.16b 587 .inst 0xce1132db //eor3 v27.16b,v22.16b,v17.16b,v12.16b 588 .inst 0xce1236fc //eor3 v28.16b,v23.16b,v18.16b,v13.16b 589 .inst 0xce133b1d //eor3 v29.16b,v24.16b,v19.16b,v14.16b 590 .inst 0xce050339 //eor3 v25.16b,v25.16b, v5.16b,v0.16b 591 .inst 0xce06075a //eor3 v26.16b,v26.16b, v6.16b,v1.16b 592 .inst 0xce070b7b //eor3 v27.16b,v27.16b, v7.16b,v2.16b 593 .inst 0xce080f9c //eor3 v28.16b,v28.16b, v8.16b,v3.16b 594 .inst 0xce0913bd //eor3 v29.16b,v29.16b, v9.16b,v4.16b [all …]
|
H A D | sha512-armv8.S | 1131 .inst 0xcec08230 //sha512su0 v16.16b,v17.16b 1133 .inst 0xce6680a3 //sha512h v3.16b,v5.16b,v6.16b 1134 .inst 0xce678af0 //sha512su1 v16.16b,v23.16b,v7.16b 1136 .inst 0xce608423 //sha512h2 v3.16b,v1.16b,v0.16b 1143 .inst 0xcec08251 //sha512su0 v17.16b,v18.16b 1145 .inst 0xce6680a2 //sha512h v2.16b,v5.16b,v6.16b 1146 .inst 0xce678a11 //sha512su1 v17.16b,v16.16b,v7.16b 1148 .inst 0xce638402 //sha512h2 v2.16b,v0.16b,v3.16b 1155 .inst 0xcec08272 //sha512su0 v18.16b,v19.16b 1157 .inst 0xce6680a4 //sha512h v4.16b,v5.16b,v6.16b [all …]
|
H A D | sha1-armv8.S | 1103 .inst 0x5e280803 //sha1h v3.16b,v0.16b 1104 .inst 0x5e140020 //sha1c v0.16b,v1.16b,v20.4s // 0 1106 .inst 0x5e0630a4 //sha1su0 v4.16b,v5.16b,v6.16b 1107 .inst 0x5e280802 //sha1h v2.16b,v0.16b // 1 1108 .inst 0x5e150060 //sha1c v0.16b,v3.16b,v21.4s 1110 .inst 0x5e2818e4 //sha1su1 v4.16b,v7.16b 1111 .inst 0x5e0730c5 //sha1su0 v5.16b,v6.16b,v7.16b 1112 .inst 0x5e280803 //sha1h v3.16b,v0.16b // 2 1113 .inst 0x5e140040 //sha1c v0.16b,v2.16b,v20.4s 1115 .inst 0x5e281885 //sha1su1 v5.16b,v4.16b [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/asm-aarch64/sha2/ |
H A D | sha512-armv8.S | 1092 .inst 0xcec08230 //sha512su0 v16.16b,v17.16b 1094 .inst 0xce6680a3 //sha512h v3.16b,v5.16b,v6.16b 1095 .inst 0xce678af0 //sha512su1 v16.16b,v23.16b,v7.16b 1097 .inst 0xce608423 //sha512h2 v3.16b,v1.16b,v0.16b 1104 .inst 0xcec08251 //sha512su0 v17.16b,v18.16b 1106 .inst 0xce6680a2 //sha512h v2.16b,v5.16b,v6.16b 1107 .inst 0xce678a11 //sha512su1 v17.16b,v16.16b,v7.16b 1109 .inst 0xce638402 //sha512h2 v2.16b,v0.16b,v3.16b 1116 .inst 0xcec08272 //sha512su0 v18.16b,v19.16b 1118 .inst [all...] |
/freebsd/contrib/llvm-project/lld/ELF/Arch/ |
H A D | X86.cpp | 215 const uint8_t inst[] = { in writePlt() local 220 memcpy(buf, inst, sizeof(inst)); in writePlt() 223 const uint8_t inst[] = { in writePlt() local 228 memcpy(buf, inst, sizeof(inst)); in writePlt() 356 const uint8_t inst[] = { in relaxTlsGdToLe() local 361 memcpy(w, inst, sizeof(inst)); in relaxTlsGdToLe() 390 const uint8_t inst[] = { in relaxTlsGdToIe() local 395 memcpy(w, inst, sizeof(inst)); in relaxTlsGdToIe() 464 const uint8_t inst[] = { in relaxTlsLdToLe() local 469 memcpy(loc - 2, inst, sizeof(inst)); in relaxTlsLdToLe() [all …]
|
H A D | X86_64.cpp | 443 const uint8_t inst[] = { in writePlt() local 448 memcpy(buf, inst, sizeof(inst)); in writePlt() 471 const uint8_t inst[] = { in relaxTlsGdToLe() local 476 memcpy(loc - 4, inst, sizeof(inst)); in relaxTlsGdToLe() 511 const uint8_t inst[] = { in relaxTlsGdToIe() local 516 memcpy(loc - 4, inst, sizeof(inst)); in relaxTlsGdToIe() 544 uint8_t *inst = loc - 3; in relaxTlsIeToLe() local 552 if (memcmp(inst, "\x48\x03\x25", 3) == 0) { in relaxTlsIeToLe() 554 memcpy(inst, "\x48\x81\xc4", 3); in relaxTlsIeToLe() 555 } else if (memcmp(inst, "\x4c\x03\x25", 3) == 0) { in relaxTlsIeToLe() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | Opcode.cpp | 46 for (uint32_t i = 0; i < m_data.inst.length; ++i) { in Dump() 49 s->Printf("%2.2x", m_data.inst.bytes[i]); in Dump() 90 swap_buf[0] = m_data.inst.bytes[2]; in GetData() 91 swap_buf[1] = m_data.inst.bytes[3]; in GetData() 92 swap_buf[2] = m_data.inst.bytes[0]; in GetData() 93 swap_buf[3] = m_data.inst.bytes[1]; in GetData() 110 swap_buf[0] = m_data.inst.bytes[1]; in GetData() 111 swap_buf[1] = m_data.inst.bytes[0]; in GetData() 112 swap_buf[2] = m_data.inst.bytes[3]; in GetData() 113 swap_buf[3] = m_data.inst.bytes[2]; in GetData()
|
/freebsd/sys/contrib/device-tree/Bindings/arm/omap/ |
H A D | prm-inst.txt | 10 "ti,am3-prm-inst" 11 "ti,am4-prm-inst" 12 "ti,omap4-prm-inst" 13 "ti,omap5-prm-inst" 14 "ti,dra7-prm-inst" 16 "ti,omap-prm-inst" 27 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
|
/freebsd/stand/ficl/softwords/ |
H A D | classes.fr | 17 : get ( inst class -- refinst refclass ) 19 : set ( refinst refclass inst class -- ) 62 \ @size ( inst class -- addr-units ) 69 : get-ptr ( inst class -- addr ) 75 : set-ptr ( addr inst class -- ) 86 : ?null ( inst class -- flag ) 91 : inc-ptr ( inst class -- ) 99 : dec-ptr ( inst class -- ) 121 : get ( inst class -- cell ) 124 : set ( value inst class -- ) [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-zephyr.c | 48 const char *inst; member 114 z_triple(const char *class, const char *inst, const char *recipient) in z_triple() argument 118 snprintf(z_buf, sizeof(z_buf), "<%s,%s,%s>", class, inst, recipient); in z_triple() 200 PARSE_FIELD_STR(z.inst); in zephyr_print() 234 ZEPHYR_PRINT(" locate ", z.inst); in zephyr_print() 244 if (!strcmp(z.inst, "CLIENT")) { in zephyr_print() 282 if (!strcmp(z.inst, "HM")) { in zephyr_print() 287 if (!strcmp(z.inst, "REALM")) { in zephyr_print() 301 ZEPHYR_PRINT(" hm_ctl ", str_to_lower(z.inst)); in zephyr_print() 307 if (!strcmp(z.inst, "HMST_CLIENT") && !strcmp(z.opcode, "GIMMESTATS")) { in zephyr_print() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600Instructions.td | 16 // FIXME: Should not be arbitrarily split from other R600 inst classes. 101 class R600_1OP <bits<11> inst, string opName, list<dag> pattern, 115 R600ALU_Word1_OP2 <inst> { 133 class R600_1OP_Helper <bits<11> inst, string opName, SDPatternOperator node, 135 R600_1OP <inst, opName, 142 class R600_2OP <bits<11> inst, string opName, list<dag> pattern, 159 R600ALU_Word1_OP2 <inst> { 171 class R600_2OP_Helper <bits<11> inst, string opName, 174 R600_2OP <inst, opName, 183 class R600_3OP <bits<5> inst, strin [all...] |
/freebsd/sys/amd64/amd64/ |
H A D | db_disasm.c | 106 struct inst { struct 126 static const struct inst db_inst_0f388x[] = { argument 146 static const struct inst db_inst_0f38fx[] = { 166 static const struct inst * const db_inst_0f38[] = { 251 static const struct inst db_inst_0f0x[] = { 271 static const struct inst db_inst_0f1x[] = { 291 static const struct inst db_inst_0f2x[] = { 311 static const struct inst db_inst_0f3x[] = { 331 static const struct inst db_inst_0f4x[] = { 351 static const struct inst db_inst_0f7x[] = { [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | RegisterValue.h | 58 explicit RegisterValue(uint8_t inst) : m_type(eTypeUInt8) { m_scalar = inst; } in RegisterValue() argument 60 explicit RegisterValue(uint16_t inst) : m_type(eTypeUInt16) { in RegisterValue() 61 m_scalar = inst; 64 explicit RegisterValue(uint32_t inst) : m_type(eTypeUInt32) { in RegisterValue() 65 m_scalar = inst; 68 explicit RegisterValue(uint64_t inst) : m_type(eTypeUInt64) { in RegisterValue() 69 m_scalar = inst; 72 explicit RegisterValue(llvm::APInt inst) : m_type(eTypeUInt128) { in RegisterValue() 73 m_scalar = llvm::APInt(std::move(inst)); 56 RegisterValue(uint8_t inst) RegisterValue() argument 62 RegisterValue(uint32_t inst) RegisterValue() argument 66 RegisterValue(uint64_t inst) RegisterValue() argument 70 RegisterValue(llvm::APInt inst) RegisterValue() argument [all...] |