OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [arm/] [group-reloc-ldr-parsing-bad.s] - Blame information for rev 156

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
@ Tests that are supposed to fail during parsing of LDR group relocations.
2
 
3
        .text
4
 
5
@ No NC variants exist for the LDR relocations.
6
 
7
        ldr     r0, [r0, #:pc_g0_nc:(f)]
8
        ldr     r0, [r0, #:pc_g1_nc:(f)]
9
        ldr     r0, [r0, #:sb_g0_nc:(f)]
10
        ldr     r0, [r0, #:sb_g1_nc:(f)]
11
 
12
        str     r0, [r0, #:pc_g0_nc:(f)]
13
        str     r0, [r0, #:pc_g1_nc:(f)]
14
        str     r0, [r0, #:sb_g0_nc:(f)]
15
        str     r0, [r0, #:sb_g1_nc:(f)]
16
 
17
        ldrb    r0, [r0, #:pc_g0_nc:(f)]
18
        ldrb    r0, [r0, #:pc_g1_nc:(f)]
19
        ldrb    r0, [r0, #:sb_g0_nc:(f)]
20
        ldrb    r0, [r0, #:sb_g1_nc:(f)]
21
 
22
        strb    r0, [r0, #:pc_g0_nc:(f)]
23
        strb    r0, [r0, #:pc_g1_nc:(f)]
24
        strb    r0, [r0, #:sb_g0_nc:(f)]
25
        strb    r0, [r0, #:sb_g1_nc:(f)]
26
 
27
@ Instructions with a gibberish relocation code.
28
 
29
        ldr     r0, [r0, #:foo:(f)]
30
        str     r0, [r0, #:foo:(f)]
31
        ldrb    r0, [r0, #:foo:(f)]
32
        strb    r0, [r0, #:foo:(f)]
33
 

powered by: WebSVN 2.1.0

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