Bug 19199 – Use core.bitops intrinsics during CTFE
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-08-27T19:48:44Z
Last change time
2018-09-02T18:48:14Z
Assigned to
No Owner
Creator
Nathan S.
Comments
Comment #0 by n8sh.secondary — 2018-08-27T19:48:44Z
Currently in `dmd.builtin` there are software implementations of `core.bitop` functions within `eval_bsf`, `eval_bsr`, `eval_bswap`, and `eval_popcnt`. With DMD written in D this is unnecessary: they can use `core.bitop`.
Comment #1 by n8sh.secondary — 2018-08-27T19:57:34Z