Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 25 of 1145) sorted by relevance

12345678910>>...46

/linux-6.3-rc2/arch/arm/nwfpe/
A Dfpopcode.h195 #define getOffset(opcode) (opcode & MASK_OFFSET) argument
203 #define LDF_OP(opcode) (LOAD_OP(opcode) && (getCoprocessorNumber(opcode) == 1)) argument
204 #define LFM_OP(opcode) (LOAD_OP(opcode) && (getCoprocessorNumber(opcode) == 2)) argument
205 #define STF_OP(opcode) (STORE_OP(opcode) && (getCoprocessorNumber(opcode) == 1)) argument
206 #define SFM_OP(opcode) (STORE_OP(opcode) && (getCoprocessorNumber(opcode) == 2)) argument
213 #define LOAD(opcode) ((opcode & BIT_LOAD) != 0) argument
214 #define STORE(opcode) ((opcode & BIT_LOAD) == 0) argument
339 #define getCondition(opcode) (opcode >> 28) argument
348 #define getFn(opcode) ((opcode & MASK_Fn) >> 16) argument
351 #define getFm(opcode) (opcode & MASK_Fm) argument
[all …]
A Dfpa11_cpdt.c224 if (BIT_UP_SET(opcode)) in PerformLDF()
229 if (PREINDEXED(opcode)) in PerformLDF()
272 if (BIT_UP_SET(opcode)) in PerformSTF()
277 if (PREINDEXED(opcode)) in PerformSTF()
318 if (BIT_UP_SET(opcode)) in PerformLFM()
323 if (PREINDEXED(opcode)) in PerformLFM()
328 Fd = getFd(opcode); in PerformLFM()
354 if (BIT_UP_SET(opcode)) in PerformSFM()
359 if (PREINDEXED(opcode)) in PerformSFM()
364 Fd = getFd(opcode); in PerformSFM()
[all …]
A Dfpa11_cprt.c26 if (opcode & 0x800000) { in EmulateCPRT()
31 return PerformComparison(opcode); in EmulateCPRT()
37 return PerformFLT(opcode); in EmulateCPRT()
40 return PerformFIX(opcode); in EmulateCPRT()
70 fpa11->fpreg[getFn(opcode)].fSingle = int32_to_float32(&roundData, readRegister(getRd(opcode))); in PerformFLT()
77 fpa11->fpreg[getFn(opcode)].fDouble = int32_to_float64(readRegister(getRd(opcode))); in PerformFLT()
85 fpa11->fpreg[getFn(opcode)].fExtended = int32_to_floatx80(readRegister(getRd(opcode))); in PerformFLT()
103 unsigned int Fn = getFm(opcode); in PerformFIX()
145 unsigned int Fn = getFn(opcode), Fm = getFm(opcode); in PerformComparison()
184 if (CONSTANT_FM(opcode)) { in PerformComparison()
[all …]
A Dfpa11_cpdo.c27 nDest = getDestinationSize(opcode); in EmulateCPDO()
31 roundData.mode = SetRoundingMode(opcode); in EmulateCPDO()
40 if (MONADIC_INSTRUCTION(opcode)) in EmulateCPDO()
43 nType = fpa11->fType[getFn(opcode)]; in EmulateCPDO()
45 if (!CONSTANT_FM(opcode)) { in EmulateCPDO()
46 register unsigned int Fm = getFm(opcode); in EmulateCPDO()
52 rFd = &fpa11->fpreg[getFd(opcode)]; in EmulateCPDO()
56 nRc = SingleCPDO(&roundData, opcode, rFd); in EmulateCPDO()
59 nRc = DoubleCPDO(&roundData, opcode, rFd); in EmulateCPDO()
63 nRc = ExtendedCPDO(&roundData, opcode, rFd); in EmulateCPDO()
[all …]
A Dfpa11.c35 int8 SetRoundingMode(const unsigned int opcode) in SetRoundingMode() argument
37 switch (opcode & MASK_ROUNDING_MODE) { in SetRoundingMode()
56 switch (opcode & MASK_ROUNDING_PRECISION) { in SetRoundingPrecision()
85 unsigned int EmulateAll(unsigned int opcode) in EmulateAll() argument
90 printk("NWFPE: emulating opcode %08x\n", opcode); in EmulateAll()
92 code = opcode & 0x00000f00; in EmulateAll()
95 code = opcode & 0x0e000000; in EmulateAll()
97 if (opcode & 0x00000010) { in EmulateAll()
101 return EmulateCPRT(opcode); in EmulateAll()
105 return EmulateCPDO(opcode); in EmulateAll()
[all …]
A Dfpa11.h85 extern unsigned int EmulateAll(unsigned int opcode);
87 extern unsigned int EmulateCPDT(const unsigned int opcode);
88 extern unsigned int EmulateCPDO(const unsigned int opcode);
89 extern unsigned int EmulateCPRT(const unsigned int opcode);
92 extern unsigned int PerformLDF(const unsigned int opcode);
93 extern unsigned int PerformSTF(const unsigned int opcode);
94 extern unsigned int PerformLFM(const unsigned int opcode);
95 extern unsigned int PerformSFM(const unsigned int opcode);
100 const unsigned int opcode, FPREG * rFd);
103 const unsigned int opcode, FPREG * rFd);
[all …]
/linux-6.3-rc2/arch/riscv/kernel/probes/
A Dsimulate-insn.c87 #define auipc_rd_idx(opcode) \ argument
88 ((opcode >> 7) & 0x1f)
90 #define auipc_imm(opcode) \ argument
94 #define auipc_offset(opcode) sign_extend64(auipc_imm(opcode), 31) argument
96 #define auipc_offset(opcode) auipc_imm(opcode) argument
122 (((opcode) >> 15) & 0x1f)
125 (((opcode) >> 20) & 0x1f)
127 #define branch_funct3(opcode) \ argument
128 (((opcode) >> 12) & 0x7)
130 #define branch_imm(opcode) \ argument
[all …]
/linux-6.3-rc2/arch/arm64/kernel/probes/
A Dsimulate-insn.c54 int xn = opcode & 0x1f; in check_cbz()
62 int xn = opcode & 0x1f; in check_cbnz()
70 int xn = opcode & 0x1f; in check_tbz()
71 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); in check_tbz()
78 int xn = opcode & 0x1f; in check_tbnz()
79 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); in check_tbnz()
92 xn = opcode & 0x1f; in simulate_adr_adrp()
93 imm = ((opcode >> 3) & 0x1ffffc) | ((opcode >> 29) & 0x3); in simulate_adr_adrp()
95 if (opcode & 0x80000000) in simulate_adr_adrp()
111 if (opcode & (1 << 31)) in simulate_b_bl()
[all …]
A Dsimulate-insn.h11 void simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs);
12 void simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs);
13 void simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs);
14 void simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs);
15 void simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs);
16 void simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs);
17 void simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs);
18 void simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs);
/linux-6.3-rc2/arch/csky/kernel/probes/
A Dsimulate-insn.c135 unsigned long tmp = opcode & 0x1f; in simulate_jmp32()
157 unsigned long tmp = opcode & 0x1f; in simulate_jsr32()
173 tmp = (opcode & 0xe0) >> 5; in simulate_lrw16()
204 if (opcode & 0x10) { in simulate_pop16()
225 if (opcode & 0x100000) { in simulate_pop32()
235 if (opcode & 0x1000000) { in simulate_pop32()
248 unsigned long tmp = opcode & 0x1f; in simulate_bez32()
262 unsigned long tmp = opcode & 0x1f; in simulate_bnez32()
276 unsigned long tmp = opcode & 0x1f; in simulate_bnezad32()
295 unsigned long tmp = opcode & 0x1f; in simulate_bhsz32()
[all …]
/linux-6.3-rc2/tools/perf/scripts/python/
A Dpowerpc-hcalls.py154 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 …]
/linux-6.3-rc2/include/trace/events/
A Dspmi.h17 TP_ARGS(opcode, sid, addr, len, buf),
20 __field ( u8, opcode )
28 __entry->opcode = opcode;
43 TP_ARGS(opcode, sid, addr, ret),
46 __field ( u8, opcode )
53 __entry->opcode = opcode;
66 TP_ARGS(opcode, sid, addr),
75 __entry->opcode = opcode;
99 __entry->opcode = opcode;
115 TP_ARGS(opcode, sid, ret),
[all …]
A Dio_uring.h86 __entry->opcode = opcode;
150 __field( u8, opcode )
163 __entry->opcode = req->opcode;
194 __field( u8, opcode )
203 __entry->opcode = req->opcode;
293 __field( u8, opcode )
303 __entry->opcode = req->opcode;
393 __entry->opcode = req->opcode;
438 __entry->opcode = req->opcode;
478 __entry->opcode = req->opcode;
[all …]
/linux-6.3-rc2/arch/x86/mm/
A Dpf_in.c112 *opcode = *addr; in get_opcode()
129 unsigned int opcode; in get_ins_type() local
150 unsigned int opcode; in get_ins_reg_width() local
160 if (rw8[i] == opcode) in get_ins_reg_width()
164 if (rw32[i] == opcode) in get_ins_reg_width()
173 unsigned int opcode; in get_ins_mem_width() local
183 if (mw8[i] == opcode) in get_ins_mem_width()
187 if (mw16[i] == opcode) in get_ins_mem_width()
396 unsigned int opcode; in get_ins_reg_val() local
419 if (opcode == 0xAA || opcode == 0xAB) { in get_ins_reg_val()
[all …]
/linux-6.3-rc2/arch/powerpc/xmon/
A Dppc-dis.c83 const struct powerpc_opcode *opcode; in lookup_powerpc() local
88 for (opcode = powerpc_opcodes; opcode < opcode_end; ++opcode) in lookup_powerpc()
94 if ((insn & opcode->mask) != opcode->opcode in lookup_powerpc()
111 return opcode; in lookup_powerpc()
121 const struct powerpc_opcode *opcode; in print_insn_powerpc() local
153 opcode = NULL; in print_insn_powerpc()
156 if (opcode == NULL) in print_insn_powerpc()
161 if (opcode != NULL) in print_insn_powerpc()
169 if (opcode->operands[0] != 0) in print_insn_powerpc()
170 printf("%-7s ", opcode->name); in print_insn_powerpc()
[all …]
/linux-6.3-rc2/arch/sh/kernel/
A Dkprobes.c47 p->opcode = opcode; in arch_prepare_kprobe()
55 p->opcode = *p->addr; in arch_copy_kprobe()
109 saved->opcode = 0; in arch_remove_kprobe()
116 saved->opcode = 0; in arch_remove_kprobe()
156 if (OPCODE_JSR(p->opcode) || OPCODE_JMP(p->opcode)) { in prepare_singlestep()
159 } else if (OPCODE_BRA(p->opcode) || OPCODE_BSR(p->opcode)) { in prepare_singlestep()
164 } else if (OPCODE_BRAF(p->opcode) || OPCODE_BSRF(p->opcode)) { in prepare_singlestep()
173 } else if (OPCODE_BF(p->opcode) || OPCODE_BT(p->opcode)) { in prepare_singlestep()
183 } else if (OPCODE_BF_S(p->opcode) || OPCODE_BT_S(p->opcode)) { in prepare_singlestep()
330 p->opcode = 0; in post_kprobe_handler()
[all …]
/linux-6.3-rc2/arch/x86/include/asm/
A Dtext-patching.h28 extern void text_poke_early(void *addr, const void *opcode, size_t len);
44 extern void *text_poke(void *addr, const void *opcode, size_t len);
46 extern void *text_poke_kgdb(void *addr, const void *opcode, size_t len);
47 extern void *text_poke_copy(void *addr, const void *opcode, size_t len);
73 static __always_inline int text_opcode_size(u8 opcode) in text_opcode_size() argument
80 switch(opcode) { in text_opcode_size()
96 u8 opcode; member
106 BUG_ON(size < text_opcode_size(opcode)); in __text_gen_insn()
117 insn->opcode = opcode; in __text_gen_insn()
132 void *text_gen_insn(u8 opcode, const void *addr, const void *dest) in text_gen_insn() argument
[all …]
/linux-6.3-rc2/drivers/infiniband/sw/rxe/
A Drxe_req.c15 u32 opcode);
54 qp->req.opcode = -1; in req_retry()
199 switch (opcode) { in next_opcode_rc()
270 return opcode; in next_opcode_rc()
278 switch (opcode) { in next_opcode_uc()
573 qp->req.opcode = pkt->opcode; in update_state()
588 u8 opcode = wqe->wr.opcode; in rxe_do_local_ops() local
592 switch (opcode) { in rxe_do_local_ops()
648 int opcode; in rxe_requester() local
727 opcode = next_opcode(qp, wqe, wqe->wr.opcode); in rxe_requester()
[all …]
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dtrace.h81 TP_ARGS(opcode, args),
86 __field(unsigned long, opcode)
90 __entry->opcode = opcode;
102 TP_ARGS(opcode, retval, retbuf),
107 __field(unsigned long, opcode)
112 __entry->opcode = opcode;
233 TP_ARGS(opcode, args),
236 __field(unsigned long, opcode)
240 __entry->opcode = opcode;
252 TP_ARGS(opcode, retval),
[all …]
/linux-6.3-rc2/drivers/scsi/aic7xxx/aicasm/
A Daicasm_insformat.h54 opcode : 4, member
58 opcode : 4,
73 opcode : 4, member
77 opcode : 4,
91 opcode : 4, member
95 opcode : 4,
109 opcode : 4, member
113 opcode : 4,
127 opcode : 4, member
131 opcode : 4,
[all …]
/linux-6.3-rc2/arch/riscv/include/asm/
A Dinsn-def.h25 .macro insn_r, opcode, func3, func7, rd, rs1, rs2
26 .insn r \opcode, \func3, \func7, \rd, \rs1, \rs2
29 .macro insn_i, opcode, func3, rd, rs1, simm12
30 .insn i \opcode, \func3, \rd, \rs1, \simm12
37 .macro insn_r, opcode, func3, func7, rd, rs1, rs2
38 .4byte ((\opcode << INSN_R_OPCODE_SHIFT) | \
46 .macro insn_i, opcode, func3, rd, rs1, simm12
47 .4byte ((\opcode << INSN_I_OPCODE_SHIFT) | \
66 #define __INSN_I(opcode, func3, rd, rs1, simm12) \
116 __INSN_R(RV_##opcode, RV_##func3, RV_##func7, \
[all …]
/linux-6.3-rc2/net/bluetooth/
A Dmgmt_util.c34 u16 opcode, u16 len, void *buf) in create_monitor_ctrl_event() argument
44 put_unaligned_le16(opcode, skb_put(skb, 2)); in create_monitor_ctrl_event()
70 bt_cb(skb)->mgmt.opcode = opcode; in mgmt_alloc_skb()
98 hdr->opcode = cpu_to_le16(bt_cb(skb)->mgmt.opcode); in mgmt_send_event_skb()
147 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_status()
190 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_complete()
225 if (cmd->opcode == opcode) in mgmt_pending_find()
233 u16 opcode, in mgmt_pending_find_data() argument
242 if (cmd->opcode == opcode) in mgmt_pending_find_data()
256 if (opcode > 0 && cmd->opcode != opcode) in mgmt_pending_foreach()
[all …]
/linux-6.3-rc2/arch/mips/include/uapi/asm/
A Dinst.h633 __BITFIELD_FIELD(unsigned int opcode : 6,
641 __BITFIELD_FIELD(unsigned int opcode : 6,
649 __BITFIELD_FIELD(unsigned int opcode : 6,
658 __BITFIELD_FIELD(unsigned int opcode : 6,
668 __BITFIELD_FIELD(unsigned int opcode : 6,
678 __BITFIELD_FIELD(unsigned int opcode : 6,
690 __BITFIELD_FIELD(unsigned int opcode : 6,
698 __BITFIELD_FIELD(unsigned int opcode : 6,
708 __BITFIELD_FIELD(unsigned int opcode : 6,
719 __BITFIELD_FIELD(unsigned int opcode : 6,
[all …]
/linux-6.3-rc2/arch/arm64/kernel/
A Dpatch-scs.c96 c = *(*opcode)++; in skip_xleb128()
138 const u8 *opcode = frame->opcodes; in scs_handle_fde_frame() local
144 if (WARN_ON(*opcode & BIT(7))) in scs_handle_fde_frame()
147 l = *opcode++; in scs_handle_fde_frame()
148 opcode += l; in scs_handle_fde_frame()
157 switch (*opcode++) { in scs_handle_fde_frame()
164 loc += *opcode++ * code_alignment_factor; in scs_handle_fde_frame()
169 loc += *opcode++ * code_alignment_factor; in scs_handle_fde_frame()
170 loc += (*opcode++ << 8) * code_alignment_factor; in scs_handle_fde_frame()
176 size = skip_xleb128(&opcode, size); in scs_handle_fde_frame()
[all …]
/linux-6.3-rc2/arch/s390/tools/
A Dgen_opcode_table.c24 char opcode[STRING_SIZE_MAX]; member
35 char opcode[2]; member
233 char *opcode; in print_opcode() local
235 opcode = insn->opcode; in print_opcode()
237 opcode += 2; in print_opcode()
251 if (group && (!strncmp(group->opcode, insn->opcode, 2) || group->type->byte == 0)) { in add_to_group()
260 memcpy(group->opcode, insn->opcode, 2); in add_to_group()
268 return strcmp(((struct insn *)a)->opcode, ((struct insn *)b)->opcode); in cmpopcode()
273 char opcode[2] = ""; in print_opcode_table() local
285 if (strncmp(opcode, insn->opcode, 2)) { in print_opcode_table()
[all …]

Completed in 51 milliseconds

12345678910>>...46