diff options
author | Dmitry Selyutin <ghostmansd@gmail.com> | 2022-07-25 16:10:20 +0300 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-08-11 18:38:29 +0930 |
commit | 537710a69cf440250c27a59b7d01b5a5a1a9b462 (patch) | |
tree | 732c09bbd4266e81a9a53ab1561d5c780b79e8fb /gas/testsuite | |
parent | df0030b531e13446c010c33f1c1c7400c9777807 (diff) | |
download | gdb-537710a69cf440250c27a59b7d01b5a5a1a9b462.zip gdb-537710a69cf440250c27a59b7d01b5a5a1a9b462.tar.gz gdb-537710a69cf440250c27a59b7d01b5a5a1a9b462.tar.bz2 |
ppc/svp64: support svindex instruction
https://libre-soc.org/openpower/sv/
https://libre-soc.org/openpower/sv/remap/#svindex
https://libre-soc.org/openpower/isa/simplev/
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/ppc/ppc.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/svindex.d | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/svindex.s | 8 |
3 files changed, 25 insertions, 0 deletions
diff --git a/gas/testsuite/gas/ppc/ppc.exp b/gas/testsuite/gas/ppc/ppc.exp index 9f02fa7..53c2d0d 100644 --- a/gas/testsuite/gas/ppc/ppc.exp +++ b/gas/testsuite/gas/ppc/ppc.exp @@ -159,3 +159,4 @@ run_dump_test "setvl" run_dump_test "svstep" run_dump_test "svshape" run_dump_test "svremap" +run_dump_test "svindex" diff --git a/gas/testsuite/gas/ppc/svindex.d b/gas/testsuite/gas/ppc/svindex.d new file mode 100644 index 0000000..f573b85 --- /dev/null +++ b/gas/testsuite/gas/ppc/svindex.d @@ -0,0 +1,16 @@ +#as: -mlibresoc +#objdump: -dr -Mlibresoc + +.*: file format .* + + +Disassembly of section \.text: +0+ <\.text>: +.*: (29 00 00 58|58 00 00 29) svindex 0,0,1,0,0,0,0 +.*: (29 00 e0 5b|5b e0 00 29) svindex 31,0,1,0,0,0,0 +.*: (29 00 1f 58|58 1f 00 29) svindex 0,31,1,0,0,0,0 +.*: (29 f8 00 58|58 00 f8 29) svindex 0,0,32,0,0,0,0 +.*: (29 06 00 58|58 00 06 29) svindex 0,0,1,3,0,0,0 +.*: (29 01 00 58|58 00 01 29) svindex 0,0,1,0,1,0,0 +.*: (a9 00 00 58|58 00 00 a9) svindex 0,0,1,0,0,1,0 +.*: (69 00 00 58|58 00 00 69) svindex 0,0,1,0,0,0,1 diff --git a/gas/testsuite/gas/ppc/svindex.s b/gas/testsuite/gas/ppc/svindex.s new file mode 100644 index 0000000..ab256c4 --- /dev/null +++ b/gas/testsuite/gas/ppc/svindex.s @@ -0,0 +1,8 @@ +svindex 0,0,1,0,0,0,0 +svindex 31,0,1,0,0,0,0 +svindex 0,31,1,0,0,0,0 +svindex 0,0,32,0,0,0,0 +svindex 0,0,1,3,0,0,0 +svindex 0,0,1,0,1,0,0 +svindex 0,0,1,0,0,1,0 +svindex 0,0,1,0,0,0,1 |