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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [arm/] [group-reloc-ldrs-parsing-bad.s] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
@ Tests that are supposed to fail during parsing of LDRS group relocations.
2
 
3
        .text
4
 
5
@ No NC variants exist for the LDRS relocations.
6
 
7
        ldrd    r0, [r0, #:pc_g0_nc:(f)]
8
        ldrd    r0, [r0, #:pc_g1_nc:(f)]
9
        ldrd    r0, [r0, #:sb_g0_nc:(f)]
10
        ldrd    r0, [r0, #:sb_g1_nc:(f)]
11
 
12
        strd    r0, [r0, #:pc_g0_nc:(f)]
13
        strd    r0, [r0, #:pc_g1_nc:(f)]
14
        strd    r0, [r0, #:sb_g0_nc:(f)]
15
        strd    r0, [r0, #:sb_g1_nc:(f)]
16
 
17
        ldrh    r0, [r0, #:pc_g0_nc:(f)]
18
        ldrh    r0, [r0, #:pc_g1_nc:(f)]
19
        ldrh    r0, [r0, #:sb_g0_nc:(f)]
20
        ldrh    r0, [r0, #:sb_g1_nc:(f)]
21
 
22
        strh    r0, [r0, #:pc_g0_nc:(f)]
23
        strh    r0, [r0, #:pc_g1_nc:(f)]
24
        strh    r0, [r0, #:sb_g0_nc:(f)]
25
        strh    r0, [r0, #:sb_g1_nc:(f)]
26
 
27
        ldrsh   r0, [r0, #:pc_g0_nc:(f)]
28
        ldrsh   r0, [r0, #:pc_g1_nc:(f)]
29
        ldrsh   r0, [r0, #:sb_g0_nc:(f)]
30
        ldrsh   r0, [r0, #:sb_g1_nc:(f)]
31
 
32
        ldrsb   r0, [r0, #:pc_g0_nc:(f)]
33
        ldrsb   r0, [r0, #:pc_g1_nc:(f)]
34
        ldrsb   r0, [r0, #:sb_g0_nc:(f)]
35
        ldrsb   r0, [r0, #:sb_g1_nc:(f)]
36
 
37
@ Instructions with a gibberish relocation code.
38
        ldrd    r0, [r0, #:foo:(f)]
39
        strd    r0, [r0, #:foo:(f)]
40
        ldrh    r0, [r0, #:foo:(f)]
41
        strh    r0, [r0, #:foo:(f)]
42
        ldrsh   r0, [r0, #:foo:(f)]
43
        ldrsb   r0, [r0, #:foo:(f)]
44
 

powered by: WebSVN 2.1.0

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