mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
Test common synthetic insns (applicable to v8 or v9).
This commit is contained in:
@ -33,6 +33,8 @@ prefetch.d
|
|||||||
prefetch.s
|
prefetch.s
|
||||||
rdpr.d
|
rdpr.d
|
||||||
rdpr.s
|
rdpr.s
|
||||||
|
synth.d
|
||||||
|
synth.s
|
||||||
synth64.d
|
synth64.d
|
||||||
synth64.s
|
synth64.s
|
||||||
sparc.exp
|
sparc.exp
|
||||||
|
11
gas/testsuite/gas/sparc/synth.d
Normal file
11
gas/testsuite/gas/sparc/synth.d
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#as: -Av7
|
||||||
|
#objdump: -dr
|
||||||
|
#name: sparc synth
|
||||||
|
|
||||||
|
.*: +file format .*sparc.*
|
||||||
|
|
||||||
|
Disassembly of section .text:
|
||||||
|
0+0000 <foo> xnor %g1, %g0, %g2
|
||||||
|
0+0004 <foo\+4> xnor %g1, %g0, %g1
|
||||||
|
0+0008 <foo\+8> neg %g1, %g2
|
||||||
|
0+000c <foo\+c> neg %g1
|
7
gas/testsuite/gas/sparc/synth.s
Normal file
7
gas/testsuite/gas/sparc/synth.s
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# sparc64 synthetic insns
|
||||||
|
.text
|
||||||
|
foo:
|
||||||
|
not %g1,%g2
|
||||||
|
not %g1
|
||||||
|
neg %g1,%g2
|
||||||
|
neg %g1
|
Reference in New Issue
Block a user