drew
9bf1681990
C backend: basic big ints, fix airPtrToInt, array references, pointer arithmetic UB with NULL, implement airPtrElemPtr/Val, fix redundant indirection/references with arrays
...
-add additional test cases that were found to be passing
-add basic int128 test cases which previously did not pass but weren't covered
-most test cases in cast.zig now pass
-i128/u128 or smaller int constants can now be rendered
-unsigned int constants are now always suffixed with 'u' to prevent random compile errors
-pointers with a val tag of 'zero' now just emit a 0 constant which coerces to the pointer type and fixes some warnings with ordered comparisons
-pointers with a val tag of 'one' are now casted back to the pointer type
-support pointers with a u64 val
-fix bug where rendering an array's type will emit more indirection than is needed
-render uint128_t/int128_t manually when needed
-implement ptr_add/sub AIR handlers manually so they manually cast to int types which avoids UB if the result or ptr operand is NULL
-implement airPtrElemVal/Ptr
-airAlloc for arrays will not allocate a ref as the local for the array is already a reference/pointer to the array itself
-fix airPtrToInt by casting to the int type
2021-11-16 16:51:31 -07:00
..
2021-11-16 16:35:56 -05:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2021-09-01 17:54:07 -07:00
2021-10-22 17:50:36 -07:00
2021-10-22 17:50:36 -07:00
2021-05-08 14:45:21 -07:00
2021-10-21 19:05:26 -07:00
2021-10-21 19:05:26 -07:00
2021-10-04 23:48:55 -07:00
2021-06-21 17:03:03 -07:00
2021-10-13 18:43:43 -07:00
2021-06-21 17:03:03 -07:00
2021-10-28 18:33:13 -07:00
2021-11-10 12:39:47 -05:00
2021-06-21 17:03:03 -07:00
2021-10-26 16:43:18 -07:00
2021-10-26 16:43:18 -07:00
2021-05-08 14:45:21 -07:00
2021-10-28 17:33:05 -07:00
2021-09-01 15:41:29 -07:00
2021-05-08 14:45:21 -07:00
2021-10-02 20:15:03 -07:00
2021-10-02 20:15:03 -07:00
2021-11-16 16:51:31 -07:00
2021-11-09 18:52:30 -05:00
2021-11-16 16:51:31 -07:00
2021-08-30 18:50:07 -04:00
2021-10-02 20:15:03 -07:00
2021-10-02 20:15:03 -07:00
2021-10-02 20:15:03 -07:00
2021-10-05 23:05:14 -07:00
2021-10-05 21:38:47 -07:00
2021-10-17 15:36:12 -07:00
2021-10-17 15:36:12 -07:00
2021-10-21 19:05:26 -07:00
2021-10-21 19:05:26 -07:00
2021-05-08 14:45:21 -07:00
2021-10-20 15:34:10 -07:00
2021-10-20 15:34:10 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-10-23 22:52:43 -04:00
2021-10-26 15:43:57 -07:00
2021-10-20 15:34:10 -07:00
2021-10-20 15:34:10 -07:00
2021-09-28 12:00:35 -05:00
2021-09-28 12:00:35 -05:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-10-02 20:15:03 -07:00
2021-10-28 17:23:02 -07:00
2021-06-21 17:03:03 -07:00
2021-05-08 14:45:21 -07:00
2021-11-16 16:51:31 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-10-21 19:05:26 -07:00
2021-10-24 17:11:43 +02:00
2021-10-14 21:17:30 -07:00
2021-09-28 12:00:35 -05:00
2021-04-29 15:54:04 -07:00
2021-10-22 15:53:59 -07:00
2021-11-04 14:30:35 -04:00
2021-10-04 23:48:55 -07:00
2021-11-02 12:45:29 -04:00
2021-10-17 17:02:20 -07:00
2021-11-02 12:45:29 -04:00
2021-11-16 14:01:07 -07:00
2021-11-16 14:01:07 -07:00
2021-10-23 19:47:32 -07:00
2021-11-16 16:51:31 -07:00
2021-10-29 17:49:02 -07:00
2021-10-29 17:49:02 -07:00
2021-10-21 22:56:11 -07:00
2021-10-21 22:56:11 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-10-22 15:53:59 -07:00
2021-07-26 20:05:48 -04:00
2021-09-01 15:41:29 -07:00
2021-10-04 23:48:55 -07:00
2021-10-04 23:48:55 -07:00
2021-06-21 17:03:03 -07:00
2021-10-25 20:41:15 +02:00
2021-10-25 20:41:15 +02:00
2021-10-25 20:41:15 +02:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-11-09 16:32:39 -07:00
2021-10-11 11:39:12 -07:00
2021-11-08 14:23:55 -05:00
2021-05-08 14:45:21 -07:00
2021-05-08 14:45:21 -07:00
2021-10-26 22:41:19 -07:00
2021-10-26 22:41:19 -07:00
2021-09-23 13:17:06 -04:00
2021-09-20 20:51:31 -07:00
2021-08-06 09:10:50 +03:00
2021-09-20 20:51:31 -07:00
2021-07-06 12:42:18 +03:00
2021-05-08 14:45:21 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-09-20 02:29:04 +02:00
2021-07-28 18:17:11 -04:00
2021-05-08 14:45:21 -07:00
2021-10-02 20:15:03 -07:00
2021-10-26 22:41:19 -07:00
2021-10-02 20:15:03 -07:00
2021-10-26 22:41:19 -07:00
2021-09-01 17:54:07 -07:00
2021-09-01 17:54:06 -07:00
2021-06-21 17:03:03 -07:00
2021-10-04 23:48:55 -07:00
2021-06-21 17:03:03 -07:00
2021-05-08 14:45:21 -07:00
2021-10-14 22:16:26 -07:00
2021-10-14 22:16:26 -07:00
2021-10-13 18:43:43 -07:00