removed obsolete files
[dyninst.git] / rtinst / src / RThpux.S
1
2         .SPACE $PRIVATE$
3                 .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
4                 .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
5                 .SPACE $TEXT$
6                 .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
7                 .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
8                 .IMPORT $global$,DATA
9                 .IMPORT $$dyncall,MILLICODE
10         ;;  gcc_compiled.:
11                 .SPACE $TEXT$
12                 .SUBSPA $CODE$
13                 .align 4
14                 .EXPORT baseCall,ENTRY,PRIV_LEV=3,ARGW0=GR,ARGW1=GR,RTNVAL=GR
15 baseCall
16 _baseCall                 
17                 copy %r30,%r3
18                 stwm %r3,128(%sr0,%r30)
19                 stw %r26, -36(%r30)
20                 stw %r25, -40(%r30)
21                 stw %r24, -44(%r30)
22                 stw %r23, -48(%r30)
23                 ldw -180(%r30), %r2
24                 stw %r2, -52(%r30)
25                 ldw -184(%r30), %r2 
26                 stw %r2, -56(%r30)      
27                 ldw -188(%r30), %r2
28                 stw %r2, -60(%r30)
29                 ldw -192(%r30), %r2
30                 stw %r2, -64(%r30)
31                 stw %r31,-124(%sr0,%r30)
32                 ble 0(%sr4,%r28)
33                 copy %r31,%r2
34                 nop
35                 ldw -124(%sr0,%r30),%r31
36                 ldo 64(%r3),%r30
37                 ldwm -64(%sr0,%r30),%r3
38                 be 0(%sr5,%r31)
39                 nop
40                 .align 4
41                 .EXPORT miniCall,ENTRY,PRIV_LEV=3,ARGW0=GR,ARGW1=GR,RTNVAL=GR
42 miniCall
43 _miniCall
44                 copy %r30,%r3
45                 stwm %r3,128(%sr0,%r30)
46                 stw %r31,-124(%sr0,%r30)
47                 ble 0(%sr4,%r28)
48                 copy %r31,%r2
49                 nop
50                 ldw -124(%sr0,%r30),%r31
51                 ldo 64(%r3),%r30
52                 ldwm -64(%sr0,%r30),%r3
53                 be 0(%sr5,%r31)
54                 nop
55                 .align 4
56                 .EXPORT DYNINSTdyncall,ENTRY,PRIV_LEV=3,ARGW0=GR,ARGW1=GR,RTNVAL=GR
57 DYNINSTdyncall
58 _DYNINSTdyncall
59                 bb,>=,n 22,30,DYNINSTdyncall_lable
60                 depi 0,31,2,%r22        
61                 ldw 4(%sr0,%r22),%r19
62                 ldw 0(%sr0,%r22),%r22
63 DYNINSTdyncall_lable
64                 ldsid (%sr0,%r22),%r1
65                 mtsp %r1,%sr0
66                 be 0(%sr0,%r22)
67                 stw %rp,-24(%sr0,%sp)
68