Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / cris / v32-err-11.s
1 ; { dg-do assemble }
2 ; { dg-options "--march=v32" }
3
4 ; Check that explicit contants out-of-range for addoq are
5 ; identified.  See also v32-err-10.s.
6
7  .text
8 here:
9  addoq 133,$r0,$acr                     ; { dg-error "not in 8 bit signed range" }
10  addoq 128,$r0,$acr                     ; { dg-error "not in 8 bit signed range" }
11  addoq -129,$r0,$acr                    ; { dg-error "not in 8 bit signed range" }
12  addoq 127,$r0,$acr
13  addoq -128,$r0,$acr