/openbmc/qemu/target/ppc/translate/ |
H A D | vmx-ops.c.inc | 1 #define GEN_VXFORM(name, opc2, opc3) \ 2 GEN_HANDLER(name, 0x04, opc2, opc3, 0x00000000, PPC_ALTIVEC) 4 #define GEN_VXFORM_207(name, opc2, opc3) \ 7 #define GEN_VXFORM_300(name, opc2, opc3) \ 8 GEN_HANDLER_E(name, 0x04, opc2, opc3, 0x00000000, PPC_NONE, PPC2_ISA300) 11 GEN_HANDLER_E(name, 0x04, opc2, opc3, inval, PPC_NONE, PPC2_ISA300) 13 #define GEN_VXFORM_300_EO(name, opc2, opc3, opc4) \ 20 #define GEN_VXFORM_DUAL(name0, name1, opc2, opc3, type0, type1) \ 23 #define GEN_VXRFORM_DUAL(name0, name1, opc2, opc3, tp0, tp1) \ 128 GEN_HANDLER(name, 0x04, opc2, opc3, 0x001f0000, PPC_ALTIVEC) [all …]
|
H A D | vsx-ops.c.inc | 13 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0, opc3, 0, PPC_NONE, fl2), \ 14 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 1, opc3, 0, PPC_NONE, fl2) 16 #define GEN_XX2FORM(name, opc2, opc3, fl2) \ 17 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0, opc3, 0, PPC_NONE, fl2), \ 18 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 1, opc3, 0, PPC_NONE, fl2) 32 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 3, opc3, 0, PPC_NONE, fl2) 44 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 3, opc3, 1, PPC_NONE, fl2) 46 #define GEN_XX3FORM_DM(name, opc2, opc3) \ 64 #define GEN_VSX_XFORM_300(name, opc2, opc3, inval) \ 70 #define GEN_VSX_Z23FORM_300(name, opc2, opc3, opc4, inval) \ [all …]
|
H A D | spe-ops.c.inc | 6 #define GEN_SPE(name0, name1, opc2, opc3, inval0, inval1, type) \ 7 GEN_OPCODE_DUAL(name0##_##name1, 0x04, opc2, opc3, inval0, inval1, type, PPC_NONE) 85 #define GEN_SPEOP_LDST(name, opc2, sh) \ 86 GEN_HANDLER(name, 0x04, opc2, 0x0C, 0x00000000, PPC_SPE)
|
H A D | fp-ops.c.inc | 27 #define GEN_STXF(name, stop, opc2, opc3, type) \ 28 GEN_HANDLER(name##x, 0x1F, opc2, opc3, 0x00000001, type),
|
H A D | vmx-impl.c.inc | 201 #define GEN_VXFORM_V(name, vece, tcg_op, opc2, opc3) \ 216 #define GEN_VXFORM(name, opc2, opc3) \ 230 #define GEN_VXFORM_TRANS(name, opc2, opc3) \ 240 #define GEN_VXFORM_ENV(name, opc2, opc3) \ 254 #define GEN_VXFORM3(name, opc2, opc3) \ 329 #define GEN_VXFORM_HETRO(name, opc2, opc3) \ 1093 #define GEN_VXRFORM1(opname, name, str, opc2, opc3) \ 1107 #define GEN_VXRFORM(name, opc2, opc3) \ 1108 GEN_VXRFORM1(name, name, #name, opc2, opc3) \ 1377 #define GEN_VXFORM_VSPLTI(name, vece, opc2, opc3) \ [all …]
|
H A D | spe-impl.c.inc | 42 #define GEN_SPE(name0, name1, opc2, opc3, inval0, inval1, type) \ 765 #define GEN_SPEOP_LDST(name, opc2, sh) \
|
H A D | fp-impl.c.inc | 855 #define GEN_STXF(name, stop, opc2, opc3, type) \
|
/openbmc/qemu/target/arm/ |
H A D | helper.c | 3560 if (ri->opc2 & 4) { in ats_access() 9678 .cp = 15, .opc1 = opc1, .crn = 6, .crm = crm, .opc2 = opc2, in register_cp_regs_for_features() 9690 .cp = 15, .opc1 = opc1, .crn = 6, .crm = crm, .opc2 = opc2, in register_cp_regs_for_features() 9709 .cp = 15, .opc1 = opc1, .crn = 6, .crm = crm, .opc2 = opc2, in register_cp_regs_for_features() 9721 .cp = 15, .opc1 = opc1, .crn = 6, .crm = crm, .opc2 = opc2, in register_cp_regs_for_features() 10093 r2->opc2 = opc2; in add_cpreg_to_hashtable() 10186 ((r->opc2 == CP_ANY) && opc2 != 0)) { in add_cpreg_to_hashtable() 10230 int crm, opc1, opc2; in define_one_arm_cp_reg_with_opaque() local 10235 int opc2min = (r->opc2 == CP_ANY) ? 0 : r->opc2; in define_one_arm_cp_reg_with_opaque() 10236 int opc2max = (r->opc2 == CP_ANY) ? 7 : r->opc2; in define_one_arm_cp_reg_with_opaque() [all …]
|
H A D | cortex-regs.c | 31 .opc0 = 3, .opc1 = 1, .crn = 11, .crm = 0, .opc2 = 2, 35 .cp = 15, .opc1 = 1, .crn = 9, .crm = 0, .opc2 = 2, 39 .opc0 = 3, .opc1 = 1, .crn = 11, .crm = 0, .opc2 = 3, 42 .cp = 15, .opc1 = 1, .crn = 9, .crm = 0, .opc2 = 3, 45 .opc0 = 3, .opc1 = 1, .crn = 15, .crm = 0, .opc2 = 0, 48 .opc0 = 3, .opc1 = 1, .crn = 15, .crm = 2, .opc2 = 0, 54 .opc0 = 3, .opc1 = 1, .crn = 15, .crm = 2, .opc2 = 1, 60 .opc0 = 3, .opc1 = 1, .crn = 15, .crm = 2, .opc2 = 2, 66 .opc0 = 3, .opc1 = 1, .crn = 15, .crm = 2, .opc2 = 3,
|
H A D | debug_helper.c | 952 .opc0 = 2, .opc1 = 0, .crn = 1, .crm = 0, .opc2 = 0, 971 .opc0 = 2, .opc1 = 3, .crn = 0, .crm = 1, .opc2 = 0, 981 .opc0 = 2, .opc1 = 0, .crn = 0, .crm = 0, .opc2 = 2, 985 .opc0 = 2, .opc1 = 0, .crn = 0, .crm = 3, .opc2 = 2, 990 .opc0 = 2, .opc1 = 3, .crn = 0, .crm = 5, .opc2 = 0, 999 .opc0 = 2, .opc1 = 0, .crn = 0, .crm = 6, .opc2 = 2, 1009 .cp = 14, .opc1 = 0, .crn = 0, .crm = 1, .opc2 = 0, 1037 .cp = 14, .opc1 = 0, .crn = 0, .crm = 7, .opc2 = 0, 1075 .opc0 = 2, .opc1 = 4, .crn = 0, .crm = 7, .opc2 = 0, 1175 .opc1 = 0, .opc2 = 0, in define_debug_regs() [all …]
|
H A D | syndrome.h | 171 static inline uint32_t syn_cp14_rt_trap(int cv, int cond, int opc1, int opc2, in syn_cp14_rt_trap() argument 177 | (cv << 24) | (cond << 20) | (opc2 << 17) | (opc1 << 14) in syn_cp14_rt_trap() 181 static inline uint32_t syn_cp15_rt_trap(int cv, int cond, int opc1, int opc2, in syn_cp15_rt_trap() argument 187 | (cv << 24) | (cond << 20) | (opc2 << 17) | (opc1 << 14) in syn_cp15_rt_trap()
|
H A D | cpregs.h | 171 #define ENCODE_CP_REG(cp, is64, ns, crn, crm, opc1, opc2) \ argument 173 ((crn) << 11) | ((crm) << 7) | ((opc1) << 3) | (opc2)) 864 uint8_t opc2; member 1077 uint8_t opc2, in arm_cpreg_encoding_in_idspace() argument 1091 arm_cpreg_encoding_in_idspace(ri->opc0, ri->opc1, ri->opc2, in arm_cpreg_in_idspace()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | cpu64.c | 492 .opc0 = 3, .opc1 = 0, .crn = 15, .crm = 7, .opc2 = 0, 497 .opc0 = 3, .opc1 = 4, .crn = 15, .crm = 7, .opc2 = 0, 500 .opc0 = 3, .opc1 = 6, .crn = 15, .crm = 7, .opc2 = 0, 503 .opc0 = 3, .opc1 = 5, .crn = 15, .crm = 7, .opc2 = 0, 506 .opc0 = 3, .opc1 = 4, .crn = 15, .crm = 7, .opc2 = 1, 509 .opc0 = 3, .opc1 = 0, .crn = 15, .crm = 1, .opc2 = 0, 513 .opc0 = 3, .opc1 = 0, .crn = 15, .crm = 1, .opc2 = 1, 517 .opc0 = 3, .opc1 = 0, .crn = 15, .crm = 1, .opc2 = 2, 525 .opc0 = 3, .opc1 = 0, .crn = 15, .crm = 0, .opc2 = 0, 528 .opc0 = 3, .opc1 = 0, .crn = 15, .crm = 1, .opc2 = 4, [all …]
|
H A D | cpu32.c | 582 .opc2 = 0, .access = PL1_W, .type = ARM_CP_NOP }, 619 .cp = 15, .opc1 = 0, .crn = 9, .crm = 1, .opc2 = 0, 622 .cp = 15, .opc1 = 0, .crn = 9, .crm = 1, .opc2 = 1, 625 .cp = 15, .opc1 = 0, .crn = 9, .crm = 1, .opc2 = 2, 628 .cp = 15, .opc1 = 1, .crn = 9, .crm = 1, .opc2 = 0, 631 .cp = 15, .opc1 = 1, .crn = 9, .crm = 1, .opc2 = 1, 634 .cp = 15, .opc1 = 1, .crn = 9, .crm = 1, .opc2 = 2, 637 .cp = 15, .opc1 = 0, .crn = 11, .crm = 0, .opc2 = 0, 640 .cp = 15, .opc1 = 0, .crn = 15, .crm = 0, .opc2 = 0, 643 .cp = 15, .opc1 = 0, .crn = 15, .crm = 0, .opc2 = 1, [all …]
|
H A D | a32.decode | 50 &mcr cp opc1 crn crm opc2 rt 546 @mcr ---- .... opc1:3 . crn:4 rt:4 cp:4 opc2:3 . crm:4 &mcr
|
H A D | t32.decode | 48 &mcr !extern cp opc1 crn crm opc2 rt 707 @mcr .... .... opc1:3 . crn:4 rt:4 cp:4 opc2:3 . crm:4
|
H A D | translate.c | 2933 int opc1, int crn, int crm, int opc2, in do_coproc_insn() argument 2936 uint32_t key = ENCODE_CP_REG(cpnum, is64, s->ns, crn, crm, opc1, opc2); in do_coproc_insn() 2957 syndrome = syn_cp14_rt_trap(1, 0xe, opc1, opc2, crn, crm, in do_coproc_insn() 2966 syndrome = syn_cp15_rt_trap(1, 0xe, opc1, opc2, crn, crm, in do_coproc_insn() 3048 crm, opc2, s->ns ? "non-secure" : "secure"); in do_coproc_insn() 3602 do_coproc_insn(s, a->cp, false, a->opc1, a->crn, a->crm, a->opc2, in trans_MCR() 3612 do_coproc_insn(s, a->cp, false, a->opc1, a->crn, a->crm, a->opc2, in trans_MRC()
|
H A D | neon-dp.decode | 420 # 1111 001 11 D 11 size:2 opc1:2 Vd:4 0 opc2:4 q:1 M 0 Vm:4
|
/openbmc/qemu/hw/intc/ |
H A D | arm_gicv3_cpuif.c | 562 int regno = ri->opc2 & 3; in icv_ap_read() 574 int regno = ri->opc2 & 3; in icv_ap_write() 669 trace_gicv3_icv_igrpen_read(ri->opc2 & 1 ? 1 : 0, in icv_igrpen_read() 1832 int regno = ri->opc2 & 3; in icc_ap_read() 1854 int regno = ri->opc2 & 3; in icc_ap_write() 2103 int grp = ri->opc2 & 1 ? GICV3_G1 : GICV3_G0; in icc_igrpen_read() 2124 int grp = ri->opc2 & 1 ? GICV3_G1 : GICV3_G0; in icc_igrpen_write() 2698 int regno = ri->opc2 & 3; in ich_ap_read() 2711 int regno = ri->opc2 & 3; in ich_ap_write() 2784 int regno = ri->opc2 | ((ri->crm & 1) << 3); in ich_lr_read() [all …]
|
H A D | arm_gicv3_kvm.c | 734 .opc0 = 3, .opc1 = 0, .crn = 12, .crm = 12, .opc2 = 4,
|
/openbmc/qemu/target/ppc/ |
H A D | translate.c | 1433 GEN_OPCODE(name, opc1, opc2, opc3, inval, type, PPC_NONE) 1436 GEN_OPCODE(name, opc1, opc2, opc3, inval, type, type2) 1439 GEN_OPCODE2(name, onam, opc1, opc2, opc3, inval, type, PPC_NONE) 1442 GEN_OPCODE2(name, onam, opc1, opc2, opc3, inval, type, type2) 1445 GEN_OPCODE3(name, opc1, opc2, opc3, opc4, inval, type, type2) 1451 unsigned char opc1, opc2, opc3, opc4; member 4848 if (opc2 & 0x04) { in gen_405_mulladd_insn() 4851 if (opc2 & 0x02) { in gen_405_mulladd_insn() 6057 GEN_HANDLER(name, 0x04, opc2, opc3, 0x00000000, PPC_405_MAC) 6278 if (insn->opc2 != 0xFF) { in register_insn() [all …]
|
H A D | internal.h | 100 EXTRACT_HELPER(opc2, 1, 5);
|
/openbmc/qemu/hw/arm/ |
H A D | pxa2xx.c | 359 { .name = "CPPMNC", .cp = 14, .crn = 0, .crm = 1, .opc1 = 0, .opc2 = 0, 362 { .name = "CPCCNT", .cp = 14, .crn = 1, .crm = 1, .opc1 = 0, .opc2 = 0, 365 { .name = "CPINTEN", .cp = 14, .crn = 4, .crm = 1, .opc1 = 0, .opc2 = 0, 367 { .name = "CPFLAG", .cp = 14, .crn = 5, .crm = 1, .opc1 = 0, .opc2 = 0, 369 { .name = "CPEVTSEL", .cp = 14, .crn = 8, .crm = 1, .opc1 = 0, .opc2 = 0, 372 { .name = "CPPMN0", .cp = 14, .crn = 0, .crm = 2, .opc1 = 0, .opc2 = 0, 374 { .name = "CPPMN1", .cp = 14, .crn = 1, .crm = 2, .opc1 = 0, .opc2 = 0, 376 { .name = "CPPMN2", .cp = 14, .crn = 2, .crm = 2, .opc1 = 0, .opc2 = 0, 378 { .name = "CPPMN3", .cp = 14, .crn = 2, .crm = 3, .opc1 = 0, .opc2 = 0, 381 { .name = "CLKCFG", .cp = 14, .crn = 6, .crm = 0, .opc1 = 0, .opc2 = 0, [all …]
|
H A D | pxa2xx_pic.c | 245 { .name = NAME, .cp = 6, .crn = CRN, .crm = 0, .opc1 = 0, .opc2 = 0, \
|
/openbmc/qemu/tcg/mips/ |
H A D | tcg-target.c.inc | 450 static void tcg_out_opc_sa64(TCGContext *s, MIPSInsn opc1, MIPSInsn opc2, 455 inst = (sa & 32 ? opc2 : opc1);
|