Commit graph

144 commits

Author SHA1 Message Date
blah38621_cp
361219d23e Added Double support to Conv_I1, Conv_I2, Conv_I4, Conv_U1, Conv_U2, Conv_U4, and Conv_U8, also fixed float conversion in those same files. (We were rounding, we needed to be truncating) 2011-10-01 23:03:33 +00:00
Trivalik_cp
c134a571fa fix Conv, Ldelem, Mul, Newobj for string, Rem ( modulo), fix memory zero in cpuimpl, add char[] to debug in VS 2011-09-28 18:56:41 +00:00
Trivalik_cp
6663266609 fix Clt_Un todo 2011-09-19 20:30:06 +00:00
blah38621_cp
aee4bdbbb1 Got my optimizer working. It's currently only enabled if you have the debug level set to none. Also added a plug for System.Random that doesn't depend on the current tick count. 2011-09-17 17:37:36 +00:00
Trivalik_cp
f599c0726b fix all signed indirect pushes ( Ldind_Ix, Ldind_Ux) 2011-09-15 19:13:40 +00:00
Trivalik_cp
6f1efc4bcb add sign check for choose right asm instruction in LdLoc 2011-09-14 21:10:56 +00:00
blah38621_cp
c680d7d95f Implemented one of the things in the System.Number plug, which allows sbyte's to be converted to a string now. Also made a few changes to my optimizer, but still have it disabled, as it refuses to go past the bootloader with it enabled. 2011-09-13 23:42:07 +00:00
kudzu_cp
7162637756 2011-09-05 02:22:17 +00:00
Trivalik_cp
dfe8aa4c25 fix copy of bigger than int 2011-09-04 21:20:34 +00:00
Trivalik_cp
03fbd66909 fix newobj for struct (Stack Empty) 2011-09-04 20:53:53 +00:00
kudzu_cp
0d1beae6f0 2011-09-04 20:14:49 +00:00
kudzu_cp
7be11ee5f7 2011-09-04 20:11:19 +00:00
kudzu_cp
272c4f3410 2011-09-04 19:48:52 +00:00
kudzu_cp
4885dec621 2011-09-04 19:28:26 +00:00
kudzu_cp
4cbf5fed18 2011-09-04 19:27:51 +00:00
kudzu_cp
cc642ffb3f 2011-09-04 19:07:49 +00:00
kudzu_cp
6ed2739549 2011-09-04 03:07:02 +00:00
blah38621_cp
92dcac4a51 Made a few improvements to the speed of the ILScanner, including caching the resolved plugs.
Added the possibility for an optimization step in the IL2CPU MSBuild task. Currently commented out, but should work fine with a few modifications to the optimizer.
Moved classes that are dependent on Cosmos from the Orvid.Graphics, into the Orvid.Graphics.Cosmos assembly. 
Re-factored the font mechanism, added partially working .fnt Font support. 
Added a Rectangle class, and a Vec2d class, which is the same as Vec2, except with doubles for the X and Y values.
Made a small aesthetic improvement to the output of the File2ByteArray Converter.
2011-09-03 21:05:46 +00:00
Trivalik_cp
420a29936f move sqrt from core to il2cpu.x86 2011-09-03 12:02:07 +00:00
Trivalik_cp
51e893eb74 add movsx, fchs
implement neg CIL (needed for Abs())
fix floor and ceiling in range of int
add sign extension to LdArg and LdLoc
remove unneeded math functions, like min,max,abs
2011-09-02 21:03:14 +00:00
Trivalik_cp
bcd92cf77c add ctor(char,int) to stringimpl, and remove uncommented uneeded functions 2011-08-31 19:55:34 +00:00
Trivalik_cp
5032dff55b fix function call on struct:
i.e.: Color a = Color.Red; byte r = a.R;
2011-08-30 20:02:14 +00:00
Trivalik_cp
29914a55a1 fix up wrong operand order for 8byte dword substraction 2011-08-21 20:15:29 +00:00
kudzu_cp
cf1562c94c 2011-08-17 00:14:02 +00:00
kudzu_cp
ded8c1d56c 2011-08-14 13:57:59 +00:00
kudzu_cp
97c3471067 2011-08-14 13:36:09 +00:00
kudzu_cp
da67b059b2 2011-08-12 02:41:57 +00:00
kudzu_cp
75d0d9e342 2011-08-12 02:33:58 +00:00
kudzu_cp
3c16ec7714 2011-08-12 02:20:43 +00:00
kudzu_cp
767d8cd205 2011-08-12 02:04:43 +00:00
kudzu_cp
a469a39eaf 2011-08-12 01:54:07 +00:00
kudzu_cp
ea2a4196ce 2011-07-21 19:17:24 +00:00
kudzu_cp
4d51935cc9 Backed out label changes. They use . again. The # change caused too many issues. 2011-07-20 02:39:36 +00:00
kudzu_cp
32e5c353fb Labels use # instead of ., hopefully GDB will like them better. 2011-07-19 23:32:55 +00:00
Trivalik_cp
f5fb7ea6ec remove int3 from idt if no source debug activated 2011-07-19 20:41:28 +00:00
kudzu_cp
914cb71930 2011-07-18 16:03:50 +00:00
kudzu_cp
95691d9c29 2011-07-18 14:48:14 +00:00
kudzu_cp
951e5859fc 2011-07-18 04:43:07 +00:00
kudzu_cp
819f8b042d DebugStub 2011-07-18 02:48:09 +00:00
kudzu_cp
bcfd0dd94f No asm labels for X# 2011-07-18 01:25:43 +00:00
kudzu_cp
bf883e964a 2011-07-18 00:02:27 +00:00
kudzu_cp
1dfff2cdf8 DebugStub 2011-07-17 18:54:10 +00:00
kudzu_cp
b74dd21e3c X# DataMember implicit declarations 2011-07-17 04:27:51 +00:00
kudzu_cp
c4126c8d23 2011-07-17 01:46:43 +00:00
kudzu_cp
35089c88e9 2011-07-17 01:27:14 +00:00
kudzu_cp
24ca990ae1 Asm labelling for stepping. 2011-07-16 20:19:57 +00:00
kudzu_cp
c68c0104d5 2011-07-16 16:38:26 +00:00
kudzu_cp
4c8740d57b CPDB changes. 2011-07-16 04:10:10 +00:00
kudzu_cp
12ae3a9b60 DebugStub now uses Int3. 2011-07-15 03:43:33 +00:00
kudzu_cp
008bd31e4e IDT 2011-07-14 20:22:46 +00:00