Commit graph

188 commits

Author SHA1 Message Date
Andrzej Janik 0c0f0e5a6b Update L0 bindings 2020-05-10 19:19:53 +02:00
Andrzej Janik fa075abc22 Translate instruction ld 2020-05-07 00:37:10 +02:00
Andrzej Janik 3b433456a1 Convert PTX predicates to a distinct conditional jump statement 2020-05-06 22:10:31 +02:00
Andrzej Janik a69c12a387 Fix remaining bugs in SSA renaming 2020-05-02 01:08:44 +02:00
Andrzej Janik 6700f8bcc2 Fix bugs in SSA renaming and improve phi insertion 2020-04-30 00:20:12 +02:00
Andrzej Janik 7d38992e08 Fix bug in the calculation of immediate dominators 2020-04-29 00:43:55 +02:00
Andrzej Janik 85e0269db0 Add a test for building dominance frontiers 2020-04-28 22:50:25 +02:00
Andrzej Janik 92b5dbd6a8 Fix bugs in basic block resolution 2020-04-28 00:02:34 +02:00
Andrzej Janik bce5f27843 Add phi-insertion 2020-04-26 23:16:49 +02:00
Andrzej Janik 5af7723985 Continue implementing SSA renaming 2020-04-26 22:12:02 +02:00
Andrzej Janik 7b2bc69330 Start doing SSA conversion 2020-04-22 00:55:49 +02:00
Andrzej Janik 0c71826bc7 Fix buggy comparison in immediate dominators calculation 2020-04-19 21:54:53 +02:00
Andrzej Janik 426b9c5cb8 Calculate domination frontiers 2020-04-19 18:09:44 +02:00
Andrzej Janik 4a0e91949c Simply id type handling 2020-04-18 18:10:32 +02:00
Andrzej Janik 47b06ebcb6 Remap string identifies to numeric identifiers 2020-04-15 00:45:05 +02:00
Andrzej Janik 12e0509b09 Refactor how instructions are parsed 2020-04-13 23:29:15 +02:00
Andrzej Janik 6f4530fe83 Simplify error handling during ast construction 2020-04-13 01:13:45 +02:00
Andrzej Janik bbe993392b Add better error handling during ast construction 2020-04-12 20:50:34 +02:00
Andrzej Janik b8129aab20 Start emitting ptx module from compilation 2020-04-03 01:23:11 +02:00
Andrzej Janik e981e20aae Parse whole vector add example 2020-03-22 23:20:37 +01:00
Andrzej Janik c0acb8747c Completely parse instructions in vector add example 2020-03-22 19:50:52 +01:00
Andrzej Janik 0e7338885b Parse more source stuff 2020-03-11 00:44:46 +01:00
Andrzej Janik 66e0323c66 Start parsing PTX text 2020-03-09 23:54:44 +01:00
Andrzej Janik c26ab5daed Add malloc and context setter/getter 2020-02-25 23:08:11 +01:00
Andrzej Janik 8617c9963d Refactor parsing of attributes and handle more export table functions 2020-02-25 00:25:39 +01:00
Andrzej Janik 955b51cbce Start mapping attributes 2020-02-18 00:37:01 +01:00
Andrzej Janik 563cbec07e Refactor device functions 2020-02-17 21:57:49 +01:00
Andrzej Janik 925af66b19 Return max memory 2020-02-17 21:14:23 +01:00
Andrzej Janik 796e030c4e Add missing entry to the export table and
fix problems with device handling
2020-02-17 01:13:09 +01:00
Andrzej Janik 21d091a47d Add device getter 2020-02-16 17:13:42 +01:00
Andrzej Janik 6d748a3959 Add platform initialization 2020-02-16 15:58:15 +01:00
Andrzej Janik 35caa53c3f Clean up slightly 2020-02-10 20:56:09 +01:00
Andrzej Janik 5ec4c5cf72 Implement redirecting dll 2020-02-10 00:56:40 +01:00
Andrzej Janik cf81615203 Reorganize project to a workspace 2020-02-09 20:32:21 +01:00
Andrzej Janik 14116ce540 Split project into three 2020-01-08 23:53:35 +01:00
Andrzej Janik 30e8286d53 Make sure we wait for the executable to finish and propagate error code 2020-01-07 23:28:26 +01:00
Andrzej Janik 6bd033c369 Refactor winapi calls to surface errors 2020-01-06 23:15:00 +01:00
Andrzej Janik 611e289531 Add nvcuda.dll injector 2020-01-05 19:28:21 +01:00