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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [sh/] [sh64/] [err-movi-noexp-1.s] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
! Check that we get errors for MOVI operands out-of-range with -no-expand.
2
 
3
! { dg-do assemble }
4
! { dg-options "--abi=32 --isa=shmedia -no-expand" }
5
 
6
        .text
7
start:
8
        movi  externalsym + 123,r3
9
        movi  65535,r3          ! { dg-error "not a 16-bit signed value" }
10
        movi  65536,r3          ! { dg-error "not a 16-bit signed value" }
11
        movi  65535 << 16,r3    ! { dg-error "not a 16-bit signed value" }
12
        movi  32767,r3
13
        movi  32768,r3          ! { dg-error "not a 16-bit signed value" }
14
        movi  32767 << 16,r3    ! { dg-error "not a 16-bit signed value" }
15
        movi  -32768,r3
16
        movi  -32769,r3         ! { dg-error "not a 16-bit signed value" }
17
        movi  -32768 << 16,r3   ! { dg-error "not a 16-bit signed value" }
18
        movi  localsym + 73,r4
19
        movi  forwardsym - 42,r4
20
        .set forwardsym,47
21
 
22
        .data
23
localsym:
24
        .long 1

powered by: WebSVN 2.1.0

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