Robert Norton
5b23f4cea0
Fix incorrect checks in capChecksMem.
...
These checks were broken in several ways:
1) a missing 'else' inverted the priority of PermitStoreViolation vs. PermitStore[Local]Cap exceptions
2) another missing 'else' inverted the priority of PermitStoreCap and PermitStoreLocalCap exceptions
3) No store checks were performed when mem_func == Amo because of the preceding if clause for loads
I decided to flatten the nested if statements by pulling out the conditions into boolean local variables. Hopefully this makes it clearer (as well as fixing the bugs).
2021-08-05 09:33:52 +01:00
..
2020-07-06 17:39:25 +01:00
2020-07-06 17:39:25 +01:00
2021-05-26 16:24:41 +01:00
2021-04-01 09:04:31 +01:00
2020-07-06 17:39:25 +01:00
2021-04-08 17:08:15 +01:00
2021-05-26 16:24:41 +01:00
2019-03-26 14:49:40 -04:00
2021-02-28 01:11:39 +00:00
2021-05-26 16:25:55 +01:00
2020-07-06 17:39:25 +01:00
2021-05-13 23:15:25 +01:00
2020-07-06 17:39:25 +01:00
2019-03-26 14:49:40 -04:00
2020-07-23 16:53:14 +01:00
2021-08-05 09:33:52 +01:00
2020-08-13 17:33:46 +01:00
2020-07-06 17:39:25 +01:00
2020-07-15 03:16:24 +01:00
2019-03-26 14:49:40 -04:00
2019-03-26 14:49:40 -04:00
2019-03-26 14:49:40 -04:00
2020-07-06 17:39:25 +01:00
2020-07-06 17:39:25 +01:00
2019-03-26 14:49:40 -04:00
2021-07-07 11:34:29 +01:00
2020-07-15 03:16:24 +01:00
2021-05-05 13:32:07 +01:00
2020-12-15 14:49:16 +00:00
2019-03-26 14:49:40 -04:00
2019-03-26 14:49:40 -04:00
2021-04-01 16:18:18 +01:00
2019-03-26 14:49:40 -04:00
2020-12-15 18:16:21 +00:00
2020-12-01 14:22:12 +00:00
2020-07-06 17:39:25 +01:00
2021-07-06 15:19:37 +01:00
2020-07-06 17:39:25 +01:00
2019-03-26 14:49:40 -04:00
2020-07-06 17:39:25 +01:00
2020-07-06 17:39:25 +01:00
2021-04-08 17:08:15 +01:00
2020-07-24 12:38:37 +01:00
2020-07-06 17:39:25 +01:00
2020-07-06 17:39:25 +01:00
2020-07-15 03:16:24 +01:00
2019-03-26 14:49:40 -04:00
2020-07-06 17:39:25 +01:00
2021-07-08 15:28:54 +01:00
2020-07-06 17:39:25 +01:00
2019-03-26 14:49:40 -04:00
2019-03-26 14:49:40 -04:00
2021-07-08 15:38:19 +01:00
2019-04-01 20:35:52 -04:00
2020-07-15 03:16:24 +01:00
2019-03-26 14:49:40 -04:00
2020-07-06 17:39:25 +01:00
2019-03-26 14:49:40 -04:00
2020-07-08 12:39:13 +01:00
2020-07-09 15:19:39 +01:00
2019-03-26 14:49:40 -04:00
2021-05-13 23:15:25 +01:00
2021-04-08 17:08:15 +01:00
2019-03-26 14:49:40 -04:00
2021-05-13 23:15:25 +01:00
2020-07-06 17:39:25 +01:00
2020-07-06 17:39:25 +01:00
2020-07-06 17:39:25 +01:00
2021-04-08 17:08:15 +01:00
2019-03-26 14:49:40 -04:00