PowerPC: Add support for RFC02660 - Context Switch Instruction

opcodes/
    * ppc-opc.c: (powerpc_opcodes): Add mtlpl.

gas/
    * testsuite/gas/ppc/future.s: New test.
    * testsuite/gas/ppc/future.d: Likewise.
This commit is contained in:
Abhay Kandpal
2025-11-13 12:44:42 -05:00
parent c5a59db742
commit fd3b1c4f4c
3 changed files with 3 additions and 0 deletions

View File

@@ -108,4 +108,5 @@ Disassembly of section \.text:
.*: (da af 74 7c|7c 74 af da) stxvpb32x vs34,r20,r21
.*: (4c 06 00 7c|7c 00 06 4c) ccmclean
.*: (cc 06 00 7c|7c 00 06 cc) ccmrl
.*: (26 22 40 7c|7c 40 22 26) mtlpl r4,r2
#pass

View File

@@ -82,4 +82,5 @@ _start:
stxvpb32x 34, 20, 21
ccmclean
ccmrl
mtlpl 4, 2