+2020-05-11 Peter Bergner <bergner@linux.ibm.com>
+
+ * testsuite/gas/ppc/power10.s: New test.
+ * testsuite/gas/ppc/power10.d: Likewise.
+ * testsuite/gas/ppc/ppc.exp: Run it.
+
2020-05-11 Alan Modra <amodra@gmail.com>
* config/tc-ppc.c (md_assemble): Update for PPC_OPCODE_POWER10
--- /dev/null
+#as: -mpower10
+#objdump: -dr -Mpower10
+#name: POWER10 tests
+
+.*
+
+Disassembly of section \.text:
+
+0+0 <_start>:
+.*: (7d 40 06 a4|a4 06 40 7d) slbiag r10
+.*: (7d 40 06 a4|a4 06 40 7d) slbiag r10
+.*: (7d 41 06 a4|a4 06 41 7d) slbiag r10,1
+#pass
+2020-05-11 Peter Bergner <bergner@linux.ibm.com>
+
+ * ppc-opc.c (powerpc_opcodes) <slbiag>: Add variant with L operand.
+
2020-05-11 Alan Modra <amodra@gmail.com>
* ppc-dis.c (powerpc_init_dialect): Default to "power10".
{"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}},