Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / sh / err-sh4a-fp.s
1 ! { dg-do assemble }
2
3         .text
4         .p2align 2
5
6         fpchg   fpul            ! { dg-error "excess operands" }
7
8         fsrra   fr1, fr2        ! { dg-error "excess operands" }
9         fsrra                   ! { dg-error "invalid operands|missing operand" }
10         fsrra   fpul            ! { dg-error "invalid operands" }
11         fsrra   dr0, dr2        ! { dg-error "invalid operands" }
12
13         fsca    dr0, fpul       ! { dg-error "invalid operands" }
14         fsca    fpul, fr0       ! { dg-error "invalid operands" }
15         fsca    fpul            ! { dg-error "invalid operands|missing operand" }