From e0b603cb9e26c4caf54cef8ca63175f0de07014f Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Wed, 1 Feb 2017 02:42:45 +0000 Subject: [PATCH] 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 --- contrib/binutils/opcodes/ppc-opc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/binutils/opcodes/ppc-opc.c b/contrib/binutils/opcodes/ppc-opc.c index cfd9d308b46..d9b7abd528a 100644 --- a/contrib/binutils/opcodes/ppc-opc.c +++ b/contrib/binutils/opcodes/ppc-opc.c @@ -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 } },