diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1995-09-14 20:12:01 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1995-09-14 20:12:01 +0000 |
commit | 8567205d489c1198bd3d6d0574af672e2d2bd8fa (patch) | |
tree | a17711be85ef20e730ed076a55cdfa2a7f8ce9a7 | |
parent | 4444f56bac080fe6fe14d5194a0f2165e8cd152d (diff) | |
download | gdb-8567205d489c1198bd3d6d0574af672e2d2bd8fa.zip gdb-8567205d489c1198bd3d6d0574af672e2d2bd8fa.tar.gz gdb-8567205d489c1198bd3d6d0574af672e2d2bd8fa.tar.bz2 |
* gas/sparc/{wrdr.[ds],rdpr.[ds]}: New tests.
* gas/sparc/sparc.exp: Run them.
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/sparc/.Sanitize | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/sparc/rdpr.d | 24 | ||||
-rw-r--r-- | gas/testsuite/gas/sparc/rdpr.s | 19 | ||||
-rw-r--r-- | gas/testsuite/gas/sparc/wrpr.d | 22 | ||||
-rw-r--r-- | gas/testsuite/gas/sparc/wrpr.s | 17 |
6 files changed, 91 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 9dba981..8ce8d5b 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 14 13:10:10 1995 Doug Evans <dje@canuck.cygnus.com> + + * gas/sparc/{wrdr.[ds],rdpr.[ds]}: New tests. + * gas/sparc/sparc.exp: Run them. + Wed Sep 13 16:35:51 1995 Ian Lance Taylor <ian@cygnus.com> * Makefile.in, configure.in: Remove; the testsuite is now run diff --git a/gas/testsuite/gas/sparc/.Sanitize b/gas/testsuite/gas/sparc/.Sanitize index 366e5cc..15f6837 100644 --- a/gas/testsuite/gas/sparc/.Sanitize +++ b/gas/testsuite/gas/sparc/.Sanitize @@ -29,9 +29,13 @@ membar.d membar.s prefetch.d prefetch.s +rdpr.d +rdpr.s synth64.d synth64.s sparc.exp +wrpr.d +wrpr.s Things-to-lose: diff --git a/gas/testsuite/gas/sparc/rdpr.d b/gas/testsuite/gas/sparc/rdpr.d new file mode 100644 index 0000000..af72aba --- /dev/null +++ b/gas/testsuite/gas/sparc/rdpr.d @@ -0,0 +1,24 @@ +#objdump: -dr +#name: sparc64 rdpr + +.*: +file format .*sparc.* + +No symbols in .* +Disassembly of section .text: +0+0000 rdpr %tpc, %g1 +0+0004 rdpr %tnpc, %g2 +0+0008 rdpr %tstate, %g3 +0+000c rdpr %tt, %g4 +0+0010 rdpr %tick, %g5 +0+0014 rdpr %tba, %g6 +0+0018 rdpr %pstate, %g7 +0+001c rdpr %tl, %o0 +0+0020 rdpr %pil, %o1 +0+0024 rdpr %cwp, %o2 +0+0028 rdpr %cansave, %o3 +0+002c rdpr %canrestore, %o4 +0+0030 rdpr %cleanwin, %o5 +0+0034 rdpr %otherwin, %sp +0+0038 rdpr %wstate, %o7 +0+003c rdpr %fq, %l0 +0+0040 rdpr %ver, %l1 diff --git a/gas/testsuite/gas/sparc/rdpr.s b/gas/testsuite/gas/sparc/rdpr.s new file mode 100644 index 0000000..f44619c --- /dev/null +++ b/gas/testsuite/gas/sparc/rdpr.s @@ -0,0 +1,19 @@ +# Test rdpr + .text + rdpr %tpc,%g1 + rdpr %tnpc,%g2 + rdpr %tstate,%g3 + rdpr %tt,%g4 + rdpr %tick,%g5 + rdpr %tba,%g6 + rdpr %pstate,%g7 + rdpr %tl,%o0 + rdpr %pil,%o1 + rdpr %cwp,%o2 + rdpr %cansave,%o3 + rdpr %canrestore,%o4 + rdpr %cleanwin,%o5 + rdpr %otherwin,%o6 + rdpr %wstate,%o7 + rdpr %fq,%l0 + rdpr %ver,%l1 diff --git a/gas/testsuite/gas/sparc/wrpr.d b/gas/testsuite/gas/sparc/wrpr.d new file mode 100644 index 0000000..62ece23 --- /dev/null +++ b/gas/testsuite/gas/sparc/wrpr.d @@ -0,0 +1,22 @@ +#objdump: -dr +#name: sparc64 wrpr + +.*: +file format .*sparc.* + +No symbols in .* +Disassembly of section .text: +0+0000 wrpr %g1, %tpc +0+0004 wrpr %g2, %tnpc +0+0008 wrpr %g3, %tstate +0+000c wrpr %g4, %tt +0+0010 wrpr %g5, %tick +0+0014 wrpr %g6, %tba +0+0018 wrpr %g7, %pstate +0+001c wrpr %o0, %tl +0+0020 wrpr %o1, %pil +0+0024 wrpr %o2, %cwp +0+0028 wrpr %o3, %cansave +0+002c wrpr %o4, %canrestore +0+0030 wrpr %o5, %cleanwin +0+0034 wrpr %sp, %otherwin +0+0038 wrpr %o7, %wstate diff --git a/gas/testsuite/gas/sparc/wrpr.s b/gas/testsuite/gas/sparc/wrpr.s new file mode 100644 index 0000000..67fd450 --- /dev/null +++ b/gas/testsuite/gas/sparc/wrpr.s @@ -0,0 +1,17 @@ +# Test wrpr + .text + wrpr %g1,%tpc + wrpr %g2,%tnpc + wrpr %g3,%tstate + wrpr %g4,%tt + wrpr %g5,%tick + wrpr %g6,%tba + wrpr %g7,%pstate + wrpr %o0,%tl + wrpr %o1,%pil + wrpr %o2,%cwp + wrpr %o3,%cansave + wrpr %o4,%canrestore + wrpr %o5,%cleanwin + wrpr %o6,%otherwin + wrpr %o7,%wstate |