Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / sh / sh64 / err-pt-1.s
1 ! Check that we get errors for a PT operand out of range with -no-relax.
2
3 ! { dg-do assemble }
4 ! { dg-options "--abi=32 --no-expand" }
5
6         .mode SHmedia
7 start:
8         nop
9 start2:
10         pt      x0,tr3          ! { dg-error "operand out of range" }
11 x1:
12         pt      x0,tr4
13         .space 32767*4-4,0
14 x0:
15         pt      x1,tr5
16         pt      x1,tr6
17         pt      x1,tr6          ! { dg-error "operand out of range" }
18         pt      x1,tr7          ! { dg-error "operand out of range" }