Commit graph

211 commits

Author SHA1 Message Date
Andrzej Janik
aa98ab9e03 Fix all remaining problems 2024-09-03 19:11:25 +02:00
Andrzej Janik
3f31069e1b Allow ftz and saturated conversions 2024-09-03 18:11:09 +02:00
Andrzej Janik
7a45b44854 Fix more failing tests 2024-09-03 16:24:50 +02:00
Andrzej Janik
8d15499acc More fixes 2024-09-03 02:19:27 +02:00
Andrzej Janik
aebf06a8c5 Improve implicit conversion and handling of vectors 2024-08-30 21:27:01 +02:00
Andrzej Janik
16fafe553f Parse comments and vector members correctly 2024-08-30 20:13:43 +02:00
Andrzej Janik
32b62626ff Fix PtrAdd 2024-08-30 17:47:47 +02:00
Andrzej Janik
2e5ad8ebdf Wire new parser into spvtxt tests 2024-08-30 17:01:47 +02:00
Andrzej Janik
790fe18579 Emit most of SPIR-V 2024-08-30 03:12:33 +02:00
Andrzej Janik
144f8bd5ed Port remaining two passes 2024-08-28 01:52:54 +02:00
Andrzej Janik
c088cc2171 Port expand_arguments 2024-08-26 21:37:04 +02:00
Andrzej Janik
cccd37f6ee Port ssa conversion 2024-08-26 19:07:49 +02:00
Andrzej Janik
3e0a15ac84 Add stateless-to-stateful conversion 2024-08-26 18:31:06 +02:00
Andrzej Janik
107f1eb17f Port sreg fix pass 2024-08-26 15:27:14 +02:00
Andrzej Janik
4e6dc07a52 Implement third pass 2024-08-24 03:10:41 +02:00
Andrzej Janik
7ea990edb7 Work on more passes 2024-08-23 16:26:28 +02:00
Andrzej Janik
12ef8dbc90 Port first pass 2024-08-23 03:03:57 +02:00
Andrzej Janik
1ec1ca0c30 Attempt #2 2024-08-23 02:19:36 +02:00
Andrzej Janik
588d66b236 Add cvta 2024-08-20 19:50:09 +02:00
Andrzej Janik
971951bc9e Improve reporting of recovered unrecognized statement/directive 2021-12-14 00:02:23 +01:00
Andrzej Janik
0ca14d740f Better reporting of unrecognized tokens 2021-12-13 22:25:26 +01:00
Andrzej Janik
7ba1586d6c Make all user errors recoverable 2021-12-13 17:20:06 +01:00
Andrzej Janik
816365e7df Fix shared munging pass and add fix cuModuleLoadData 2021-09-29 21:49:47 +00:00
Andrzej Janik
0172dc58e5 Redo shared memory transformation 2021-09-29 02:24:32 +02:00
Andrzej Janik
b763415006 Add CUDA tests showing problems with .shared unification 2021-09-27 00:42:10 +02:00
Andrzej Janik
c23be576e8 Finish fixing shared memory pass 2021-09-26 01:24:14 +02:00
Andrzej Janik
370c0bd09e Start implementing .shared unification 2021-09-24 01:31:50 +02:00
Andrzej Janik
9609f86033 Fix minor bugs 2021-09-19 00:39:43 +00:00
Andrzej Janik
afe9120868 Fix linkage 2021-09-18 22:49:00 +00:00
Andrzej Janik
04a411fe22 Have an implementation for vprintf 2021-09-18 20:22:47 +00:00
Andrzej Janik
ccf3c02ac1 Minor fixes 2021-09-18 01:36:12 +00:00
Andrzej Janik
3de01b3f8b Handle ld.volatile/st.volatile 2021-09-17 21:26:15 +00:00
Andrzej Janik
d5a4b068dd Redo handling of sregs 2021-09-17 20:53:44 +00:00
Andrzej Janik
6ef19d6501 Add early support for more sregs 2021-09-17 18:31:12 +00:00
Andrzej Janik
5b2352723f Implement function pointers and activemask 2021-09-17 16:24:25 +00:00
Andrzej Janik
ca0d8ec666 Add missing vray instructions 2021-09-16 01:25:09 +02:00
Andrzej Janik
467782b1d0 Fix some unhandled cases in cvt instruction 2021-09-14 23:38:06 +00:00
Andrzej Janik
2cd0fcb650 Parse and test const buffers 2021-09-14 22:41:46 +02:00
Andrzej Janik
986fa49097 Zero out buffer on creation 2021-09-13 23:43:50 +00:00
Andrzej Janik
dbb6f09ffa Continue HIP conversion 2021-09-13 17:59:40 +00:00
Andrzej Janik
da9cf4d583 Update tests, disable OpenCL-style shared mem conversion, emit linking information 2021-09-09 00:17:39 +00:00
Andrzej Janik
a27d1e119f Merge commit 'e2fbdf7d7b78ee360fe5fcc13ed1a7cca727c921' into amd 2021-09-08 23:07:54 +02:00
Andrzej Janik
e2fbdf7d7b Emit Execution mode for denorm flush 2021-09-08 23:05:52 +02:00
Andrzej Janik
18245be7d5 Make ptx unit tests run on AMD (except denormals) 2021-09-07 23:24:49 +00:00
Andrzej Janik
82510ce8fd Convert unit tests to HIP 2021-09-06 22:58:12 +02:00
Andrzej Janik
5bfc2a56b9 Remove all use of L0 2021-08-06 02:15:57 +02:00
Andrzej Janik
638786b0ec Hack enough functionality that AMD GPU code builds 2021-08-03 00:22:47 +02:00
Andrzej Janik
b4de21fbc5 Use calls to OpenCL builtins when translating sregs, do SPIRV->LLVM conversion on every build 2021-08-02 01:04:05 +02:00
Andrzej Janik
4a71fefb8a Change codegen for mul.wide 2021-08-01 19:20:08 +02:00
Andrzej Janik
8f68287b18 Tune generated code, add a workaround for geekbench 2021-07-25 15:19:43 +02:00