Jaden Weiss
5cc130bb6e
compiler: implement spec-compliant shifts
...
Previously, the compiler used LLVM's shift instructions directly, which have UB whenever the shifts are large or negative.
This commit adds runtime checks for negative shifts, and handles oversized shifts.
2020-03-28 17:35:19 +01:00
..
2020-03-22 17:14:59 +01:00
2019-09-20 10:35:49 +02:00
2019-09-20 10:35:49 +02:00
2020-03-28 17:35:19 +01:00
2020-03-28 17:35:19 +01:00
2020-02-27 16:35:31 +01:00
2020-02-27 16:35:31 +01:00
2020-03-13 16:15:36 -07:00
2019-11-04 09:15:21 +01:00
2020-03-17 12:16:10 +01:00
2019-11-02 12:50:32 +01:00
2019-05-11 15:33:37 +02:00
2019-05-11 15:33:37 +02:00
2020-01-27 19:01:55 +01:00
2018-11-18 19:18:39 +01:00
2018-10-25 20:37:35 +02:00
2018-10-25 20:37:35 +02:00
2019-09-24 18:16:43 +02:00
2019-09-24 18:16:43 +02:00
2020-03-20 22:22:24 +01:00
2019-11-17 23:46:10 +01:00
2020-02-26 20:42:01 +01:00
2020-02-26 20:42:01 +01:00
2019-02-05 19:37:21 +01:00
2019-02-05 19:37:21 +01:00
2018-10-23 13:24:18 +02:00
2018-10-22 13:49:03 +02:00
2019-10-25 09:35:05 -04:00
2019-10-25 09:35:05 -04:00
2019-10-01 21:31:00 +02:00
2018-10-20 17:22:51 +02:00
2019-11-10 21:33:11 +01:00
2019-11-10 21:33:11 +01:00
2019-08-11 15:45:35 +02:00
2019-08-11 15:45:35 +02:00
2019-10-13 23:07:47 +02:00
2019-10-13 23:07:47 +02:00
2019-11-17 15:14:51 +01:00
2019-11-17 15:14:51 +01:00