Home | History | Annotate | Download | only in qemu

Lines Matching refs:spr

778   /* The SPR field in an XFX form instruction.  This is flipped--the
780 #define SPR SISIGNOPT + 1
781 #define PMR SPR
786 #define SPRBAT SPR + 1
806 /* The TBR field in an XFX form instruction. This is like the SPR
1498 /* The SPR field in an XFX form instruction. This is flipped--the
1534 /* If this is mfsprg4..7 then use spr 260..263 which can be read in
1535 user mode. Anything else must use spr 272..279. */
1549 /* mfsprg can use 260..263 and 272..279. mtsprg only uses spr 272..279
1559 /* The TBR field in an XFX instruction. This is just like SPR, but it
1879 /* An XFX form instruction with the SPR field filled in. */
1880 #define XSPR(op, xop, spr) \
1881 (X ((op), (xop)) | ((((unsigned long)(spr)) & 0x1f) << 16) | ((((unsigned long)(spr)) & 0x3e0) << 6))
1884 /* An XFX form instruction with the SPR field filled in except for the
1888 /* An XFX form instruction with the SPR field filled in except for the
3833 { "mfdcr", X(31,323), X_MASK, PPC403 | BOOKE, { RT, SPR } },
4029 { "mfspr", X(31,339), X_MASK, COM, { RT, SPR } },
4155 { "mtdcr", X(31,451), X_MASK, PPC403 | BOOKE, { SPR, RS } },
4325 { "mtspr", X(31,467), X_MASK, COM, { SPR, RS } },