~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to src/gc/alpha_mach_dep.S

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2006-06-21 09:21:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060621092121-txz1f21lj0wh0f67
Tags: 0.9h-20060617-1
* New upstream version
* Updated standards version without real changes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 # $Id: alpha_mach_dep.S,v 1.2 2004/10/29 10:27:18 jjgarcia Exp $
2
1
        .arch ev6
3
2
 
4
3
        .text
12
11
        .mask   0x04000000, 0
13
12
        .frame  $sp, 16, $26, 0
14
13
 
15
 
 # $0           integer result
16
 
 # $1-$8        temp regs - not preserved cross calls
17
 
 # $9-$15       call saved regs
18
 
 # $16-$21      argument regs - not preserved cross calls
19
 
 # $22-$28      temp regs - not preserved cross calls
20
 
 # $29          global pointer - not preserved cross calls
21
 
 # $30          stack pointer
 
14
/* $0           integer result                                                */
 
15
/* $1-$8        temp regs - not preserved cross calls                         */
 
16
/* $9-$15       call saved regs                                               */
 
17
/* $16-$21      argument regs - not preserved cross calls                     */
 
18
/* $22-$28      temp regs - not preserved cross calls                         */
 
19
/* $29          global pointer - not preserved cross calls                    */
 
20
/* $30          stack pointer                                                 */
22
21
 
23
22
# define call_push(x)                   \
24
23
        mov   x, $16;                   \
33
32
        call_push($14)
34
33
        call_push($15)
35
34
 
36
 
 # $f0-$f1      floating point results
37
 
 # $f2-$f9      call saved regs
38
 
 # $f10-$f30    temp regs - not preserved cross calls
 
35
/* $f0-$f1      floating point results                                        */
 
36
/* $f2-$f9      call saved regs                                               */
 
37
/* $f10-$f30    temp regs - not preserved cross calls                         */
39
38
 
40
 
        # Use the most efficient transfer method for this hardware.
41
 
        # Bit 1 detects the FIX extension, which includes ftoit.
 
39
        /* Use the most efficient transfer method for this hardware. */
 
40
        /* Bit 1 detects the FIX extension, which includes ftoit. */
42
41
        amask   2, $0
43
42
        bne     $0, $use_stack
44
43