Matt Pharr
f7f281a256
Choose type for integer literals to match the target mask size (if possible).
...
On a target with a 16-bit mask (for example), we would choose the type
of an integer literal "1024" to be an int16. Previously, we used an int32,
which is a worse fit and leads to less efficient code than an int16
on a 16-bit mask target. (However, we'd still give an integer literal
1000000 the type int32, even in a 16-bit target.)
Updated the tests to still pass with 8 and 16-bit targets, given this
change.
2013-07-23 17:24:50 -07:00
..
2012-04-03 10:09:07 -07:00
2011-12-15 06:00:42 -08:00
2011-12-15 06:00:42 -08:00
2011-11-27 13:09:59 -08:00
2013-07-23 17:24:50 -07:00
2013-07-23 17:24:50 -07:00
2012-02-21 10:28:31 -08:00
2012-02-21 10:28:31 -08:00
2012-02-06 15:35:43 -08:00
2012-02-21 06:27:34 -08:00
2011-11-14 08:45:41 -08:00
2011-11-14 08:45:41 -08:00
2011-11-14 08:45:41 -08:00
2011-11-14 08:45:41 -08:00
2012-02-21 06:27:34 -08:00
2013-07-22 16:12:02 -07:00
2011-11-21 10:41:23 -08:00
2012-02-21 06:27:34 -08:00
2011-11-27 13:09:59 -08:00
2012-04-16 06:27:21 -07:00
2012-03-22 06:48:02 -07:00
2012-02-21 06:27:34 -08:00
2012-06-15 10:54:50 -07:00
2012-09-07 13:27:07 -07:00
2012-02-06 14:44:54 -08:00
2013-07-23 17:24:50 -07:00
2012-02-21 06:27:34 -08:00
2012-06-20 10:04:24 -07:00
2012-06-20 10:04:24 -07:00
2012-06-20 10:04:24 -07:00
2012-06-20 10:04:24 -07:00
2011-12-14 12:22:49 -08:00
2013-07-23 17:24:50 -07:00
2013-07-23 17:24:50 -07:00
2012-03-19 11:27:32 -07:00
2012-05-25 11:09:26 -07:00
2011-11-29 13:22:36 -08:00
2011-11-27 13:09:59 -08:00
2012-03-27 13:25:11 -07:00
2012-03-27 13:25:11 -07:00
2012-03-27 13:25:11 -07:00
2011-11-21 10:26:53 -08:00
2011-11-27 13:09:59 -08:00
2011-11-27 13:09:59 -08:00
2012-03-28 14:15:49 -07:00
2012-03-28 14:15:49 -07:00
2012-03-28 14:15:49 -07:00
2012-03-28 14:15:49 -07:00
2012-01-05 12:22:36 -08:00
2012-01-05 12:22:36 -08:00
2012-01-05 12:22:36 -08:00
2012-01-05 12:22:36 -08:00
2012-04-20 14:42:14 -04:00
2012-04-20 14:42:14 -04:00
2013-07-23 17:24:50 -07:00
2011-11-27 13:09:59 -08:00
2011-11-21 10:41:23 -08:00
2011-11-27 13:09:59 -08:00
2011-11-21 10:41:23 -08:00
2013-07-23 17:24:50 -07:00
2012-01-06 14:21:03 -08:00
2013-07-23 17:24:50 -07:00
2013-07-23 17:24:50 -07:00
2012-06-21 16:53:27 -07:00
2012-01-27 14:47:06 -08:00
2012-02-07 11:13:32 -08:00
2013-07-23 17:24:50 -07:00
2012-03-05 09:58:10 -08:00
2012-01-27 14:47:06 -08:00
2013-07-23 17:24:50 -07:00
2012-02-21 06:27:34 -08:00
2012-03-19 11:27:32 -07:00
2013-07-23 17:24:50 -07:00
2011-11-27 13:09:59 -08:00
2011-11-27 13:09:59 -08:00
2011-11-27 13:09:59 -08:00
2013-07-23 17:24:50 -07:00
2012-02-21 06:27:34 -08:00
2011-11-27 13:09:59 -08:00
2013-07-23 17:24:50 -07:00
2011-12-03 22:44:16 -08:00
2012-02-07 11:13:32 -08:00
2011-11-27 13:09:59 -08:00
2013-07-23 17:24:50 -07:00
2012-02-21 06:27:34 -08:00
2012-02-21 06:27:34 -08:00
2012-02-21 06:27:34 -08:00
2011-11-27 13:09:59 -08:00
2012-04-04 05:56:22 -07:00
2012-04-04 05:56:22 -07:00
2012-04-04 05:56:22 -07:00
2011-12-05 09:27:53 -08:00
2012-03-22 06:48:02 -07:00
2012-04-04 05:56:22 -07:00
2012-04-04 05:56:22 -07:00
2011-12-03 22:44:16 -08:00
2012-02-21 06:27:34 -08:00
2012-02-21 06:27:34 -08:00
2012-02-21 10:28:31 -08:00
2011-11-29 21:41:04 -08:00
2012-03-05 09:58:10 -08:00
2012-03-05 09:58:10 -08:00
2013-07-23 17:24:50 -07:00
2013-07-23 17:24:50 -07:00
2012-03-05 09:58:10 -08:00
2012-03-05 09:58:10 -08:00
2012-03-05 09:58:10 -08:00
2012-03-05 09:58:10 -08:00
2013-07-23 17:24:50 -07:00
2012-03-05 09:58:10 -08:00
2013-07-23 17:24:50 -07:00
2013-07-23 17:24:50 -07:00
2012-03-05 09:58:10 -08:00
2012-03-05 09:58:10 -08:00
2012-03-05 09:58:10 -08:00
2013-07-23 17:24:50 -07:00
2012-02-21 10:28:31 -08:00
2011-11-27 13:09:59 -08:00
2012-04-16 06:27:21 -07:00
2012-04-16 06:27:21 -07:00
2012-02-21 10:28:31 -08:00
2012-02-21 10:28:31 -08:00
2012-02-21 10:28:31 -08:00
2012-02-21 10:28:31 -08:00
2012-02-21 10:28:31 -08:00
2012-03-25 13:10:12 -07:00
2011-11-27 13:09:59 -08:00
2012-01-11 09:16:31 -08:00
2012-01-11 09:16:31 -08:00
2012-01-11 09:16:31 -08:00
2012-01-11 09:16:31 -08:00
2012-01-11 09:16:31 -08:00
2012-01-11 09:16:31 -08:00
2012-04-18 06:08:05 -07:00
2012-04-18 06:08:05 -07:00
2012-04-18 06:08:05 -07:00
2012-04-18 06:08:05 -07:00
2012-04-18 06:08:05 -07:00
2012-04-18 06:08:05 -07:00
2012-02-21 06:27:34 -08:00
2012-02-21 06:27:34 -08:00
2012-02-21 10:28:31 -08:00
2011-11-21 10:41:23 -08:00
2012-02-21 06:27:34 -08:00
2011-12-03 15:35:50 -08:00
2011-12-01 17:00:13 -08:00
2013-07-23 17:24:50 -07:00
2012-02-06 14:44:48 -08:00
2012-02-06 14:44:48 -08:00
2012-02-06 14:44:48 -08:00
2012-02-06 14:44:48 -08:00
2012-02-06 14:44:48 -08:00
2012-02-06 14:44:48 -08:00
2012-02-06 14:44:48 -08:00
2012-06-18 19:51:19 -07:00
2012-06-18 19:51:19 -07:00
2012-02-21 12:26:42 -08:00
2012-02-21 12:26:42 -08:00
2012-02-21 12:26:42 -08:00
2012-02-21 12:26:42 -08:00