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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [sh/] [err-mova.s] - Blame information for rev 832

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
! { dg-do assemble }
2
 
3
! Check that an error occurs on mova instructions with an unaligned or
4
! negative offset.
5
 
6
negative:
7
        .word 0
8
 
9
        .align 2
10
start:
11
        mova start, r0      ! { dg-error "negative offset|pcrel too far" }
12
        mova negative, r0   ! { dg-error "negative offset|pcrel too far" }
13
        mova aligned, r0    ! ok
14
        mova unaligned, r0  ! { dg-error "unaligned destination" }
15
 
16
        .align 2
17
aligned:
18
        .word 1
19
unaligned:
20
        .word 2

powered by: WebSVN 2.1.0

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