54 Commits

Author SHA1 Message Date
Andrzej Janik
62d14cdffe Fix ftz behavior slightly 2020-11-07 16:14:37 +01:00
Andrzej Janik
ac6265f257 Implement instructions bfe, rem, xor 2020-11-06 00:56:45 +01:00
Andrzej Janik
d7bf1acf84 Implement instructions clz, brev, popc 2020-11-05 22:10:06 +01:00
Andrzej Janik
8e409254b3 Fix same width float-to-float conversions 2020-11-05 21:39:34 +01:00
Andrzej Janik
96702d86c9 Fix issues with .param/.local and implement sin, cos, ex2, lg2 2020-11-05 00:27:46 +01:00
Andrzej Janik
e5a53ed5d3 Implement neg instruction 2020-11-01 14:58:44 +01:00
Andrzej Janik
b7d61baf37 Implement div, sqrt, rsqrt and more of setp 2020-11-01 14:34:03 +01:00
Andrzej Janik
a82eb20817 Implement atomic instructions 2020-10-31 21:28:15 +01:00
Andrzej Janik
861116f223 Add support for fma instruction 2020-10-26 23:46:28 +01:00
Andrzej Janik
c8dadca7d2 Implement selp instruction 2020-10-26 19:18:23 +01:00
Andrzej Janik
fc7cc00f47 Add support for and instruction 2020-10-26 18:45:28 +01:00
Andrzej Janik
40bdb83e6b Support float constants 2020-10-26 01:49:25 +01:00
Andrzej Janik
17b788f2a7 Implement ftz handling through Intel extension 2020-10-25 21:09:16 +01:00
Andrzej Janik
45f5183370 Implement ftz handling through Khronos extensions 2020-10-25 19:29:28 +01:00
Andrzej Janik
6480cccc4f Implement rcp instruction 2020-10-25 11:21:51 +01:00
Andrzej Janik
eb9053a42f Add test for indirect shared mem use 2020-10-25 10:34:09 +01:00
Andrzej Janik
85ee8210df Add dynamic shared mem support 2020-10-25 00:24:40 +02:00
Andrzej Janik
2b3ecc99e3 Implement pass to handle .extern .shared and add parsing code for it 2020-10-18 14:46:05 +02:00
Andrzej Janik
27d25865af Add support for top-level global variables, improve array support 2020-10-04 19:53:07 +02:00
Andrzej Janik
9a65dd32f5 Add sub, min, max 2020-10-02 00:11:28 +02:00
Andrzej Janik
bd3d440dba Implement or 2020-10-01 20:28:57 +02:00
Andrzej Janik
96a342e33f Implement shr 2020-10-01 18:13:09 +02:00
Andrzej Janik
7c26568cbf Add test for vector extract 2020-09-27 13:51:52 +02:00
Andrzej Janik
e0190fcbe1 Add missing support for Milestone 1 2020-09-27 13:14:19 +02:00
Andrzej Janik
3f41f21acb Implement more host code, moving execution further 2020-09-24 01:54:16 +02:00
Andrzej Janik
5a7860d9f1 Fix more bugs in implicit conversions 2020-09-20 20:43:09 +02:00
Andrzej Janik
dcaea507ba Add more tests 2020-09-20 15:44:52 +02:00
Andrzej Janik
17f2d09cc7 Fix basic test failures 2020-09-18 20:19:35 +02:00
Andrzej Janik
952ed5d504 [BROKEN] Start implementing better support for addressable arguments 2020-09-18 02:25:20 +02:00
Andrzej Janik
42bad8fcc2 Fix st/ld offsets implement abs and fix remaining bugs from vectorAdd generation 2020-09-16 00:20:49 +02:00
Andrzej Janik
bb5025c9b1 Refactor implicit conversions and start implementing vector extract/insert 2020-09-14 21:45:56 +02:00
Andrzej Janik
1238796dfd Be more precise about types admitted in register definitions and method arguments 2020-09-11 00:40:13 +02:00
Andrzej Janik
76afbeba63 Implement support for PTX call instruction 2020-09-08 21:29:18 +02:00
Andrzej Janik
bbb3a6c5cb Finish up cleanup for PTX function support 2020-09-03 20:58:35 +02:00
Andrzej Janik
de734305cf Start refactoring SPIRV module generation in preparation for support of functions 2020-09-03 01:45:08 +02:00
Andrzej Janik
0f4a4c634b Add support for declaring __local variables and their alignment 2020-09-02 22:47:27 +02:00
Andrzej Janik
efd83981b8 Add support for blocks 2020-09-02 20:58:54 +02:00
Andrzej Janik
2e4cadc2ab Refactor main library, implement some more functionality 2020-09-01 01:43:09 +02:00
Andrzej Janik
34dc149be1 Update level0 to 1.0 and unpack fatbins 2020-08-28 22:37:16 +02:00
Andrzej Janik
d47cd1e133 Add support for cvta and global ld/st 2020-08-05 23:50:20 +02:00
Andrzej Janik
7b407d1c44 Implement initial support for cvt instruction (only integer-to-integer) 2020-08-05 01:58:01 +02:00
Andrzej Janik
ff449289eb Implement shift left 2020-08-01 01:09:57 +02:00
Andrzej Janik
8ee46c8fe1 Implement negation 2020-08-01 00:51:18 +02:00
Andrzej Janik
534ca41d3f Add missing setp tests and fix bugs in bra support 2020-08-01 00:19:46 +02:00
Andrzej Janik
ed295c4083 Add support for some most common setp variants and fix a bug with branch conditions 2020-07-31 02:03:59 +02:00
Andrzej Janik
9ed3dc54f2 Refactor unused code, add residency control 2020-07-31 01:48:03 +02:00
Andrzej Janik
ec7ab8e5c4 Add support for integer addition 2020-07-26 03:09:05 +02:00
Andrzej Janik
b068a89c38 Implement integer multiplication 2020-07-25 00:57:54 +02:00
Andrzej Janik
18e5147fdc Fix bugs in the new middle-end 2020-07-24 02:09:50 +02:00
Andrzej Janik
872d69c714 Implement constants in translation middle-end 2020-07-20 00:01:03 +02:00