Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000504 | mercury | Feature Request | public | 2020-04-28 23:58 | 2020-04-28 23:58 |
Reporter | zs | ||||
---|---|---|---|---|---|
Assigned To | zs | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000504: make checked shifts builtins | ||||
Description | At the moment, we generate inline code for unchecked shifts, but a call to a library function for checked shifts. We should generate inline code for the latter as well. This would require extending the simple_code type in builtin_ops.m to be able to handle not just a test *or* an assignment, but a test *and* an assignment (if the test succeeds) *and* an abort (if it fails). That functionality should also allow us to generate inline code for checked quotients and remainders. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
There are no notes attached to this issue. |
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2020-04-28 23:58 | zs | New Issue | |||
2020-04-28 23:58 | zs | Assigned To | => zs | ||
2020-04-28 23:58 | zs | Status | new => assigned |