diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1996-03-07 22:50:09 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1996-03-07 22:50:09 +0000 |
commit | d633cb253ef4672fd805e7b294d0181f180674d2 (patch) | |
tree | bba239902a25da5294091953a2172e3d77135823 /gas | |
parent | a600cd3f382868d6571ecee699c08cbf571d25c0 (diff) | |
download | gdb-d633cb253ef4672fd805e7b294d0181f180674d2.zip gdb-d633cb253ef4672fd805e7b294d0181f180674d2.tar.gz gdb-d633cb253ef4672fd805e7b294d0181f180674d2.tar.bz2 |
Test common synthetic insns (applicable to v8 or v9).
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/gas/sparc/.Sanitize | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/sparc/synth.d | 11 | ||||
-rw-r--r-- | gas/testsuite/gas/sparc/synth.s | 7 |
3 files changed, 20 insertions, 0 deletions
diff --git a/gas/testsuite/gas/sparc/.Sanitize b/gas/testsuite/gas/sparc/.Sanitize index ef14578..e67b6ef 100644 --- a/gas/testsuite/gas/sparc/.Sanitize +++ b/gas/testsuite/gas/sparc/.Sanitize @@ -33,6 +33,8 @@ prefetch.d prefetch.s rdpr.d rdpr.s +synth.d +synth.s synth64.d synth64.s sparc.exp diff --git a/gas/testsuite/gas/sparc/synth.d b/gas/testsuite/gas/sparc/synth.d new file mode 100644 index 0000000..e65cfd3 --- /dev/null +++ b/gas/testsuite/gas/sparc/synth.d @@ -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 diff --git a/gas/testsuite/gas/sparc/synth.s b/gas/testsuite/gas/sparc/synth.s new file mode 100644 index 0000000..375709e --- /dev/null +++ b/gas/testsuite/gas/sparc/synth.s @@ -0,0 +1,7 @@ +# sparc64 synthetic insns + .text +foo: + not %g1,%g2 + not %g1 + neg %g1,%g2 + neg %g1 |