[Issue 5703] std.intrinsic. and core.bitop.bsf, bsr and bswap should be CTFE-able

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 5 13:37:14 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5703



--- Comment #2 from kennytm at gmail.com 2011-03-05 13:34:17 PST ---
(In reply to comment #1)
> (In reply to comment #0)
> 
> > These functions should be rewritten in D like bitswap and popcnt.
> 
> I think they aren't functions.

They appear to be functions, and can easily implemented as functions too. If
they are special-cased in the compiler, I see no reason they can't be
recognized in CTFE as well.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list