Home
last modified time | relevance | path

Searched defs:insn (Results 1 – 25 of 112) sorted by relevance

12345

/arch/powerpc/xmon/
Dspu.h91 #define SIGNED_EXTRACT(insn,size,pos) (((int)((insn) << (32-size-pos))) >> (32-size)) argument
92 #define UNSIGNED_EXTRACT(insn,size,pos) (((insn) >> pos) & ((1 << size)-1)) argument
94 #define DECODE_INSN_RT(insn) (insn & 0x7f) argument
95 #define DECODE_INSN_RA(insn) ((insn >> 7) & 0x7f) argument
96 #define DECODE_INSN_RB(insn) ((insn >> 14) & 0x7f) argument
97 #define DECODE_INSN_RC(insn) ((insn >> 21) & 0x7f) argument
99 #define DECODE_INSN_I10(insn) SIGNED_EXTRACT(insn,10,14) argument
100 #define DECODE_INSN_U10(insn) UNSIGNED_EXTRACT(insn,10,14) argument
103 #define DECODE_INSN_I16(insn) SIGNED_EXTRACT(insn,16,7) argument
104 #define DECODE_INSN_U16(insn) UNSIGNED_EXTRACT(insn,16,7) argument
[all …]
Dppc-opc.c615 insert_bat (unsigned long insn, in insert_bat()
624 extract_bat (unsigned long insn, in extract_bat()
640 insert_bba (unsigned long insn, in insert_bba()
649 extract_bba (unsigned long insn, in extract_bba()
662 insert_bd (unsigned long insn, in insert_bd()
671 extract_bd (unsigned long insn, in extract_bd()
692 insert_bdm (unsigned long insn, in insert_bdm()
713 extract_bdm (unsigned long insn, in extract_bdm()
737 insert_bdp (unsigned long insn, in insert_bdp()
758 extract_bdp (unsigned long insn, in extract_bdp()
[all …]
Ddis-asm.h18 static inline int print_insn_powerpc(unsigned long insn, unsigned long memaddr) in print_insn_powerpc()
24 static inline int print_insn_spu(unsigned long insn, unsigned long memaddr) in print_insn_spu()
Dspu-dis.c55 get_index_for_opcode (unsigned int insn) in get_index_for_opcode()
94 print_insn_spu (unsigned long insn, unsigned long memaddr) in print_insn_spu()
/arch/m32r/kernel/
Dalign.c38 #define REG1(insn) (((insn) & 0x0f00) >> 8) argument
39 #define REG2(insn) ((insn) & 0x000f) argument
81 static int emu_addi(unsigned short insn, struct pt_regs *regs) in emu_addi()
94 static int emu_ldi(unsigned short insn, struct pt_regs *regs) in emu_ldi()
103 static int emu_add(unsigned short insn, struct pt_regs *regs) in emu_add()
116 static int emu_addx(unsigned short insn, struct pt_regs *regs) in emu_addx()
136 static int emu_and(unsigned short insn, struct pt_regs *regs) in emu_and()
148 static int emu_cmp(unsigned short insn, struct pt_regs *regs) in emu_cmp()
158 static int emu_cmpeq(unsigned short insn, struct pt_regs *regs) in emu_cmpeq()
168 static int emu_cmpu(unsigned short insn, struct pt_regs *regs) in emu_cmpu()
[all …]
/arch/sparc/kernel/
Dunaligned_32.c38 static inline enum direction decode_direction(unsigned int insn) in decode_direction()
53 static inline int decode_access_size(unsigned int insn) in decode_access_size()
71 static inline int decode_signedness(unsigned int insn) in decode_signedness()
141 unsigned int insn) in compute_effective_address()
157 unsigned int insn) in safe_compute_effective_address()
209 static inline int floating_point_load_or_store_p(unsigned int insn) in floating_point_load_or_store_p()
214 static inline int ok_for_kernel(unsigned int insn) in ok_for_kernel()
219 static void kernel_mna_trap_fault(struct pt_regs *regs, unsigned int insn) in kernel_mna_trap_fault()
245 asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn) in kernel_unaligned_trap()
285 static inline int ok_for_user(struct pt_regs *regs, unsigned int insn, in ok_for_user()
[all …]
Dunaligned_64.c42 static inline enum direction decode_direction(unsigned int insn) in decode_direction()
59 static inline int decode_access_size(unsigned int insn) in decode_access_size()
87 static inline int decode_asi(unsigned int insn, struct pt_regs *regs) in decode_asi()
99 static inline int decode_signedness(unsigned int insn) in decode_signedness()
162 unsigned int insn, unsigned int rd) in compute_effective_address()
235 static inline int floating_point_load_or_store_p(unsigned int insn) in floating_point_load_or_store_p()
240 static inline int ok_for_kernel(unsigned int insn) in ok_for_kernel()
248 unsigned int insn = current_thread_info()->kern_una_insn; in kernel_mna_trap_fault() local
296 asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn) in kernel_unaligned_trap()
396 int handle_popc(u32 insn, struct pt_regs *regs) in handle_popc()
[all …]
Dmuldiv.c24 static inline int has_imm13(int insn) in has_imm13()
29 static inline int is_foocc(int insn) in is_foocc()
99 unsigned int insn; in do_user_muldiv() local
Dvisemul.c287 static void edge(struct pt_regs *regs, unsigned int insn, unsigned int opf) in edge()
365 static void array(struct pt_regs *regs, unsigned int insn, unsigned int opf) in array()
399 static void bmask(struct pt_regs *regs, unsigned int insn) in bmask()
415 static void bshuffle(struct pt_regs *regs, unsigned int insn) in bshuffle()
441 static void pdist(struct pt_regs *regs, unsigned int insn) in pdist()
470 static void pformat(struct pt_regs *regs, unsigned int insn, unsigned int opf) in pformat()
582 static void pmul(struct pt_regs *regs, unsigned int insn, unsigned int opf) in pmul()
698 static void pcmp(struct pt_regs *regs, unsigned int insn, unsigned int opf) in pcmp()
797 int vis_emul(struct pt_regs *regs, unsigned int insn) in vis_emul()
/arch/arm/kernel/
Dkprobes-decode.c69 #define branch_displacement(insn) sign_extend(((insn) & 0xffffff) << 2, 25) argument
76 #define truecc_insn(insn) (((insn) & 0xf0000000) | \ argument
423 kprobe_opcode_t insn = p->opcode; in simulate_bbl() local
438 kprobe_opcode_t insn = p->opcode; in simulate_blx1() local
450 kprobe_opcode_t insn = p->opcode; in simulate_blx2bx() local
469 kprobe_opcode_t insn = p->opcode; in simulate_ldm1stm1() local
531 kprobe_opcode_t insn = p->opcode; in emulate_ldcstc() local
542 kprobe_opcode_t insn = p->opcode; in emulate_ldrd() local
570 kprobe_opcode_t insn = p->opcode; in emulate_strd() local
585 kprobe_opcode_t insn = p->opcode; in emulate_ldr() local
[all …]
/arch/sparc/mm/
Dfault_64.c101 u32 insn = 0; in get_user_insn() local
140 unsigned int insn, int fault_code) in do_fault_siginfo()
159 static unsigned int get_fault_insn(struct pt_regs *regs, unsigned int insn) in get_fault_insn()
174 unsigned int insn, unsigned long address) in do_kernel_fault()
256 unsigned int insn = 0; in do_sparc64_fault() local
/arch/sh/include/asm/
Duaccess_32.h35 #define __get_user_asm(x, addr, err, insn) \ argument
56 #define __get_user_asm(x, addr, err, insn) \ argument
90 #define __put_user_asm(x, addr, err, insn) \ argument
114 #define __put_user_asm(x, addr, err, insn) \ argument
/arch/sh/kernel/cpu/sh2a/
Dopcode_helper.c38 unsigned int instruction_size(unsigned int insn) in instruction_size()
/arch/mips/include/asm/
Dpaccess.h53 #define __get_dbe_asm(insn) \ argument
91 #define __put_dbe_asm(insn) \ argument
/arch/ia64/include/asm/
Dfutex.h9 #define __futex_atomic_op1(insn, ret, oldval, uaddr, oparg) \ argument
23 #define __futex_atomic_op2(insn, ret, oldval, uaddr, oparg) \ argument
/arch/x86/include/asm/
Dfutex.h14 #define __futex_atomic_op1(insn, ret, oldval, uaddr, oparg) \ argument
24 #define __futex_atomic_op2(insn, ret, oldval, uaddr, oparg) \ argument
/arch/mips/lib/
Dstrlen_user.S13 #define EX(insn,reg,addr,handler) \ argument
Dstrnlen_user.S13 #define EX(insn,reg,addr,handler) \ argument
Dstrncpy_user.S13 #define EX(insn,reg,addr,handler) \ argument
/arch/powerpc/kernel/
Dkprobes.c53 kprobe_opcode_t insn = *p->addr; in arch_prepare_kprobe() local
175 kprobe_opcode_t insn = *p->ainsn.insn; in kprobe_handler() local
249 unsigned int insn = *p->ainsn.insn; in kprobe_handler() local
380 unsigned int insn = *p->ainsn.insn; in resume_execution() local
/arch/arm/include/asm/
Dglue.h133 # define CPU_PABORT_HANDLER(reg, insn) mrc p15, 0, reg, cr6, cr0, 2 argument
141 # define CPU_PABORT_HANDLER(reg, insn) mov reg, insn argument
/arch/mips/kernel/
Dbranch.c28 union mips_instruction insn; in __compute_return_epc() local
/arch/um/sys-i386/
Dfault.c11 unsigned long insn; member
/arch/um/sys-x86_64/
Dfault.c12 unsigned long insn; member
/arch/sh/kernel/
Dtraps.c69 opcode_t insn = *(opcode_t *)instruction_pointer(regs); in BUILD_TRAP_HANDLER() local

12345