[Issue 16558] [Mir] Generic unaligned load/store like (like LDC loadUnaligned and storeUnaligned)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Oct 9 05:08:42 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16558

--- Comment #4 from Илья Ярошенко <ilyayaroshenko at gmail.com> ---
(In reply to Walter Bright from comment #3)
> So I'm not sure what the problem is.

1. A function can be inlined by LDC but it will break other possible
optimisations.
2. Complexity. LLVM provides portable, and generic API.
It allows to write generic SIMD code without multiple library backends for this
code.

All target specified logic for Mir GLAS is concentrated in the following file.
Comparing with Eigen it is very effective solution in terms of work time per
new architecture.

https://github.com/libmir/mir/blob/master/source/mir/glas/internal/config.d

--


More information about the Digitalmars-d-bugs mailing list