Julien Fischer
ca55327c27
Fix various problems with the new integer types and the Java backend.
...
compiler/mlds_to_java.m:
Generate the correct for uint16 and uint8 right shifts: the
existing code failed to account for the fact that Java will
promote a byte or short that is the first operand of a shift
to an int.
library/io.m:
Add the missing Java definition of do_write_uint/5.
tests/hard_coded/test_int_hash.m:
Translate the Java implementation of the hash function
into C#.
tests/hard_coded/Mmakefile:
Run the test_int_hash test in all grades.
test/hard_coded/bitwise_int.exp2:
Add an expected output for backends where int is a 32-bit
type.
2017-09-03 04:18:35 +10:00
..
2017-08-21 21:27:01 +10:00
2017-08-21 21:27:01 +10:00
2017-08-21 22:02:22 +10:00
2017-08-21 22:02:22 +10:00
2017-08-22 22:05:24 +10:00
2017-08-22 22:05:24 +10:00
2017-08-21 21:27:01 +10:00
2017-08-21 21:27:01 +10:00
2017-08-21 22:02:22 +10:00
2017-08-21 22:02:22 +10:00
2017-08-22 22:05:24 +10:00
2017-08-22 22:05:24 +10:00
2017-05-07 02:39:53 +10:00
2017-05-07 02:39:53 +10:00
2017-08-27 02:05:29 +10:00
2017-08-27 02:05:29 +10:00
2017-08-27 02:05:29 +10:00
2017-08-27 02:05:29 +10:00
2017-08-27 02:05:29 +10:00
2017-08-27 02:05:29 +10:00
2017-08-30 20:46:11 +10:00
2017-09-03 04:18:35 +10:00
2017-08-30 20:46:11 +10:00
2017-08-27 02:05:29 +10:00
2017-08-27 02:05:29 +10:00
2017-08-27 02:05:29 +10:00
2017-08-27 02:05:29 +10:00
2017-08-27 02:05:29 +10:00
2017-08-27 02:05:29 +10:00
2017-08-26 12:07:18 +10:00
2017-08-26 12:07:18 +10:00
2017-08-26 12:07:18 +10:00
2017-08-26 12:07:18 +10:00
2017-08-26 12:07:18 +10:00
2017-08-26 12:07:18 +10:00
2017-08-26 12:07:18 +10:00
2017-08-26 12:07:18 +10:00
2017-08-26 12:07:18 +10:00
2017-08-26 12:07:18 +10:00
2017-08-26 12:07:18 +10:00
2017-08-26 12:07:18 +10:00
2017-05-14 02:40:26 +10:00
2017-05-14 02:40:26 +10:00
2017-05-14 02:40:26 +10:00
2017-05-14 02:40:26 +10:00
2017-06-17 20:18:22 +10:00
2017-06-17 20:18:22 +10:00
2017-06-18 21:16:46 +10:00
2017-06-18 21:16:46 +10:00
2017-06-18 21:16:46 +10:00
2016-10-06 11:46:34 +11:00
2016-09-29 15:37:35 +10:00
2016-06-06 23:14:29 +10:00
2017-07-03 23:55:22 +02:00
2017-07-03 23:55:22 +02:00
2016-12-16 08:01:29 +11:00
2016-12-16 08:01:29 +11:00
2016-12-16 08:01:29 +11:00
2016-12-16 08:01:29 +11:00
2016-12-16 08:01:29 +11:00
2016-12-16 08:01:29 +11:00
2016-12-16 08:01:29 +11:00
2016-12-16 08:01:29 +11:00
2016-11-07 05:35:20 +11:00
2016-11-07 05:35:20 +11:00
2016-11-07 05:35:20 +11:00
2017-04-26 10:00:45 +10:00
2017-04-26 10:00:45 +10:00
2017-04-17 00:54:01 +10:00
2017-04-17 00:54:01 +10:00
2017-04-17 00:54:01 +10:00
2016-09-19 14:27:57 +10:00
2016-09-19 14:27:57 +10:00
2016-09-19 14:27:57 +10:00
2016-04-26 15:49:13 +10:00
2017-04-26 10:00:45 +10:00
2017-04-22 11:53:14 +10:00
2017-04-26 10:00:45 +10:00
2017-04-26 10:00:45 +10:00
2017-04-26 10:00:45 +10:00
2017-04-26 10:00:45 +10:00
2017-04-26 10:00:45 +10:00
2017-04-26 10:00:45 +10:00
2017-04-26 10:00:45 +10:00
2017-04-26 10:00:45 +10:00
2016-06-04 23:02:38 +10:00
2016-06-04 23:02:38 +10:00
2017-08-30 20:46:11 +10:00
2017-09-03 04:18:35 +10:00
2017-01-29 14:38:26 +11:00
2017-01-29 14:38:26 +11:00
2017-01-29 14:38:26 +11:00
2017-01-29 14:38:26 +11:00
2017-04-26 10:00:45 +10:00
2017-04-26 10:00:45 +10:00
2017-04-26 10:00:45 +10:00
2017-01-29 14:38:26 +11:00
2016-05-20 05:47:36 +10:00
2016-05-20 05:47:36 +10:00
2016-04-18 10:07:38 +10:00
2016-10-06 11:45:30 +11:00
2016-10-06 11:45:30 +11:00
2017-08-07 19:33:33 +02:00
2017-08-07 19:33:33 +02:00
2016-04-18 12:12:50 +10:00
2016-04-18 12:12:50 +10:00
2017-08-30 20:46:11 +10:00
2016-06-20 17:01:54 +10:00
2016-06-20 17:01:54 +10:00
2017-08-31 22:16:58 +10:00
2017-08-31 22:16:58 +10:00
2016-06-09 11:36:00 +10:00
2016-06-09 11:36:00 +10:00
2017-04-22 11:53:14 +10:00
2017-09-03 01:25:57 +10:00
2017-09-03 04:18:35 +10:00
2016-04-13 16:37:29 +10:00
2016-04-13 16:37:29 +10:00
2016-10-31 10:31:05 +11:00
2016-08-09 02:42:00 +02:00
2016-06-06 23:14:29 +10:00
2016-09-20 13:51:01 +10:00
2017-06-17 20:07:17 +10:00
2017-06-17 20:07:17 +10:00
2017-05-12 21:59:36 +10:00
2017-05-12 21:59:36 +10:00
2017-05-12 21:59:36 +10:00
2017-05-07 13:59:09 +10:00
2017-05-07 13:59:09 +10:00
2017-06-06 12:25:14 +02:00
2017-05-24 09:59:01 +10:00
2017-05-24 09:59:01 +10:00
2016-07-22 13:51:53 +10:00
2016-07-22 13:51:53 +10:00
2016-05-20 05:47:36 +10:00
2016-05-20 05:47:36 +10:00
2016-05-20 05:47:36 +10:00
2016-05-20 05:47:36 +10:00