mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
(synth64.[ds]): New testcase.
This commit is contained in:
@ -29,6 +29,8 @@ membar.d
|
||||
membar.s
|
||||
prefetch.d
|
||||
prefetch.s
|
||||
synth64.d
|
||||
synth64.s
|
||||
sparc.exp
|
||||
|
||||
Things-to-lose:
|
||||
|
18
gas/testsuite/gas/sparc/synth64.d
Normal file
18
gas/testsuite/gas/sparc/synth64.d
Normal file
@ -0,0 +1,18 @@
|
||||
#objdump: -dr
|
||||
#name: sparc64 synth64
|
||||
|
||||
.*: +file format .*sparc.*
|
||||
|
||||
Disassembly of section .text:
|
||||
0+0000 <foo-4> iprefetch 0+0004 <foo>
|
||||
0+0004 <foo> signx %g1, %g2
|
||||
0+0008 <foo\+4> clruw %g1, %g2
|
||||
0+000c <foo\+8> cas \[ %g1 \], %g2, %g3
|
||||
0+0010 <foo\+c> casl \[ %g1 \], %g2, %g3
|
||||
0+0014 <foo\+10> casx \[ %g1 \], %g2, %g3
|
||||
0+0018 <foo\+14> casxl \[ %g1 \], %g2, %g3
|
||||
0+001c <foo\+18> clrx \[ %g1 \+ %g2 \]
|
||||
0+0020 <foo\+1c> clrx \[ %g1 \]
|
||||
0+0024 <foo\+20> clrx \[ %g1 \+ 1 \]
|
||||
0+0028 <foo\+24> clrx \[ %g1 \+ 0x2a \]
|
||||
0+002c <foo\+28> clrx \[ 0x42 \]
|
16
gas/testsuite/gas/sparc/synth64.s
Normal file
16
gas/testsuite/gas/sparc/synth64.s
Normal file
@ -0,0 +1,16 @@
|
||||
# sparc64 synthetic insns
|
||||
.text
|
||||
iprefetch foo
|
||||
foo:
|
||||
signx %g1,%g2
|
||||
clruw %g1,%g2
|
||||
cas [%g1],%g2,%g3
|
||||
casl [%g1],%g2,%g3
|
||||
casx [%g1],%g2,%g3
|
||||
casxl [%g1],%g2,%g3
|
||||
|
||||
clrx [%g1+%g2]
|
||||
clrx [%g1]
|
||||
clrx [%g1+1]
|
||||
clrx [42+%g1]
|
||||
clrx [0x42]
|
Reference in New Issue
Block a user