aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ppc-opc.c
diff options
context:
space:
mode:
authorPeter Bergner <bergner@linux.ibm.com>2020-05-11 09:27:48 +0930
committerAlan Modra <amodra@gmail.com>2020-05-11 21:08:36 +0930
commit1224c05de4d662639e9da6bfdc4f89de4cb1de6c (patch)
treeba51f7ac06c11fc4775e6376efeb716cbc38efb2 /opcodes/ppc-opc.c
parent6bbb0c0595660e6bc7477126a5b1adaf5387d006 (diff)
downloadbinutils-1224c05de4d662639e9da6bfdc4f89de4cb1de6c.zip
binutils-1224c05de4d662639e9da6bfdc4f89de4cb1de6c.tar.gz
binutils-1224c05de4d662639e9da6bfdc4f89de4cb1de6c.tar.bz2
Power10 Add new L operand to the slbiag instruction
opcodes/ * ppc-opc.c (powerpc_opcodes) <slbiag>: Add variant with L operand. gas/ * testsuite/gas/ppc/power10.s: New test. * testsuite/gas/ppc/power10.d: Likewise. * testsuite/gas/ppc/ppc.exp: Run it.
Diffstat (limited to 'opcodes/ppc-opc.c')
-rw-r--r--opcodes/ppc-opc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index baabab6..5371718 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -7085,7 +7085,9 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{"tlbsrx.", XRC(31,850,1), XRT_MASK, PPCA2, 0, {RA0, RB}},
-{"slbiag", X(31,850), XRARB_MASK, POWER9, 0, {RS}},
+{"slbiag", X(31,850), XRLARB_MASK, POWER10, 0, {RS, A_L}},
+{"slbiag", X(31,850), XRARB_MASK, POWER9, POWER10, {RS}},
+
{"slbmfev", X(31,851), XRLA_MASK, POWER9, 0, {RT, RB, A_L}},
{"slbmfev", X(31,851), XRA_MASK, PPC64, POWER9, {RT, RB}},