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
kudzu_cp
8dd3294605
2011-06-19 00:12:59 +00:00
kudzu_cp
963f58915e
2011-06-18 14:23:19 +00:00
kudzu_cp
64ed225d97
2011-06-18 02:13:49 +00:00
kudzu_cp
4ee3b67199
2011-06-17 20:27:15 +00:00
Trivalik_cp
dfbf5f4f00
fix all branches for 64bit,
...
add comment in fatstream to array copy
2011-06-17 07:45:00 +00:00
Trivalik_cp
8cd3d9cf47
GDB Client, change function label to textbox, allows to copy the name
...
change filesystem to int64, logical error in Read()
fix Ldarg, Ldarga xExtraSize, now should work really 64 bit and greater
2011-06-16 20:56:22 +00:00
blah38621_cp
8a98bca22d
Made a small optimization to the end of methods, compacting the xLocalSize offsets into fewer instructions. This actually made a surprising difference to the size of the output .iso, as it lowered the size by 8kb. (I've not compared the output .asm size, but that difference should be significantly larger than 8kb)
2011-06-13 18:13:38 +00:00
Trivalik_cp
2b66b951ee
add Conv_Ovf_I_Un implementation
...
fix wrong type in newobj
fix math.sqrt
2011-06-12 22:59:42 +00:00
blah38621_cp
20ef289111
Added an Inline attribute, which when used on a method in a plug, processes that method as an Assembler. See the IOPortImpl.cs file for an example of this new capability. The old method of using Assemblers is still supported. Also added an IOGroup for the mouse.
2011-06-11 01:57:27 +00:00
Trivalik_cp
00ae6acb11
comment out ASCIIEncodingImpl, because is all CIL internal
...
comment in string.FastAllocateString plug
2011-06-11 00:37:21 +00:00
Trivalik_cp
fcb4fa6b40
correct false permute arguments for Div 32bit integer
2011-06-10 20:43:22 +00:00
Trivalik_cp
83747e6df9
fix wrong register size for shl, shr
2011-06-03 18:17:46 +00:00
Trivalik_cp
591e20c7ec
add convertSD2SI, mov double dupplicate (without 64 bit support no other way found)
...
fix conv.i4 for case: double k = 50.5; int k2 = (int)k;
2011-05-24 20:28:57 +00:00
Trivalik_cp
1c970d67f9
add sse2 cvtsi2sd,cvtss2sd, movsd
...
fix conv_r8 with them
get 64 div working, without overflow detection!
2011-04-16 12:18:09 +00:00
Trivalik_cp
46eee6ef67
fix dbg for 64 bit parameters
2011-04-07 19:50:01 +00:00
Trivalik_cp
1910af9b4d
add 64bit support for "or"
2011-04-07 18:27:59 +00:00
Trivalik_cp
a9cb455304
fix ceq, cgt, cgt_un, clt, clt_un for 64 bit integer and float, changes back uint64impl compare
2011-04-06 19:31:51 +00:00
Trivalik_cp
00a6e88e4c
fix DebugInfo for types bigger than 4 (ebp offset), add float, double to debugger view
2011-03-20 21:15:20 +00:00
kudzu_cp
5f0a735e37
Strings are now stored in memory comparable to how it works in .net (and probably mono)
2011-03-17 15:04:24 +00:00
kudzu_cp
f0f2475173
2011-03-17 12:36:51 +00:00
kudzu_cp
8a3f5441c7
2011-03-15 14:13:28 +00:00
Trivalik_cp
e8469e177f
handle blt and ble for 64 bit --> BitConverter works
2011-03-12 21:45:46 +00:00
kudzu_cp
21d6c9ceac
2011-03-03 14:34:55 +00:00
mterwoord_cp
b5d27fe19a
casting works again..
2011-02-27 17:06:15 +00:00
Trivalik_cp
52a8110a3c
fix dword order for IL ops add, ldc_i8, shl, shr
2011-02-26 13:38:21 +00:00
kudzu_cp
38344570ac
2011-02-25 14:02:59 +00:00
kudzu_cp
56be40f859
2011-02-25 01:11:17 +00:00
kudzu_cp
1edb546842
2011-02-24 14:50:10 +00:00
Trivalik_cp
d207855983
fix shl,shr,add IL for 64 bit,
...
optimize "and" IL,
add shrd
2011-02-23 21:11:04 +00:00
Trivalik_cp
7f84d28d69
add DOTNETCOMPABILE define condition,
...
change StackContents to uint,
able to use now mnemoric with 3 operands,
shl IL near 64 bit (unknown error),
add asm line to nasm error
2011-02-22 17:03:42 +00:00
kudzu_cp
4b35540c5f
2011-02-22 13:42:28 +00:00
mterwoord_cp
ba843bb16c
2011-02-19 15:08:03 +00:00
mterwoord_cp
fab8765053
2011-02-17 18:49:42 +00:00
mterwoord_cp
8aa274c2cb
2011-02-15 17:40:23 +00:00
kudzu_cp
d4f6bb3d1c
Stack alignment and corruption fix
2011-02-15 14:10:35 +00:00
mterwoord_cp
81bffab044
2011-02-10 13:49:41 +00:00
Trivalik_cp
aa8ee4b605
fix wrong type for parameter type in call il
2011-01-30 18:54:16 +00:00
Trivalik_cp
14260620e2
push size of stack changed
2011-01-17 21:10:10 +00:00
Trivalik_cp
9d5d021c30
switch push for 8 byte values
2011-01-15 23:21:59 +00:00
Trivalik_cp
26170dbedc
fix conv.i8 for float,double
2011-01-15 23:18:25 +00:00
Trivalik_cp
3ca8a96472
pop complete size of last stack item
2011-01-11 21:32:23 +00:00
mterwoord_cp
e8b53132ca
2011-01-03 10:40:42 +00:00
mterwoord_cp
415f528359
+ bootstrap configuration builds again
...
+ debug info handling is refactored into 1 class
2011-01-02 12:55:43 +00:00
Trivalik_cp
5739b0dd02
correct cgt behavior, remove unneed esi,edi stuff, now it works!!!
2011-01-01 23:00:58 +00:00
Trivalik_cp
5cef30a9d8
correct behavior, like VS generate C++ code, but false appear on -1 <= 960 for 8 byte integer
2011-01-01 14:06:38 +00:00
Trivalik_cp
c499d21987
add comment for pic,
...
correct console scrolling,
correct error for cgt
example:
int k = 1000;
UInt32 k2 = 960;
if (k <= k2)
{
Console.Write("true");
}
else
{
Console.Write("false");
}
2011-01-01 01:51:11 +00:00
Trivalik_cp
a80ef75b20
unit format of assemblyinfos
2010-09-09 20:54:55 +00:00
kudzu_cp
fe43fbddeb
Set all csproj files to .NET 4.0.
2010-09-06 14:16:09 +00:00
kudzu_cp
545636389d
2010-09-06 02:17:42 +00:00
kudzu_cp
562f553244
2010-09-06 02:16:54 +00:00
kudzu_cp
e2c99b1d3a
Removed subdir from Cosmos.Debug.Common
2010-09-06 02:10:35 +00:00
Trivalik_cp
91481ed691
string changes for v4.0
2010-09-05 18:47:16 +00:00
Trivalik_cp
1785670a75
renaming all, except vspackage
2010-09-04 19:07:11 +00:00