Commit Graph

128 Commits

Author SHA1 Message Date
David Anderson
f8e7a10e06 added very, very primitive, mostly unusable structs. the most these can do so far is expose themselves publically
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40172
2006-11-09 22:53:27 +00:00
David Anderson
767f6fa9ab fixed project file using /GL
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40171
2006-11-08 09:37:16 +00:00
David Anderson
e060af14b4 updated all api to use new function id system
fixed a codegen bug in function ids
removed extra native status, simplified native binding

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40169
2006-11-08 08:41:18 +00:00
David Anderson
2892ee1fa9 fixed a crash on error
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40168
2006-11-08 08:04:57 +00:00
David Anderson
611ab078d2 sync'd JIT to API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40166
2006-11-08 07:35:16 +00:00
David Anderson
4242e06465 re-added project files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40163
2006-11-08 06:25:25 +00:00
David Anderson
aa033ee577 some reorganization
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40162
2006-11-08 06:24:28 +00:00
David Anderson
edeb131e94 fixed an index bug on non-constant values
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40161
2006-11-07 23:26:40 +00:00
Borja Ferrer
453f0db476 Changed StringToLocal to work with real strings
moved out two .b opcodes out of the ungenerated group since now are needed for strings

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40160
2006-11-07 13:06:04 +00:00
David Anderson
2348f9106a fixed a potential bug in tag matching (should this one go to thiadmer)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40159
2006-11-07 12:34:27 +00:00
David Anderson
1dc2662a62 fixed constant dimension size bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40158
2006-11-07 11:50:30 +00:00
David Anderson
0bdf321d67 dynamic arrays no longer use a different token
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40157
2006-11-07 10:49:16 +00:00
David Anderson
e18699c702 added experimental new String tag. this tag will revert array usage to "char" sizing and packed strings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40156
2006-11-07 09:50:09 +00:00
Borja Ferrer
a5f4929c60 reaching comment perfection
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40154
2006-11-06 22:49:12 +00:00
Borja Ferrer
4459591825 small opt in push tracker
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40152
2006-11-06 22:23:13 +00:00
Borja Ferrer
13775b11b6 added a library table for module autoloading
updated VM plugin loader to read in this new section

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40149
2006-11-05 13:24:29 +00:00
Borja Ferrer
b5e203a67d added 3 errors for dofuncenum
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40143
2006-11-04 19:35:21 +00:00
David Anderson
4d61a07d58 --HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40141
2006-11-04 18:58:27 +00:00
David Anderson
8099cb09bd made these names a little nicer
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40140
2006-11-04 18:54:03 +00:00
Borja Ferrer
0ece7914b7 added tracker push helper
dyn arrays are working now

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40139
2006-11-04 18:30:20 +00:00
Borja Ferrer
f95dd901ca added this to encode strings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40138
2006-11-04 18:00:27 +00:00
David Anderson
bc16901bd6 Expanded weak function pointers with type checking
Added function typing enumeration

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40137
2006-11-03 06:14:43 +00:00
David Anderson
fca7456f4d removed the old heap setting code for arrays
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40136
2006-11-02 20:48:15 +00:00
Borja Ferrer
5b9ba35f0f added new tracker opcodes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40135
2006-11-02 20:23:14 +00:00
David Anderson
a10aabaeda swapped usage to new tracker opcodes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40134
2006-11-02 18:36:38 +00:00
David Anderson
4d44a1df4f Fixed a bug where dynamic arrays might not be freed in loops
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40133
2006-10-31 08:31:14 +00:00
David Anderson
4f5f8dced9 arrays can now be public variables
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40132
2006-10-31 07:17:23 +00:00
Borja Ferrer
0196df3cc9 oh didn't notice these shift instructions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40131
2006-10-26 17:06:30 +00:00
Borja Ferrer
2f9a5a224e Pairing and other asm optimizations
made ungen_opcodes.h Compile

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40130
2006-10-20 23:03:16 +00:00
David Anderson
0c67ad1e7d added support for op.genarray.z opcode
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40129
2006-10-17 05:50:59 +00:00
David Anderson
53be062c6b added new op.genarray.z for zeroing arrays
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40128
2006-10-17 03:44:37 +00:00
David Anderson
e3dccb8ae4 new error code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40127
2006-10-16 22:25:45 +00:00
David Anderson
eb341f9a1d finished dynamic array generation
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40126
2006-10-16 22:25:18 +00:00
David Anderson
209dd31751 Added new op.genarray for dynamic arrays
Fixed up opcode table for new opcodes

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40125
2006-10-16 04:10:01 +00:00
David Anderson
a19823e4c6 fixed dynamic arrays not generating stack correctly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40124
2006-10-16 04:08:18 +00:00
David Anderson
b7180795ec initial import of.... DYNAMIC ARRAYS
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40123
2006-10-16 02:05:26 +00:00
David Anderson
ea6e82d79a committed new stack modification method
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40122
2006-10-15 23:31:09 +00:00
David Anderson
2c65e42379 reorganized the tracker to be a bit more modular
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40121
2006-10-15 20:57:14 +00:00
David Anderson
6f2ebd8da7 separated this from the rest
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40120
2006-10-15 20:26:51 +00:00
David Anderson
785173578b committed new header
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40119
2006-10-12 00:27:47 +00:00
David Anderson
6adba4b731 changed error defines to have "ERROR" instead of "ERR"
added and verified sysreq.c which is generated on -O0

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40118
2006-10-12 00:27:18 +00:00
David Anderson
fb7942ee4d and you thought you'd never see the day.. sysreq.n verified!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40117
2006-10-11 23:47:04 +00:00
Borja Ferrer
c06a526165 not needed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40116
2006-10-10 17:53:42 +00:00
David Anderson
d328933cc5 marked switch and casetbl as verified
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40115
2006-10-10 17:33:05 +00:00
David Anderson
8fe4440b10 fixed non-sequential not having a correct default case
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40114
2006-10-10 17:32:09 +00:00
David Anderson
9bc1279af1 fixed casetbl not being aligned correctly
fixed bitshifting the wrong way (oops!)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40113
2006-10-10 17:22:28 +00:00
David Anderson
f62af67279 small touch-ups
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40112
2006-10-10 16:39:55 +00:00
David Anderson
d2cb27e20c added simple test procedure to VM and updated some context stuff for stack checking
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40111
2006-10-10 02:06:50 +00:00
David Anderson
4b6c4f11af added DLL exports (it builds now!)
rewrote error checking mechanism
fixed some opcode cases not being right
fixed various opcode and codegen bugs
fixed stack alignment problems
made proc aligned to a dword
fixed up helpers naming scheme
started marking opcodes as either working or not working
probably more -- too much to list

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40110
2006-10-10 01:55:08 +00:00
David Anderson
bc22a3bc84 finalized structures I think
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40109
2006-10-10 00:39:45 +00:00