OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [cris/] [v32-err-10.s] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
; { dg-do assemble }
2
; { dg-options "--march=v32" }
3
 
4
; Check that explicit contants out-of-range for addo are
5
; identified.  We don't check addoq here, since that range check
6
; is done at a later stage which isn't entered if there were
7
; errors.
8
 
9
 .text
10
here:
11
 addo.b 133,$r0,$acr                    ; { dg-error "not in 8 bit signed range" }
12
 addo.b 128,$r0,$acr                    ; { dg-error "not in 8 bit signed range" }
13
 addo.b -129,$r0,$acr                   ; { dg-error "not in 8 bit signed range" }
14
 addo.b 127,$r0,$acr
15
 addo.b -128,$r0,$acr
16
 addo.w 32768,$r0,$acr                  ; { dg-error "not in 16 bit signed range" }
17
 addo.w -32769,$r0,$acr                 ; { dg-error "not in 16 bit signed range" }
18
 addo.w 32767,$r0,$acr
19
 addo.w -32768,$r0,$acr

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.