Carsten Haitzler
177af5e235
disable visibility
...
SVN revision: 19681
2006-01-10 07:33:12 +00:00
Carsten Haitzler
53ccb55e39
change headers
...
SVN revision: 19677
2006-01-09 13:38:21 +00:00
Carsten Haitzler
40afcfbd5b
fix warnings
...
SVN revision: 19564
2006-01-06 18:02:51 +00:00
Carsten Haitzler
7554f8ee36
actually make symbol hiding work!
...
SVN revision: 19314
2005-12-27 17:17:31 +00:00
Carsten Haitzler
d73081e84b
fix push/pop to recurse properly
...
SVN revision: 18687
2005-11-29 04:13:02 +00:00
sebastid
95b180caa0
Don't use strlen to check if a string is empty.
...
SVN revision: 18270
2005-11-04 08:16:24 +00:00
Carsten Haitzler
d28cb025f3
shaddap callipygous
...
:)
SVN revision: 17923
2005-10-25 02:39:44 +00:00
Carsten Haitzler
1f9fd57215
include fix
...
SVN revision: 17566
2005-10-15 08:48:43 +00:00
Carsten Haitzler
6b1e15b267
packed poo --
...
SVN revision: 14891
2005-05-22 03:01:22 +00:00
tsauerbeck
5e8af45064
i suck :)
...
SVN revision: 14496
2005-04-29 16:32:39 +00:00
tsauerbeck
5828825639
added getsarg() - copies the specified argument into a string buffer. use this instead of getarg(num, 0) if you want to retrieve all of the string
...
SVN revision: 14492
2005-04-29 14:30:59 +00:00
tsauerbeck
7b41e4e522
include config.h
...
SVN revision: 14188
2005-04-13 20:36:07 +00:00
tsauerbeck
9becc884d2
removed unused function
...
SVN revision: 14187
2005-04-13 20:34:51 +00:00
tsauerbeck
155dc59a6f
removed duplicatestring(), which was horribly broken and pretty useless
...
SVN revision: 14186
2005-04-13 20:27:03 +00:00
tsauerbeck
c1aa21b165
next round of cleanup
...
SVN revision: 14185
2005-04-13 20:16:30 +00:00
tsauerbeck
0335fea64d
properly include config.h
...
SVN revision: 14184
2005-04-13 20:01:23 +00:00
tsauerbeck
eee6e7059d
removed embryo_cc_sclinux.h
...
SVN revision: 14183
2005-04-13 19:52:55 +00:00
tsauerbeck
3559fa001e
cleanup
...
SVN revision: 14182
2005-04-13 19:50:58 +00:00
tsauerbeck
ad337df8cf
fuck windows-isms
...
SVN revision: 14179
2005-04-13 19:45:19 +00:00
tsauerbeck
ab64c38407
removed unused macros
...
SVN revision: 14178
2005-04-13 19:38:53 +00:00
tsauerbeck
8b6e8a16c9
some more cleanup
...
SVN revision: 14177
2005-04-13 19:37:01 +00:00
tsauerbeck
b8d6ef0f60
we don't have no fortify.h
...
SVN revision: 14176
2005-04-13 19:22:58 +00:00
tsauerbeck
ba98ad2841
removed some unused code
...
SVN revision: 14175
2005-04-13 19:21:07 +00:00
tsauerbeck
5154569ca9
s/sc_printf/printf/ i hope i'm not missing anything :)
...
SVN revision: 14174
2005-04-13 19:18:12 +00:00
tsauerbeck
7037866a71
replace ishex() by isxdigits() calls
...
SVN revision: 14063
2005-04-01 15:15:38 +00:00
tsauerbeck
7f9e3204b1
remove no longer needed (crappy) code
...
SVN revision: 14062
2005-04-01 15:11:31 +00:00
tsauerbeck
207ee341a7
sanitized asm file handling
...
SVN revision: 13925
2005-03-26 16:44:12 +00:00
tsauerbeck
b02572979a
use a temporary file for the intermediate asm output
...
SVN revision: 13924
2005-03-26 16:37:25 +00:00
tsauerbeck
62785c2466
Don't simply change the extension of the input file to foo.sma if it doesn't end in '.sma' already. If we really want embryo_cc to only accept *.sma files, it should print an error message if we feed it something other than a *.sma file. To be defined ;)
...
SVN revision: 13922
2005-03-26 15:27:14 +00:00
tsauerbeck
383755fc56
removed some dead code
...
SVN revision: 13921
2005-03-26 15:21:02 +00:00
Carsten Haitzler
1da201a836
autopackage up embryo
...
SVN revision: 13851
2005-03-22 13:10:09 +00:00
tsauerbeck
c748aecba1
fixed switch statements with only one case statement
...
SVN revision: 13517
2005-02-26 14:46:07 +00:00
Carsten Haitzler
f505f667cd
atoi booboo - accepts 1, not 2 params! :)
...
SVN revision: 12824
2005-01-08 08:57:00 +00:00
Carsten Haitzler
5d5a4b4551
fix some typedefs... and cell arrays...
...
SVN revision: 12416
2004-12-09 05:10:42 +00:00
Carsten Haitzler
d0f2572394
getfarg
...
SVN revision: 12414
2004-12-09 02:46:32 +00:00
Carsten Haitzler
f778cf70fb
forcibly shut up about loose indentation!
...
SVN revision: 12399
2004-12-08 06:05:23 +00:00
Carsten Haitzler
feb5571092
hidden symbol support
...
SVN revision: 12252
2004-11-25 05:18:31 +00:00
Carsten Haitzler
c8fee00895
ldflags
...
SVN revision: 12123
2004-11-02 03:34:42 +00:00
tsauerbeck
61c2b9b99c
hopefully noone will ever notice :O
...
SVN revision: 12067
2004-10-29 20:06:39 +00:00
tsauerbeck
2ed098e8c7
made snprintf() return the number of characters written on success, as it advertises to do
...
SVN revision: 12063
2004-10-29 17:21:14 +00:00
Carsten Haitzler
0e38160623
buildie cleanies
...
SVN revision: 11955
2004-10-22 02:40:32 +00:00
Carsten Haitzler
1dfebe2dd4
no brackets!
...
SVN revision: 11943
2004-10-21 07:38:04 +00:00
Carsten Haitzler
f6573ea820
system LDFLAGS
...
SVN revision: 11932
2004-10-21 02:47:58 +00:00
tsauerbeck
63f3874903
better vim modelines for raster code
...
SVN revision: 11910
2004-10-19 16:50:27 +00:00
Carsten Haitzler
78e5656a61
instruction limiter on the amx lets u limit function runs in instruction count
...
SVN revision: 11905
2004-10-19 09:36:35 +00:00
tsauerbeck
381ac7f9f8
init vars before usage
...
SVN revision: 11889
2004-10-15 15:12:05 +00:00
tsauerbeck
75d0539221
use EMBRYO_FLOAT_TO_CELL/CELL_TO_FLOAT macros in the sanity checks. not sure we need this anymore at all since we now use a union to do the casting.
...
SVN revision: 11888
2004-10-15 15:11:26 +00:00
tsauerbeck
4d82a78bdb
cvsignore
...
SVN revision: 11886
2004-10-15 11:52:17 +00:00
Carsten Haitzler
0ecea4b609
0.9.1 version up
...
SVN revision: 11882
2004-10-14 06:09:59 +00:00
Carsten Haitzler
9a09666229
embryo speedups...
...
this makes embryo just about the fastest "scripting vm" around - unless you
tie yourself to a particular cpu and add a jit for that cpu (which embryo
doesnt have).
bash: 4681.700 (estimate - ran only 1/100th of loop)
python: 38.193
ruby: 21.015
perl: 18.925
java (gij-3.4) (no jit): 2.484
embryo: 1.041
java (kaffe) (jit): 0.176
c: 0.157
notice emrbyo is more than double the speed of the java vm. this is all
portable code - no jit tied to 1 cpu. we can add that later per cpu - but for
a vm/scripting solution thats cross-platform and runs anwyeher on 32, 64bit
cpus, ppc, x86, x86-64, alpha, arm, sparc, mips etc. it's pretty damn good.
yes this test is VERY naieve and simple and only tests a subset - but it
tests the general execution and interpreting engine, being able to make
logical decisions, interpret code and do math operations. we should do a more
comprehensive test, but this is pretty good for a simple one.
here's the source used:
bash:
#!/bin/bash
I=1
while [ $I -lt 1000000 ]; do
let I++
done
python:
i = 1
while i < 100000000:
i = i + 1
ruby:
1.upto(100000000) { }
perl:
#!/usr/bin/perl
for ($i = 1; $i < 100000000; $i++) {
}
java:
public class loop {
public static void main(String[] args) {
int i;
for (i = 1; i < 100000000; i++) { }
}
}
embryo:
main() {
new i;
for (i = 1; i < 100000000; i++) { }
}
c:
main() {
int i;
for (i = 1; i < 100000000; i++);
}
SVN revision: 11880
2004-10-14 04:17:20 +00:00