mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
* gas/sparc/{wrdr.[ds],rdpr.[ds]}: New tests.
* gas/sparc/sparc.exp: Run them.
This commit is contained in:
@ -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>
|
Wed Sep 13 16:35:51 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* Makefile.in, configure.in: Remove; the testsuite is now run
|
* Makefile.in, configure.in: Remove; the testsuite is now run
|
||||||
|
@ -29,9 +29,13 @@ membar.d
|
|||||||
membar.s
|
membar.s
|
||||||
prefetch.d
|
prefetch.d
|
||||||
prefetch.s
|
prefetch.s
|
||||||
|
rdpr.d
|
||||||
|
rdpr.s
|
||||||
synth64.d
|
synth64.d
|
||||||
synth64.s
|
synth64.s
|
||||||
sparc.exp
|
sparc.exp
|
||||||
|
wrpr.d
|
||||||
|
wrpr.s
|
||||||
|
|
||||||
Things-to-lose:
|
Things-to-lose:
|
||||||
|
|
||||||
|
24
gas/testsuite/gas/sparc/rdpr.d
Normal file
24
gas/testsuite/gas/sparc/rdpr.d
Normal file
@ -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
|
19
gas/testsuite/gas/sparc/rdpr.s
Normal file
19
gas/testsuite/gas/sparc/rdpr.s
Normal file
@ -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
|
22
gas/testsuite/gas/sparc/wrpr.d
Normal file
22
gas/testsuite/gas/sparc/wrpr.d
Normal file
@ -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
|
17
gas/testsuite/gas/sparc/wrpr.s
Normal file
17
gas/testsuite/gas/sparc/wrpr.s
Normal file
@ -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
|
Reference in New Issue
Block a user