Home | History | Annotate | Download | only in sparc
      1 ! Test architecture mismatch warnings from v9b upwards.
      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 -Av9b }
      7 
      8 ! v9d
      9 
     10         addxc %g1,%g2,%g3               ! { dg-error "mismatch|v9d" "v9d addxc mismatch" }
     11 
     12 ! v9e
     13 
     14 	aes_kexpand0 %f0,%f2,%f4	! { dg-error "mismatch|v9e" "v9b aes_kexpand0  mismatch" }
     15 
     16 ! v9v
     17 
     18 	fnumaddd %f0,%f2,%f0,%f4	! { dg-error "mismatch|v9v" "v9v fnumaddd  mismatch" }
     19 
     20 ! v9m
     21 
     22 	xmpmul 4			! { dg-error "mismatch|v9m" "v9m xmpmul  mismatch" }
     23 foo:
     24