* gas/sparc/{wrdr.[ds],rdpr.[ds]}: New tests.
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 14 Sep 1995 20:12:01 +0000 (20:12 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 14 Sep 1995 20:12:01 +0000 (20:12 +0000)
* gas/sparc/sparc.exp: Run them.

gas/testsuite/ChangeLog
gas/testsuite/gas/sparc/.Sanitize
gas/testsuite/gas/sparc/rdpr.d [new file with mode: 0644]
gas/testsuite/gas/sparc/rdpr.s [new file with mode: 0644]
gas/testsuite/gas/sparc/wrpr.d [new file with mode: 0644]
gas/testsuite/gas/sparc/wrpr.s [new file with mode: 0644]

index 9dba98106389da3cc85f3dd93123fd12129f6ada..8ce8d5b2e009c1c22fb2b252572b28dcd6d4f4a7 100644 (file)
@@ -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
index 366e5ccc0ec366f977003d3db8d0dc4826ac94fe..15f683765a66cee0041d405a082d63d9ff7a6c54 100644 (file)
@@ -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 (file)
index 0000000..af72aba
--- /dev/null
@@ -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 (file)
index 0000000..f44619c
--- /dev/null
@@ -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 (file)
index 0000000..62ece23
--- /dev/null
@@ -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 (file)
index 0000000..67fd450
--- /dev/null
@@ -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
This page took 0.049871 seconds and 4 git commands to generate.