LDC 0.14.0 released!

Kai Nacke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Aug 17 23:22:42 PDT 2014

Hi bearophile!

On Friday, 15 August 2014 at 18:25:08 UTC, bearophile wrote:
> Kai Nacke:
>> 8fcada15be800679890117b3e9fb8c73 ldc2-0.14.0-mingw-x86.7z
> It seems to work.
>>LLVM intrinsics llvm.bswap.i#, llvm.ctpop.i#, llvm.ctlz.i# and 
>>llvm.cttz.i# are now builtins and can be used with CTFE. (#648) 
> I try to write code that compiles with both ldc and dmd, so 
> LDC-specific stuff is less important. Are the bswap and other 
> functions of core.bitop usable in CTFE? If the answer is 
> negative, isn't it better to improve those in dmd too to make 
> them usable in CFFE on all D compilers?

The core.bitop functions are implemented in terms of the LLVM 
intrinsics. They are threfore CTFE-enabled, too. There should be 
no visible change to users except that the mentioned intrinsics 
are now usable in CTFE.


More information about the digitalmars-d-ldc mailing list