Power10 test lsb by byte operation
opcodes/ * ppc-opc.c (powerpc_opcodes): Add xvtlsbb. gas/ * testsuite/gas/ppc/xvtlsbb.d, * testsuite/gas/ppc/xvtlsbb.s: New test. * testsuite/gas/ppc/ppc.exp: Run it.
This commit is contained in:
parent
66ef5847c3
commit
5d57bc3ff9
|
@ -1,3 +1,9 @@
|
|||
2020-05-11 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* testsuite/gas/ppc/xvtlsbb.d,
|
||||
* testsuite/gas/ppc/xvtlsbb.s: New test.
|
||||
* testsuite/gas/ppc/ppc.exp: Run it.
|
||||
|
||||
2020-05-11 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* testsuite/gas/ppc/stringop.d,
|
||||
|
|
|
@ -143,3 +143,4 @@ run_dump_test "genpcv"
|
|||
run_dump_test "bitmanip"
|
||||
run_dump_test "set_bool"
|
||||
run_dump_test "stringop"
|
||||
run_dump_test "xvtlsbb"
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
#as: -mpower10
|
||||
#objdump: -dr -Mpower10
|
||||
|
||||
.*
|
||||
|
||||
|
||||
Disassembly of section \.text:
|
||||
|
||||
0+0 <_start>:
|
||||
.*: (f0 02 ff 6e|6e ff 02 f0) xvtlsbb vs63
|
||||
.*: (f0 82 07 6c|6c 07 82 f0) xvtlsbb cr1,vs0
|
||||
.*: (f1 02 f7 6e|6e f7 02 f1) xvtlsbb cr2,vs62
|
||||
.*: (f1 82 0f 6c|6c 0f 82 f1) xvtlsbb cr3,vs1
|
||||
.*: (f2 02 ef 6e|6e ef 02 f2) xvtlsbb cr4,vs61
|
||||
.*: (f2 82 17 6c|6c 17 82 f2) xvtlsbb cr5,vs2
|
||||
.*: (f3 02 e7 6e|6e e7 02 f3) xvtlsbb cr6,vs60
|
||||
.*: (f3 82 1f 6c|6c 1f 82 f3) xvtlsbb cr7,vs3
|
|
@ -0,0 +1,10 @@
|
|||
.text
|
||||
_start:
|
||||
xvtlsbb 0,63
|
||||
xvtlsbb 1,0
|
||||
xvtlsbb 2,62
|
||||
xvtlsbb 3,1
|
||||
xvtlsbb 4,61
|
||||
xvtlsbb 5,2
|
||||
xvtlsbb 6,60
|
||||
xvtlsbb 7,3
|
|
@ -1,3 +1,7 @@
|
|||
2020-05-11 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* ppc-opc.c (powerpc_opcodes): Add xvtlsbb.
|
||||
|
||||
2020-05-11 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* ppc-opc.c (powerpc_opcodes): Add vstribl, vstribr, vstrihl, vstrihr,
|
||||
|
|
|
@ -8085,6 +8085,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
|
|||
{"xxgenpcvdm", X(60,949), XX1_MASK, POWER10, PPCVLE, {XT6, VB, UIMM}},
|
||||
{"xvxexpdp", XX2VA(60,475,0),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}},
|
||||
{"xvxsigdp", XX2VA(60,475,1),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}},
|
||||
{"xvtlsbb", XX2VA(60,475,2),XX2BF_MASK, POWER10, PPCVLE, {OBF, XB6}},
|
||||
{"xxbrh", XX2VA(60,475,7),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}},
|
||||
{"xvxexpsp", XX2VA(60,475,8),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}},
|
||||
{"xvxsigsp", XX2VA(60,475,9),XX2_MASK, PPCVSX3, PPCVLE, {XT6, XB6}},
|
||||
|
|
Loading…
Reference in New Issue