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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [sh/] [sh64/] [err-ptb-2.s] - Blame information for rev 38

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

Line No. Rev Author Line
1 38 julius
! Check that PTB to a assembly-time-resolvable SHcompact operand gets an
2
! error.  Mostly like err-ptb-1.s, except we also specify --no-expand.
3
 
4
! { dg-do assemble }
5
! { dg-options "--abi=32 --no-expand" }
6
 
7
        .text
8
        .mode SHmedia
9
start:
10
        ptb shmediasymbol1,tr1          ! { dg-error "PTB operand is a SHmedia symbol" }
11
shmediasymbol3:
12
        ptb shcompactsymbol1,tr1
13
        pta shcompactsymbol2,tr3        ! { dg-error "PTA operand is a SHcompact symbol" }
14
shmediasymbol1:
15
        ptb shmediasymbol2,tr2          ! { dg-error "PTB operand is a SHmedia symbol" }
16
 
17
        .mode SHcompact
18
shcompact:
19
        nop
20
        nop
21
shcompactsymbol2:
22
        nop
23
        nop
24
shcompactsymbol1:
25
        nop
26
        nop
27
 
28
        .mode SHmedia
29
shmedia:
30
        nop
31
shmediasymbol2:
32
        nop
33
        ptb shmediasymbol3,tr3          ! { dg-error "PTB operand is a SHmedia symbol" }
34
        nop

powered by: WebSVN 2.1.0

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