diff options
author | Dmitry Selyutin <ghostmansd@gmail.com> | 2022-07-25 16:10:17 +0300 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-08-11 18:38:29 +0930 |
commit | 4c388a8e2c65fc997e7b84f9c5f1f5608e807455 (patch) | |
tree | 819da476d731722173c7eade3902e0451f5394a3 /gas | |
parent | 5eafd6deb4bb5e41e3a023688ac12ad9d45cae17 (diff) | |
download | gdb-4c388a8e2c65fc997e7b84f9c5f1f5608e807455.zip gdb-4c388a8e2c65fc997e7b84f9c5f1f5608e807455.tar.gz gdb-4c388a8e2c65fc997e7b84f9c5f1f5608e807455.tar.bz2 |
ppc/svp64: support svstep instructions
https://libre-soc.org/openpower/sv/
https://libre-soc.org/openpower/sv/svstep/
https://libre-soc.org/openpower/isa/simplev/
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/gas/ppc/ppc.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/svstep.d | 13 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/svstep.s | 5 |
3 files changed, 19 insertions, 0 deletions
diff --git a/gas/testsuite/gas/ppc/ppc.exp b/gas/testsuite/gas/ppc/ppc.exp index 70d6960..d126d03 100644 --- a/gas/testsuite/gas/ppc/ppc.exp +++ b/gas/testsuite/gas/ppc/ppc.exp @@ -156,3 +156,4 @@ run_dump_test "pr27676" run_dump_test "raw" run_dump_test "setvl" +run_dump_test "svstep" diff --git a/gas/testsuite/gas/ppc/svstep.d b/gas/testsuite/gas/ppc/svstep.d new file mode 100644 index 0000000..5ce2c25 --- /dev/null +++ b/gas/testsuite/gas/ppc/svstep.d @@ -0,0 +1,13 @@ +#as: -mlibresoc +#objdump: -dr -Mlibresoc + +.*: file format .* + + +Disassembly of section \.text: +0+ <\.text>: +.*: (27 00 00 58|58 00 00 27) svstep. r0,1,0 +.*: (26 00 00 58|58 00 00 26) svstep r0,1,0 +.*: (26 00 e0 5b|5b e0 00 26) svstep r31,1,0 +.*: (26 7e 00 58|58 00 7e 26) svstep r0,64,0 +.*: (66 00 00 58|58 00 00 66) svstep r0,1,1 diff --git a/gas/testsuite/gas/ppc/svstep.s b/gas/testsuite/gas/ppc/svstep.s new file mode 100644 index 0000000..b073b2e --- /dev/null +++ b/gas/testsuite/gas/ppc/svstep.s @@ -0,0 +1,5 @@ +svstep. 0,1,0 +svstep 0,1,0 +svstep 31,1,0 +svstep 0,64,0 +svstep 0,1,1 |