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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [m32r/] [interfere.s] - Blame information for rev 438

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

Line No. Rev Author Line
1 38 julius
; Test error messages in instances where output operands interfere.
2
 
3
; { dg-do assemble { target m32r-*-* } }
4
; { dg-options -m32rx }
5
 
6
interfere:
7
        trap #1      || cmp  r3, r4     ; { dg-error "write to the same" }
8
                ; { dg-warning "same" "out->in" { target *-*-* } { 7 } }
9
        rte          || addx r3, r4     ; { dg-error "write to the same" }
10
                ; { dg-warning "same" "out->in" { target *-*-* } { 9 } }
11
        cmp  r1, r2  || addx r3, r4     ; { dg-error "write to the same" }
12
                ; { dg-warning "same" "out->in" { target *-*-* } { 11 } }
13
        mvtc r0, psw || addx r1, r4     ; { dg-error "write to the same" }
14
                ; { dg-warning "same" "out->in" { target *-*-* } { 13 } }

powered by: WebSVN 2.1.0

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