repo.or.cz
/
tinycc
/
miki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Some in-between fixes (See Changelog for details).
[tinycc/miki.git]
/
alloca86-bt.S
blob
50a671ef36cff4a87b538d256a96f854c4f93bd7
1
/* ---------------------------------------------- */
2
/* alloca86b.S */
3
4
.globl __bound___alloca
5
6
__bound___alloca:
7
pop %edx
8
pop %eax
9
mov %eax, %ecx
10
add $3,%eax
11
and $-4,%eax
12
jz p6
13
14
p4:
15
cmp $4096,%eax
16
jle p5
17
sub $4096,%esp
18
sub $4096,%eax
19
test %eax,(%esp)
20
jmp p4
21
22
p5:
23
sub %eax,%esp
24
mov %esp,%eax
25
26
push %edx
27
push %eax
28
29
push %ecx
30
push %eax
31
call __bound_new_region
32
add $8, %esp
33
34
pop %eax
35
pop %edx
36
37
p6:
38
push %edx
39
push %edx
40
ret
41
42
/* ---------------------------------------------- */