~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/gas/testsuite/gas/d10v/instruction_packing-005.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
        .globl in_data
 
2
        .data
 
3
        .align 1
 
4
        .type    in_data,@object
 
5
        .size    in_data,2
 
6
in_data:
 
7
        .word 8192
 
8
        .text
 
9
        .align 2
 
10
        .globl foo
 
11
        .type    foo,@function
 
12
foo:
 
13
        st r13,@-sp
 
14
        ld r0,@((in_data),r14)
 
15
        bl func_a
 
16
        ld r13,@sp+
 
17
        jmp r13
 
18
.Lfe1:
 
19
        .size    foo,.Lfe1-foo
 
20
        .align 2
 
21
        .globl func_a
 
22
        .type    func_a,@function
 
23
func_a:
 
24
        mv r2,r0
 
25
        ldi r3,0
 
26
.L7:
 
27
        and3 r1,r2,-32768
 
28
        addi r3,1
 
29
        slli r2,1
 
30
        cmpeqi r1,-32768
 
31
        mv r0,r2
 
32
        bnoti r0,15
 
33
        mvf0t r2,r0
 
34
        cmpui r3,8
 
35
        brf0t .L7
 
36
        mv r0,r2
 
37
        jmp r13
 
38
 
 
39
 
 
40