Commit graph

103 commits

Author SHA1 Message Date
blah38621_cp
82e127acde Conv_* (unchecked), The 1&2 sized stack object exceptions weren't being very helpful. They now are. 2011-10-17 22:31:43 +00:00
blah38621_cp
b1f7c58a6b Made IL2CPU's scanning multi-threaded, as well as it's plug scanning. Also made the exceptions that a few instructions throw much easier to locate which file they are being thrown from. 2011-10-07 23:42:19 +00:00
blah38621_cp
57488c4dda Implemented the String(char,int32) constructor as supplied by Sebastien De Greef. 2011-10-06 21:38:02 +00:00
blah38621_cp
470b77a5b4 Added double->float support to Conv_R4, also made Conv_I a pointer to Conv_I4, and made Conv_U a pointer to Conv_U4. 2011-10-02 00:39:17 +00:00
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
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
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
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
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
kudzu_cp
5d145c351a IDT 2011-07-14 19:57:39 +00:00
kudzu_cp
05dcef2f88 IDT 2011-07-14 19:42:33 +00:00
kudzu_cp
aae5b4aade IDT work 2011-07-14 14:57:12 +00:00
Trivalik_cp
2e866fb3ae fix stack of 64bit divisions for small divisor 2011-07-14 11:52:44 +00:00
kudzu_cp
1243533aaa Minor preliminary IDT changes. 2011-07-14 02:49:06 +00:00
kudzu_cp
3c6f36e6e8 Final GDT changes. GDT is now initlized in the proper place, much earlier in the boot process. 2011-07-14 00:46:46 +00:00
kudzu_cp
967ca09a2c GDT work 2011-07-13 05:05:35 +00:00
kudzu_cp
b2b11c5b8c 2011-07-11 05:54:47 +00:00
kudzu_cp
07346828dd Fixed newobj for valuetypes. Will fix stfld next (They were both broken and affecting nullable types and other structs when stored in fields) 2011-07-11 04:55:40 +00:00
kudzu_cp
dea9bfb587 2011-07-11 01:42:13 +00:00
Trivalik_cp
c256253671 fix sign for normal div CIL 2011-06-26 18:44:25 +00:00
Trivalik_cp
a245b52eea fix div for ulong, so that kudzu tests works all now 2011-06-26 11:48:51 +00:00
Trivalik_cp
28321c8e50 add add_ovf, add_ovf_un, overflow throws an exception which currently is not working, but message on console is working
add JECXE,JECXE ( not used yet )
2011-06-25 20:58:56 +00:00
Trivalik_cp
d06894cf16 fix 64-bit mul tested with ulong 2011-06-23 19:38:55 +00:00