~ubuntu-branches/debian/squeeze/ffcall/squeeze

« back to all changes in this revision

Viewing changes to trampoline/proto-sparc64.s

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2010-06-26 15:29:30 UTC
  • mfrom: (5.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100626152930-c09y01gk3szcnykn
Tags: 1.10+cvs20100619-2
Ship to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
        .file   "proto64.c"
 
2
        .version        "01.01"
 
3
.section        ".text"
 
4
        .align 4
 
5
        .global tramp
 
6
        .type    tramp,#function
 
7
        .proc   04
 
8
tramp:
 
9
        !#PROLOGUE# 0
 
10
        save    %sp, -192, %sp
 
11
        !#PROLOGUE# 1
 
12
        sethi   %hi(1934967808), %o0
 
13
        sethi   %hi(1130504192), %o1
 
14
        or      %o0, 785, %o0
 
15
        or      %o1, 341, %o1
 
16
        sllx    %o0, 32, %o0
 
17
        sethi   %hi(305419264), %o4
 
18
        add     %o0, %o1, %o0
 
19
        or      %o4, 632, %o4
 
20
        sethi   %hi(324502528), %o3
 
21
        sethi   %hi(0xbabebc00), %o2
 
22
        sllx    %o4, 32, %o4
 
23
        or      %o3, 869, %o3
 
24
        or      %o2, 704, %o2
 
25
        sethi   %hi(0xdea0fc00), %o1
 
26
        sllx    %o2, 32, %o2
 
27
        or      %o1, 939, %o1
 
28
        call    %o2+%o1, 0
 
29
        stx     %o0, [%o4+%o3]
 
30
        ret
 
31
        restore %g0, %o0, %o0
 
32
.LLfe1:
 
33
        .size    tramp,.LLfe1-tramp
 
34
        .align 4
 
35
        .global jump
 
36
        .type    jump,#function
 
37
        .proc   04
 
38
jump:
 
39
        !#PROLOGUE# 0
 
40
        !#PROLOGUE# 1
 
41
        sethi   %hi(0xbabebc00), %g2
 
42
        sethi   %hi(0xdea0fc00), %g3
 
43
        or      %g2, 704, %g2
 
44
        or      %g3, 939, %g3
 
45
        sllx    %g2, 32, %g2
 
46
        jmp     %g2+%g3
 
47
         nop
 
48
.LLfe2:
 
49
        .size    jump,.LLfe2-jump
 
50
        .ident  "GCC: (GNU) 2.95.2 19991024 (release)"