83d634e3da
* gas/sparc/rdhpr.s: New test. * gas/sparc/rdhpr.d: New test. * gas/sparc/wrhpr.s: New test. * gas/sparc/wrhpr.d: New test. * gas/sparc/window.s: New test. * gas/sparc/window.d: New test. * gas/sparc/rdpr.s: Add case for reading %gl register. * gas/sparc/rdpr.d: Likewise. * gas/sparc/wrpr.s: Add case for writing %gl register. * gas/sparc/wrpr.d: Likewise. * gas/sparc/sparc.exp: Update for new tests.
20 lines
317 B
ArmAsm
20 lines
317 B
ArmAsm
# 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 %gl,%l1
|
|
rdpr %ver,%l2
|