This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] m[tf]vrsave for ppc gas
- From: matthew green <mrg at fish-dances dot eterna dot com dot au>
- To: binutils at sources dot redhat dot com
- Date: Sat, 17 Nov 2001 05:56:58 +1100
- Subject: [patch] m[tf]vrsave for ppc gas
- Organisation: Red Hat, Inc.
this adds mfvrsave & mtvfsave instructions, similar to all the
other m[tf]spr variants, for the VRSAVE register (256).
OK to commit?
.mrg.
* ppc-opc.c (mfvrsave, mtvrsave): New instructions.
Index: ppc-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/ppc-opc.c,v
retrieving revision 1.22
diff -p -r1.22 ppc-opc.c
*** ppc-opc.c 2001/10/20 13:50:16 1.22
--- ppc-opc.c 2001/11/16 18:55:16
*************** const struct powerpc_opcode powerpc_opco
*** 2878,2883 ****
--- 2878,2884 ----
{ "mflctrl2", XSPR(31,339,157), XSPR_MASK, PPC860, { RT } },
{ "mfictrl", XSPR(31,339,158), XSPR_MASK, PPC860, { RT } },
{ "mfbar", XSPR(31,339,159), XSPR_MASK, PPC860, { RT } },
+ { "mfvrsave", XSPR(31,339,256), XSPR_MASK, PPCVEC, { RT } },
{ "mfsprg4", XSPR(31,339,260), XSPR_MASK, PPC405, { RT } },
{ "mfsprg5", XSPR(31,339,261), XSPR_MASK, PPC405, { RT } },
{ "mfsprg6", XSPR(31,339,262), XSPR_MASK, PPC405, { RT } },
*************** const struct powerpc_opcode powerpc_opco
*** 3139,3144 ****
--- 3140,3146 ----
{ "mtlctrl2", XSPR(31,467,157), XSPR_MASK, PPC860, { RT } },
{ "mtictrl", XSPR(31,467,158), XSPR_MASK, PPC860, { RT } },
{ "mtbar", XSPR(31,467,159), XSPR_MASK, PPC860, { RT } },
+ { "mtvrsave",XSPR(31,467,256), XSPR_MASK, PPCVEC, { RT } },
{ "mtsprg", XSPR(31,467,272), XSPRG_MASK, PPC, { SPRG, RS } },
{ "mtsprg0", XSPR(31,467,272), XSPR_MASK, PPC, { RT } },
{ "mtsprg1", XSPR(31,467,273), XSPR_MASK, PPC, { RT } },