Three articles on D

data pulverizer data.pulverizer at gmail.com
Sat Jun 13 05:29:34 UTC 2020


On Friday, 12 June 2020 at 00:24:39 UTC, jmh530 wrote:
> It sounds like @avx for Julia is a bit like @fastmath [1]. I 
> was re-reading this [2] recently. You may find interesting.
>
> [1] 
> https://wiki.dlang.org/LDC-specific_language_changes#.40.28ldc.attributes.fastmath.29
> [2] 
> http://johanengelen.github.io/ldc/2016/10/11/Math-performance-LDC.html

Interesting. I didn't know that fast math vectorized calculations 
- automatically using SIMD. That feature isn't mentioned on the 
LLVM fast math documentation 
https://llvm.org/docs/LangRef.html#fast-math-flags. Julia's 
approach to SIMD and fast math seems effective - the practice of 
being able to label individual statements to direct the compiler 
to optimize those specific statements.


More information about the Digitalmars-d mailing list