Add rfdi opcode to binutils

The rfdi instruction is part of the e500mc and derivative cores.  It came into
binutils in a GPLv3 patch, along with the rest of the e500mc instruction set.
Currently only rfdi is planned to be used, so rather than attempt to backport
the full patch, take a surgical route and add instructions as needed.

MFC after:	2 weeks
This commit is contained in:
Justin Hibbits 2017-02-01 02:42:45 +00:00
parent 50d96564ed
commit e0b603cb9e

View File

@ -2789,6 +2789,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{ "crnor", XL(19,33), XL_MASK, COM, { BT, BA, BB } },
{ "rfmci", X(19,38), 0xffffffff, PPCRFMCI, { 0 } },
{ "rfdi", XL(19,39), 0xffffffff, BOOKE, { 0 } },
{ "rfi", XL(19,50), 0xffffffff, COM, { 0 } },
{ "rfci", XL(19,51), 0xffffffff, PPC403 | BOOKE, { 0 } },