www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19199] New: Use core.bitops intrinsics during CTFE


          Issue ID: 19199
           Summary: Use core.bitops intrinsics during CTFE
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: n8sh.secondary hotmail.com

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`.

Aug 27 2018