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