initial import
[ICEs.git] / hppa-O1 / vfprintf.s
1 .LEVEL 1.1
2 .text
3 .align 4
4 .type buffered_vfprintf, @function
5 buffered_vfprintf:
6 .PROC
7 .CALLINFO FRAME=8256,CALLS,SAVE_RP,ENTRY_GR=4
8 .ENTRY
9 stw %r2,-20(%r30)
10 addil L'8256,%r30
11 ldo R'8256(%r1),%r30
12 stw %r5,-56(%r30)
13 stw %r4,-52(%r30)
14 stw %r19,-32(%r30)
15 copy %r26,%r5
16 ldil L'-16384,%r20
17 ldo 8136(%r20),%r20
18 addl %r30,%r20,%r28
19 stw %r28,0(%r28)
20 ldo 4(%r26),%r4
21 ldi 0,%r2
22 ldi 1,%r29
23 #APP
24 0:
25 copy %r4, %r26
26 copy %r2, %r25
27 copy %r29, %r24
28 ble 0xb0(%sr2, %r0)
29 ldi 0, %r20
30 cmpib,=,n 11,%r21,0b
31 nop
32 copy %r28, %r4 /* here */
33 sub %r0, %r21, %r21
34 copy %r21, %r29 /* here */
35
36 #NO_APP
37 ldw -56(%r30),%r5
38 ldw -52(%r30),%r4
39 addil L'-8256,%r30
40 ldo R'-8256(%r1),%r30
41 ldw -20(%r30),%r2
42 bv,n %r0(%r2)
43 .EXIT
44 .PROCEND
45 .size buffered_vfprintf, .-buffered_vfprintf
46 .align 4
47 .globl foo
48 .type foo, @function
49 foo:
50 .PROC
51 .CALLINFO FRAME=64,CALLS,SAVE_RP,ENTRY_GR=3
52 .ENTRY
53 stw %r2,-20(%r30)
54 stwm %r4,64(%r30)
55 bl buffered_vfprintf,%r2
56 stw %r19,-32(%r30)
57 ldw -84(%r30),%r2
58 bv %r0(%r2)
59 ldwm -64(%r30),%r4
60 .EXIT
61 .PROCEND
62 .size foo, .-foo
63 .ident "GCC: (GNU) 4.1.1 (Gentoo 4.1.1-r2)"