~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/cfi/cfi-sparc64-1.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
#; $ as -o test.o -64 gas-cfi-test.s && gcc -m64 -nostdlib -o test test.o
 
2
 
 
3
        .file   "a.c"
 
4
        .text
 
5
        .align  4
 
6
        .globl foo
 
7
        .type   foo, @function
 
8
foo:
 
9
        .cfi_startproc
 
10
        save    %sp, -192, %sp
 
11
        .cfi_def_cfa_register   %fp
 
12
        .cfi_window_save
 
13
        .cfi_register   %o7, %i7
 
14
        add     %i0, 1, %o0
 
15
        add     %i0, 2, %i0
 
16
        call    bar, 0
 
17
        sra     %o0, 0, %o0
 
18
        sra     %i0, 0, %i0
 
19
        call    bar, 0
 
20
        mov     %i0, %o0
 
21
        add     %o0, 3, %o0
 
22
        sra     %o0, 0, %o0
 
23
        ret
 
24
        restore %g0, %o0, %o0
 
25
        .cfi_endproc
 
26
        .size   foo, .-foo