Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 25 of 240) sorted by relevance

12345678910

/freebsd-14.2/contrib/opencsd/decoder/source/i_dec/
H A Dtrc_idec_arminst.cpp136 if ((inst & 0xf0000000) == 0xd0000000 && (inst & 0x0e000000) != 0x0e000000) { in inst_Thumb_is_direct_branch_link()
141 } else if ((inst & 0xf800d000) == 0xf0008000 && (inst & 0x03800000) != 0x03800000) { in inst_Thumb_is_direct_branch_link()
146 if (inst & 0x00004000) { in inst_Thumb_is_direct_branch_link()
364 if ((inst & 0xf0000000) == 0xd0000000 && (inst & 0x0e000000) != 0x0e000000) { in inst_Thumb_branch_destination()
372 } else if ((inst & 0xf800d000) == 0xf0008000 && (inst & 0x03800000) != 0x03800000) { in inst_Thumb_branch_destination()
528 if ((inst & 0xf0000000) == 0xd0000000 && (inst & 0x0e000000) != 0x0e000000) { in inst_Thumb_is_conditional()
531 } else if ((inst & 0xf800d000) == 0xf0008000 && (inst & 0x03800000) != 0x03800000) { in inst_Thumb_is_conditional()
584 switch (inst & 0xf0) { in inst_ARM_barrier()
595 switch (inst & 0xff) { in inst_ARM_barrier()
613 switch (inst & 0xf0) { in inst_Thumb_barrier()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DRISCVCInstructions.h48 constexpr RxC DecodeCSS_RS2(uint32_t inst) { return DecodeCR_RS2(inst); } in DecodeCSS_RS2() argument
88 return LW{DecodeCL_RD(inst), DecodeCL_RS1(inst), uint32_t(offset)}; in DecodeC_LW()
94 return LD{DecodeCL_RD(inst), DecodeCL_RS1(inst), uint32_t(offset)}; in DecodeC_LD()
101 return SW{DecodeCS_RS1(inst), DecodeCS_RS2(inst), uint32_t(offset)}; in DecodeC_SW()
164 uint16_t imm = ((inst >> 7) & 0x20) | ((inst >> 2) & 0x1f); in DecodeC_LI()
198 uint16_t imm = ((inst >> 7) & 0x20) | ((inst >> 2) & 0x1f); in DecodeC_ADDI()
208 uint16_t imm = ((inst >> 7) & 0x20) | ((inst >> 2) & 0x1f); in DecodeC_ADDIW()
230 uint16_t shamt = ((inst >> 7) & 0x20) | ((inst >> 2) & 0x1f); in DecodeC_SLLI()
238 uint16_t shamt = ((inst >> 7) & 0x20) | ((inst >> 2) & 0x1f); in DecodeC_SRLI()
246 uint16_t shamt = ((inst >> 7) & 0x20) | ((inst >> 2) & 0x1f); in DecodeC_SRAI()
[all …]
H A DEmulateInstructionRISCV.cpp385 return T{Rd{DecodeRD(inst)}, DecodeUImm(inst)}; in DecodeUType()
389 return T{Rd{DecodeRD(inst)}, DecodeJImm(inst)}; in DecodeJType()
393 return T{Rd{DecodeRD(inst)}, Rs{DecodeRS1(inst)}, DecodeIImm(inst)}; in DecodeIType()
397 return T{Rs{DecodeRS1(inst)}, Rs{DecodeRS2(inst)}, DecodeBImm(inst), in DecodeBType()
402 return T{Rs{DecodeRS1(inst)}, Rs{DecodeRS2(inst)}, DecodeSImm(inst)}; in DecodeSType()
406 return T{Rd{DecodeRD(inst)}, Rs{DecodeRS1(inst)}, Rs{DecodeRS2(inst)}}; in DecodeRType()
410 return T{Rd{DecodeRD(inst)}, Rs{DecodeRS1(inst)}, DecodeRS2(inst)}; in DecodeRShamtType()
414 return T{Rd{DecodeRD(inst)}, Rs{DecodeRS1(inst)}}; in DecodeRRS1Type()
418 return T{Rd{DecodeRD(inst)}, Rs{DecodeRS1(inst)}, Rs{DecodeRS2(inst)}, in DecodeR4Type()
419 Rs{DecodeRS3(inst)}, DecodeRM(inst)}; in DecodeR4Type()
[all …]
H A DRISCVInstructions.h303 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
323 return (inst & 0xE000000) >> 25; in DecodeFunct2()
326 return (inst & 0xFE000000) >> 25; in DecodeFunct7()
[all …]
/freebsd-14.2/contrib/opencsd/decoder/include/i_dec/
H A Dtrc_idec_arminst.h80 int inst_ARM_is_direct_branch(uint32_t inst);
103 int inst_ARM_is_conditional(uint32_t inst);
104 int inst_Thumb_is_conditional(uint32_t inst);
105 int inst_A64_is_conditional(uint32_t inst);
109 unsigned int inst_Thumb_is_IT(uint32_t inst);
122 int inst_ARM_wfiwfe(uint32_t inst);
123 int inst_Thumb_wfiwfe(uint32_t inst);
125 int inst_A64_Tstart(uint32_t inst);
134 int inst_ARM_is_UDF(uint32_t inst);
135 int inst_Thumb_is_UDF(uint32_t inst);
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/LoongArch/
H A DEmulateInstructionLoongArch.cpp275 uint32_t rj = Bits32(inst, 9, 5); in EmulateBEQZ64()
279 uint32_t offs21 = Bits32(inst, 25, 10) + (Bits32(inst, 4, 0) << 16); in EmulateBEQZ64()
295 uint32_t rj = Bits32(inst, 9, 5); in EmulateBNEZ64()
299 uint32_t offs21 = Bits32(inst, 25, 10) + (Bits32(inst, 4, 0) << 16); in EmulateBNEZ64()
319 uint32_t offs21 = Bits32(inst, 25, 10) + (Bits32(inst, 4, 0) << 16); in EmulateBCEQZ64()
341 uint32_t offs21 = Bits32(inst, 25, 10) + (Bits32(inst, 4, 0) << 16); in EmulateBCNEZ64()
358 uint32_t rj = Bits32(inst, 9, 5); in EmulateJIRL64()
359 uint32_t rd = Bits32(inst, 4, 0); in EmulateJIRL64()
381 uint32_t offs26 = Bits32(inst, 25, 10) + (Bits32(inst, 9, 0) << 16); in EmulateB64()
397 uint32_t offs26 = Bits32(inst, 25, 10) + (Bits32(inst, 9, 0) << 16); in EmulateBL64()
[all …]
H A DEmulateInstructionLoongArch.h63 bool TestExecute(uint32_t inst);
76 bool EmulateBEQZ(uint32_t inst);
77 bool EmulateBNEZ(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);
84 bool EmulateBNE(uint32_t inst);
85 bool EmulateBLT(uint32_t inst);
86 bool EmulateBGE(uint32_t inst);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsLoongArch.td317 def int_loongarch_lsx_#inst
322 def int_loongarch_lsx_#inst
327 def int_loongarch_lsx_#inst
332 def int_loongarch_lsx_#inst
341 def int_loongarch_lsx_#inst
349 def int_loongarch_lsx_#inst
357 def int_loongarch_lsx_#inst
365 def int_loongarch_lsx_#inst
372 def int_loongarch_lsx_#inst
378 def int_loongarch_lsx_#inst
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Core/
H A DOpcode.h45 m_data.inst8 = inst; in Opcode()
50 m_data.inst16 = inst; in Opcode()
55 m_data.inst32 = inst; in Opcode()
60 m_data.inst64 = inst; in Opcode()
161 m_data.inst8 = inst; in SetOpcode8()
167 m_data.inst16 = inst; in SetOpcode16()
173 m_data.inst32 = inst; in SetOpcode16_2()
179 m_data.inst32 = inst; in SetOpcode32()
185 m_data.inst64 = inst; in SetOpcode64()
198 m_data.inst.length = 0; in SetOpcodeBytes()
[all …]
/freebsd-14.2/sys/dev/qat/qat_common/
H A Dadf_cfg_bundle.c42 struct adf_cfg_instance *inst, in adf_cfg_get_free_instance() argument
75 struct adf_cfg_instance *inst, in adf_cfg_get_ring_pairs_from_bundle() argument
119 switch (inst->stype) { in adf_cfg_get_ring_pairs_from_bundle()
121 inst->asym_tx = bundle_inst->asym_tx; in adf_cfg_get_ring_pairs_from_bundle()
123 inst->sym_tx = bundle_inst->sym_tx; in adf_cfg_get_ring_pairs_from_bundle()
124 inst->sym_rx = bundle_inst->sym_rx; in adf_cfg_get_ring_pairs_from_bundle()
127 inst->dc_tx = bundle_inst->dc_tx; in adf_cfg_get_ring_pairs_from_bundle()
128 inst->dc_rx = bundle_inst->dc_rx; in adf_cfg_get_ring_pairs_from_bundle()
135 inst->sym_tx = bundle_inst->sym_tx; in adf_cfg_get_ring_pairs_from_bundle()
136 inst->sym_rx = bundle_inst->sym_rx; in adf_cfg_get_ring_pairs_from_bundle()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCWin64EH.cpp103 w = inst.Offset >> 3; in EmitUnwindCode()
1623 assert(inst.Register >= 4 && inst.Register <= 7); in ARMEmitUnwindCode()
1625 streamer.emitInt8(0xd0 | (inst.Register - 4) | (inst.Offset << 2)); in ARMEmitUnwindCode()
1628 assert(inst.Register >= 8 && inst.Register <= 11); in ARMEmitUnwindCode()
1630 streamer.emitInt8(0xd8 | (inst.Register - 8) | (inst.Offset << 2)); in ARMEmitUnwindCode()
1633 assert(inst.Register >= 8 && inst.Register <= 15); in ARMEmitUnwindCode()
1659 assert(inst.Register <= inst.Offset); in ARMEmitUnwindCode()
1661 streamer.emitInt8((inst.Register << 4) | inst.Offset); in ARMEmitUnwindCode()
1664 assert(inst.Register >= 16 && inst.Register <= 31); in ARMEmitUnwindCode()
1665 assert(inst.Offset >= 16 && inst.Offset <= 31); in ARMEmitUnwindCode()
[all …]
/freebsd-14.2/contrib/bc/src/
H A Ddc_parse.c85 bc_parse_push(p, inst); in dc_parse_mem()
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
150 dc_parse_cond(p, inst); in dc_parse_token()
223 dc_parse_mem(p, inst, true, false); in dc_parse_token()
241 dc_parse_mem(p, inst, false, true); in dc_parse_token()
378 BcInst inst; in dc_parse_expr() local
399 inst = dc_parse_insts[t]; in dc_parse_expr()
404 if (inst != BC_INST_INVALID) in dc_parse_expr()
[all …]
H A Dprogram.c1113 switch (inst) in bc_program_logical()
1445 if (inst != BC_INST_ASSIGN && inst != BC_INST_ASSIGN_NO_VAL) in bc_program_assign()
1960 assert(inst >= BC_INST_LENGTH && inst <= BC_INST_IRAND); in bc_program_builtin()
1962 assert(inst >= BC_INST_LENGTH && inst <= BC_INST_IS_STRING); in bc_program_builtin()
1984 inst != BC_INST_IS_NUMBER && inst != BC_INST_IS_STRING) in bc_program_builtin()
2005 else if (inst == BC_INST_IS_NUMBER || inst == BC_INST_IS_STRING) in bc_program_builtin()
2681 assert(inst >= BC_INST_IBASE && inst <= BC_INST_SCALE); in bc_program_pushGlobal()
3029 uchar inst; in bc_program_exec() local
3110 switch (inst) in bc_program_exec()
3802 if (inst == BC_INST_VAR || inst == BC_INST_ARRAY_ELEM || in bc_program_printInst()
[all …]
/freebsd-14.2/sys/crypto/openssl/aarch64/
H A Dkeccak1600-armv8.S605 .inst 0xce9e50c1 //xar v1.16b,v6.16b,v30.16b,#64-44
606 .inst 0xce9cb126 //xar v6.16b,v9.16b,v28.16b,#64-20
607 .inst 0xce9f0ec9 //xar v9.16b,v22.16b,v31.16b,#64-61
613 .inst 0xce9f5582 //xar v2.16b,v12.16b,v31.16b,#64-43
615 .inst 0xce9ce26d //xar v13.16b,v19.16b,v28.16b,#64-8
619 .inst 0xce9c948f //xar v15.16b,v4.16b,v28.16b,#64-27
622 .inst 0xce9efab8 //xar v24.16b,v21.16b,v30.16b,#64-2
625 .inst 0xce9d70b0 //xar v16.16b,v5.16b,v29.16b,#64-36
627 .inst 0xce9b9065 //xar v5.16b,v3.16b,v27.16b,#64-28
660 .inst 0xce261529 //bcax v9.16b,v9.16b,v6.16b,v5.16b
[all …]
H A Dsha512-armv8.S1131 .inst 0xcec08230 //sha512su0 v16.16b,v17.16b
1143 .inst 0xcec08251 //sha512su0 v17.16b,v18.16b
1155 .inst 0xcec08272 //sha512su0 v18.16b,v19.16b
1167 .inst 0xcec08293 //sha512su0 v19.16b,v20.16b
1179 .inst 0xcec082b4 //sha512su0 v20.16b,v21.16b
1191 .inst 0xcec082d5 //sha512su0 v21.16b,v22.16b
1203 .inst 0xcec082f6 //sha512su0 v22.16b,v23.16b
1215 .inst 0xcec08217 //sha512su0 v23.16b,v16.16b
1227 .inst 0xcec08230 //sha512su0 v16.16b,v17.16b
1239 .inst 0xcec08251 //sha512su0 v17.16b,v18.16b
[all …]
H A Dsha1-armv8.S1103 .inst 0x5e280803 //sha1h v3.16b,v0.16b
1110 .inst 0x5e2818e4 //sha1su1 v4.16b,v7.16b
1115 .inst 0x5e281885 //sha1su1 v5.16b,v4.16b
1120 .inst 0x5e2818a6 //sha1su1 v6.16b,v5.16b
1125 .inst 0x5e2818c7 //sha1su1 v7.16b,v6.16b
1130 .inst 0x5e2818e4 //sha1su1 v4.16b,v7.16b
1135 .inst 0x5e281885 //sha1su1 v5.16b,v4.16b
1140 .inst 0x5e2818a6 //sha1su1 v6.16b,v5.16b
1145 .inst 0x5e2818c7 //sha1su1 v7.16b,v6.16b
1150 .inst 0x5e2818e4 //sha1su1 v4.16b,v7.16b
[all …]
/freebsd-14.2/sys/contrib/openzfs/module/icp/asm-aarch64/sha2/
H A Dsha512-armv8.S1092 .inst 0xcec08230 //sha512su0 v16.16b,v17.16b
1104 .inst 0xcec08251 //sha512su0 v17.16b,v18.16b
1116 .inst 0xcec08272 //sha512su0 v18.16b,v19.16b
1128 .inst 0xcec08293 //sha512su0 v19.16b,v20.16b
1140 .inst 0xcec082b4 //sha512su0 v20.16b,v21.16b
1152 .inst 0xcec082d5 //sha512su0 v21.16b,v22.16b
1164 .inst 0xcec082f6 //sha512su0 v22.16b,v23.16b
1176 .inst 0xcec08217 //sha512su0 v23.16b,v16.16b
1188 .inst 0xcec08230 //sha512su0 v16.16b,v17.16b
1200 .inst 0xcec08251 //sha512su0 v17.16b,v18.16b
[all …]
/freebsd-14.2/contrib/llvm-project/lld/ELF/Arch/
H A DX86.cpp220 memcpy(buf, inst, sizeof(inst)); in writePlt()
228 memcpy(buf, inst, sizeof(inst)); in writePlt()
361 memcpy(w, inst, sizeof(inst)); in relaxTlsGdToLe()
395 memcpy(w, inst, sizeof(inst)); in relaxTlsGdToIe()
469 memcpy(loc - 2, inst, sizeof(inst)); in relaxTlsLdToLe()
477 const uint8_t inst[] = { in relaxTlsLdToLe() local
481 memcpy(loc - 2, inst, sizeof(inst)); in relaxTlsLdToLe()
547 memcpy(buf, inst, sizeof(inst)); in writePlt()
557 memcpy(buf, inst, sizeof(inst)); in writePlt()
573 memcpy(buf, inst, sizeof(inst)); in writeIBTPlt()
[all …]
H A DX86_64.cpp440 const uint8_t inst[] = { in writePlt() local
445 memcpy(buf, inst, sizeof(inst)); in writePlt()
473 memcpy(loc - 4, inst, sizeof(inst)); in relaxTlsGdToLe()
513 memcpy(loc - 4, inst, sizeof(inst)); in relaxTlsGdToIe()
541 uint8_t *inst = loc - 3; in relaxTlsIeToLe() local
582 const uint8_t inst[] = { in relaxTlsLdToLe() local
598 memcpy(loc - 3, inst, sizeof(inst)); in relaxTlsLdToLe()
612 memcpy(loc - 2, inst, sizeof(inst)); in relaxTlsLdToLe()
1092 const uint8_t inst[] = { in writeIBTPlt() local
1100 memcpy(buf, inst, sizeof(inst)); in writeIBTPlt()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Core/
H A DOpcode.cpp46 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-14.2/sys/contrib/device-tree/Bindings/arm/omap/
H A Dprm-inst.txt10 "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-14.2/stand/ficl/softwords/
H A Dclasses.fr86 : ?null ( inst class -- flag )
91 : inc-ptr ( inst class -- )
99 : dec-ptr ( inst class -- )
121 : get ( inst class -- cell )
124 : set ( value inst class -- )
135 : get ( inst class -- value )
138 : set ( value inst class -- )
148 : get ( inst class -- value )
151 : set ( value inst class -- )
162 : get ( inst class -- value )
[all …]
/freebsd-14.2/contrib/tcpdump/
H A Dprint-zephyr.c48 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()
314 ZEPHYR_PRINT(" wg_ctl ", str_to_lower(z.inst)); in zephyr_print()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600Instructions.td478 bits<8> inst;
492 bits<8> inst;
579 let CF_INST = inst;
603 let CF_INST = inst;
986 inst, "MUL_LIT",
991 inst, "MULADD",
1001 inst, "FMA",
1009 inst, "CNDE",
1014 inst, "CNDGT",
1021 inst, "CNDGE",
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DRegisterValue.h58 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() argument
61 m_scalar = inst; in RegisterValue()
64 explicit RegisterValue(uint32_t inst) : m_type(eTypeUInt32) { in RegisterValue() argument
65 m_scalar = inst; in RegisterValue()
68 explicit RegisterValue(uint64_t inst) : m_type(eTypeUInt64) { in RegisterValue() argument
69 m_scalar = inst; in RegisterValue()
72 explicit RegisterValue(llvm::APInt inst) : m_type(eTypeUInt128) { in RegisterValue() argument
73 m_scalar = llvm::APInt(std::move(inst)); in RegisterValue()

12345678910