Message ID | 20161119192303.18784-1-sw@weilnetz.de |
---|---|
State | New |
Headers | show |
On Sat, Nov 19, 2016 at 08:23:03PM +0100, Stefan Weil wrote: > Signed-off-by: Stefan Weil <sw@weilnetz.de> Low risk, but low priority. Applied to ppc-for-2.9 > --- > disas/ppc.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/disas/ppc.c b/disas/ppc.c > index bd05623..9b5a0e7 100644 > --- a/disas/ppc.c > +++ b/disas/ppc.c > @@ -1653,11 +1653,11 @@ extract_tbr (unsigned long insn, > #define BBOYBI_MASK (BBOYCB_MASK | BI_MASK) > #define BBOATBI_MASK (BBOAT2CB_MASK | BI_MASK) > > -/* An Context form instruction. */ > +/* A Context form instruction. */ > #define CTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7)) > #define CTX_MASK CTX(0x3f, 0x7) > > -/* An User Context form instruction. */ > +/* A User Context form instruction. */ > #define UCTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f)) > #define UCTX_MASK UCTX(0x3f, 0x1f) > > @@ -1710,19 +1710,19 @@ extract_tbr (unsigned long insn, > #define SC(op, sa, lk) (OP (op) | ((((unsigned long)(sa)) & 1) << 1) | ((lk) & 1)) > #define SC_MASK (OP_MASK | (((unsigned long)0x3ff) << 16) | (((unsigned long)1) << 1) | 1) > > -/* An VX form instruction. */ > +/* A VX form instruction. */ > #define VX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7ff)) > > /* The mask for an VX form instruction. */ > #define VX_MASK VX(0x3f, 0x7ff) > > -/* An VA form instruction. */ > +/* A VA form instruction. */ > #define VXA(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x03f)) > > -/* The mask for an VA form instruction. */ > +/* The mask for a VA form instruction. */ > #define VXA_MASK VXA(0x3f, 0x3f) > > -/* An VXR form instruction. */ > +/* A VXR form instruction. */ > #define VXR(op, xop, rc) (OP (op) | (((rc) & 1) << 10) | (((unsigned long)(xop)) & 0x3ff)) > > /* The mask for a VXR form instruction. */
diff --git a/disas/ppc.c b/disas/ppc.c index bd05623..9b5a0e7 100644 --- a/disas/ppc.c +++ b/disas/ppc.c @@ -1653,11 +1653,11 @@ extract_tbr (unsigned long insn, #define BBOYBI_MASK (BBOYCB_MASK | BI_MASK) #define BBOATBI_MASK (BBOAT2CB_MASK | BI_MASK) -/* An Context form instruction. */ +/* A Context form instruction. */ #define CTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7)) #define CTX_MASK CTX(0x3f, 0x7) -/* An User Context form instruction. */ +/* A User Context form instruction. */ #define UCTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f)) #define UCTX_MASK UCTX(0x3f, 0x1f) @@ -1710,19 +1710,19 @@ extract_tbr (unsigned long insn, #define SC(op, sa, lk) (OP (op) | ((((unsigned long)(sa)) & 1) << 1) | ((lk) & 1)) #define SC_MASK (OP_MASK | (((unsigned long)0x3ff) << 16) | (((unsigned long)1) << 1) | 1) -/* An VX form instruction. */ +/* A VX form instruction. */ #define VX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7ff)) /* The mask for an VX form instruction. */ #define VX_MASK VX(0x3f, 0x7ff) -/* An VA form instruction. */ +/* A VA form instruction. */ #define VXA(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x03f)) -/* The mask for an VA form instruction. */ +/* The mask for a VA form instruction. */ #define VXA_MASK VXA(0x3f, 0x3f) -/* An VXR form instruction. */ +/* A VXR form instruction. */ #define VXR(op, xop, rc) (OP (op) | (((rc) & 1) << 10) | (((unsigned long)(xop)) & 0x3ff)) /* The mask for a VXR form instruction. */
Signed-off-by: Stefan Weil <sw@weilnetz.de> --- disas/ppc.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)