19990502 sourceware import
[deliverable/binutils-gdb.git] / gas / testsuite / gas / sparc / mism-1.s
1 ! Test architecture mismatch warnings.
2 ! We don't test every possible mismatch, we just want to be reasonable sure
3 ! the mismatch checking code works.
4 !
5 ! { dg-do assemble { target sparc*-*-* } }
6 ! { dg-options -Av6 }
7
8 ! sparclite
9
10 divscc %g1,%g2,%g3 ! { dg-error "mismatch|sparclite" "sparclite divscc mismatch" }
11
12 scan %g1,%g2,%g3 ! { dg-error "mismatch|sparclite" "sparclite scan mismatch" }
13
14 ! v9
15
16 movrz %g1,%g2,%g3 ! { dg-error "mismatch|v9" "v9 fp reg mismatch" }
17
18 ! v9a
19
20 shutdown ! { dg-error "mismatch|v9a" "v9a shutdown mismatch" }
21
22 foo:
This page took 0.031067 seconds and 4 git commands to generate.