|
Defines |
#define | TB (268) |
#define | UNUSED (0) |
#define | BA (1) |
#define | BA_MASK (0x1f << 16) |
#define | BAT (2) |
#define | BB (3) |
#define | BB_MASK (0x1f << 11) |
#define | BBA (4) |
#define | BD (5) |
#define | BDA (6) |
#define | BDM (7) |
#define | BDMA (8) |
#define | BDP (9) |
#define | BDPA (10) |
#define | BF (11) |
#define | OBF (12) |
#define | BFA (13) |
#define | BI (14) |
#define | BI_MASK (0x1f << 16) |
#define | BO (15) |
#define | BO_MASK (0x1f << 21) |
#define | BOE (16) |
#define | BT (17) |
#define | CR (18) |
#define | D (19) |
#define | DS (20) |
#define | FL1 (21) |
#define | FL2 (22) |
#define | FLM (23) |
#define | FRA (24) |
#define | FRA_MASK (0x1f << 16) |
#define | FRB (25) |
#define | FRB_MASK (0x1f << 11) |
#define | FRC (26) |
#define | FRC_MASK (0x1f << 6) |
#define | FRS (27) |
#define | FRT (FRS) |
#define | FXM (28) |
#define | FXM_MASK (0xff << 12) |
#define | L (29) |
#define | LEV (30) |
#define | LI (31) |
#define | LIA (32) |
#define | MB (33) |
#define | MB_MASK (0x1f << 6) |
#define | ME (34) |
#define | ME_MASK (0x1f << 1) |
#define | MBE (35) |
#define | MB6 (37) |
#define | ME6 (MB6) |
#define | MB6_MASK (0x3f << 5) |
#define | NB (38) |
#define | NSI (39) |
#define | RA (40) |
#define | RA_MASK (0x1f << 16) |
#define | RAL (41) |
#define | RAM (42) |
#define | RAS (43) |
#define | RB (44) |
#define | RB_MASK (0x1f << 11) |
#define | RBS (45) |
#define | RS (46) |
#define | RT (RS) |
#define | RT_MASK (0x1f << 21) |
#define | SH (47) |
#define | SH_MASK (0x1f << 11) |
#define | SH6 (48) |
#define | SH6_MASK ((0x1f << 11) | (1 << 1)) |
#define | SI (49) |
#define | SISIGNOPT (50) |
#define | SPR (51) |
#define | SPR_MASK (0x3ff << 11) |
#define | SPRBAT (52) |
#define | SPRBAT_MASK (0x3 << 17) |
#define | SPRG (53) |
#define | SPRG_MASK (0x3 << 16) |
#define | SR (54) |
#define | SV (55) |
#define | TBR (56) |
#define | TO (57) |
#define | TO_MASK (0x1f << 21) |
#define | U (58) |
#define | UI (59) |
#define | OP(x) (((x) & 0x3f) << 26) |
#define | OP_MASK OP (0x3f) |
#define | OPTO(x, to) (OP (x) | (((to) & 0x1f) << 21)) |
#define | OPTO_MASK (OP_MASK | TO_MASK) |
#define | OPL(x, l) (OP (x) | (((l) & 1) << 21)) |
#define | OPL_MASK OPL (0x3f,1) |
#define | A(op, xop, rc) (OP (op) | (((xop) & 0x1f) << 1) | ((rc) & 1)) |
#define | A_MASK A (0x3f, 0x1f, 1) |
#define | AFRB_MASK (A_MASK | FRB_MASK) |
#define | AFRC_MASK (A_MASK | FRC_MASK) |
#define | AFRAFRC_MASK (A_MASK | FRA_MASK | FRC_MASK) |
#define | B(op, aa, lk) (OP (op) | (((aa) & 1) << 1) | ((lk) & 1)) |
#define | B_MASK B (0x3f, 1, 1) |
#define | BBO(op, bo, aa, lk) (B ((op), (aa), (lk)) | (((bo) & 0x1f) << 21)) |
#define | BBO_MASK BBO (0x3f, 0x1f, 1, 1) |
#define | Y_MASK (1 << 21) |
#define | BBOY_MASK (BBO_MASK &~ Y_MASK) |
#define | BBOCB(op, bo, cb, aa, lk) (BBO ((op), (bo), (aa), (lk)) | (((cb) & 0x3) << 16)) |
#define | BBOCB_MASK BBOCB (0x3f, 0x1f, 0x3, 1, 1) |
#define | BBOYCB_MASK (BBOCB_MASK &~ Y_MASK) |
#define | BBOYBI_MASK (BBOYCB_MASK | BI_MASK) |
#define | DRA_MASK (OP_MASK | RA_MASK) |
#define | DSO(op, xop) (OP (op) | ((xop) & 0x3)) |
#define | DS_MASK DSO (0x3f, 3) |
#define | M(op, rc) (OP (op) | ((rc) & 1)) |
#define | M_MASK M (0x3f, 1) |
#define | MME(op, me, rc) (M ((op), (rc)) | (((me) & 0x1f) << 1)) |
#define | MMBME_MASK (M_MASK | MB_MASK | ME_MASK) |
#define | MSHME_MASK (M_MASK | SH_MASK | ME_MASK) |
#define | MD(op, xop, rc) (OP (op) | (((xop) & 0x7) << 2) | ((rc) & 1)) |
#define | MD_MASK MD (0x3f, 0x7, 1) |
#define | MDMB_MASK (MD_MASK | MB6_MASK) |
#define | MDSH_MASK (MD_MASK | SH6_MASK) |
#define | MDS(op, xop, rc) (OP (op) | (((xop) & 0xf) << 1) | ((rc) & 1)) |
#define | MDS_MASK MDS (0x3f, 0xf, 1) |
#define | MDSMB_MASK (MDS_MASK | MB6_MASK) |
#define | SC(op, sa, lk) (OP (op) | (((sa) & 1) << 1) | ((lk) & 1)) |
#define | SC_MASK (OP_MASK | (0x3ff << 16) | (1 << 1) | 1) |
#define | X(op, xop) (OP (op) | (((xop) & 0x3ff) << 1)) |
#define | XRC(op, xop, rc) (X ((op), (xop)) | ((rc) & 1)) |
#define | X_MASK XRC (0x3f, 0x3ff, 1) |
#define | XRA_MASK (X_MASK | RA_MASK) |
#define | XRB_MASK (X_MASK | RB_MASK) |
#define | XRT_MASK (X_MASK | RT_MASK) |
#define | XRARB_MASK (X_MASK | RA_MASK | RB_MASK) |
#define | XRTRA_MASK (X_MASK | RT_MASK | RA_MASK) |
#define | XCMPL(op, xop, l) (X ((op), (xop)) | (((l) & 1) << 21)) |
#define | XCMP_MASK (X_MASK | (1 << 22)) |
#define | XCMPL_MASK (XCMP_MASK | (1 << 21)) |
#define | XTO(op, xop, to) (X ((op), (xop)) | (((to) & 0x1f) << 21)) |
#define | XTO_MASK (X_MASK | TO_MASK) |
#define | XFL(op, xop, rc) (OP (op) | (((xop) & 0x3ff) << 1) | ((rc) & 1)) |
#define | XFL_MASK (XFL (0x3f, 0x3ff, 1) | (1 << 25) | (1 << 16)) |
#define | XL(op, xop) (OP (op) | (((xop) & 0x3ff) << 1)) |
#define | XLLK(op, xop, lk) (XL ((op), (xop)) | ((lk) & 1)) |
#define | XL_MASK XLLK (0x3f, 0x3ff, 1) |
#define | XLO(op, bo, xop, lk) (XLLK ((op), (xop), (lk)) | (((bo) & 0x1f) << 21)) |
#define | XLO_MASK (XL_MASK | BO_MASK) |
#define | XLYLK(op, xop, y, lk) (XLLK ((op), (xop), (lk)) | (((y) & 1) << 21)) |
#define | XLYLK_MASK (XL_MASK | Y_MASK) |
#define | XLOCB(op, bo, cb, xop, lk) (XLO ((op), (bo), (xop), (lk)) | (((cb) & 3) << 16)) |
#define | XLOCB_MASK XLOCB (0x3f, 0x1f, 0x3, 0x3ff, 1) |
#define | XLBB_MASK (XL_MASK | BB_MASK) |
#define | XLYBB_MASK (XLYLK_MASK | BB_MASK) |
#define | XLBOCBBB_MASK (XLOCB_MASK | BB_MASK) |
#define | XLBOBB_MASK (XL_MASK | BO_MASK | BB_MASK) |
#define | XLBOBIBB_MASK (XL_MASK | BO_MASK | BI_MASK | BB_MASK) |
#define | XO(op, xop, oe, rc) (OP (op) | (((xop) & 0x1ff) << 1) | (((oe) & 1) << 10) | ((rc) & 1)) |
#define | XO_MASK XO (0x3f, 0x1ff, 1, 1) |
#define | XORB_MASK (XO_MASK | RB_MASK) |
#define | XS(op, xop, rc) (OP (op) | (((xop) & 0x1ff) << 2) | ((rc) & 1)) |
#define | XS_MASK XS (0x3f, 0x1ff, 1) |
#define | XFXFXM_MASK (X_MASK | (1 << 20) | (1 << 11)) |
#define | XFXM(op, xop, fxm) (X ((op), (xop)) | (((fxm) & 0xff) << 12)) |
#define | XSPR(op, xop, spr) (X ((op), (xop)) | (((spr) & 0x1f) << 16) | (((spr) & 0x3e0) << 6)) |
#define | XSPR_MASK (X_MASK | SPR_MASK) |
#define | XSPRBAT_MASK (XSPR_MASK &~ SPRBAT_MASK) |
#define | XSPRG_MASK (XSPR_MASK &~ SPRG_MASK) |
#define | BODNZF (0x0) |
#define | BODNZFP (0x1) |
#define | BODZF (0x2) |
#define | BODZFP (0x3) |
#define | BOF (0x4) |
#define | BOFP (0x5) |
#define | BODNZT (0x8) |
#define | BODNZTP (0x9) |
#define | BODZT (0xa) |
#define | BODZTP (0xb) |
#define | BOT (0xc) |
#define | BOTP (0xd) |
#define | BODNZ (0x10) |
#define | BODNZP (0x11) |
#define | BODZ (0x12) |
#define | BODZP (0x13) |
#define | BOU (0x14) |
#define | CBLT (0) |
#define | CBGT (1) |
#define | CBEQ (2) |
#define | CBSO (3) |
#define | TOLGT (0x1) |
#define | TOLLT (0x2) |
#define | TOEQ (0x4) |
#define | TOLGE (0x5) |
#define | TOLNL (0x5) |
#define | TOLLE (0x6) |
#define | TOLNG (0x6) |
#define | TOGT (0x8) |
#define | TOGE (0xc) |
#define | TONL (0xc) |
#define | TOLT (0x10) |
#define | TOLE (0x14) |
#define | TONG (0x14) |
#define | TONE (0x18) |
#define | TOU (0x1f) |
#define | PPC PPC_OPCODE_PPC |
#define | POWER PPC_OPCODE_POWER |
#define | POWER2 PPC_OPCODE_POWER2 |
#define | B32 PPC_OPCODE_32 |
#define | B64 PPC_OPCODE_64 |
#define | M601 PPC_OPCODE_601 |
Variables |
const struct powerpc_operand | powerpc_operands [] |
const struct powerpc_opcode | powerpc_opcodes [] |
const int | powerpc_num_opcodes |