On 9/26/2016 11:43 AM, Ilya Yaroshenko wrote:
I think we need to make it a point to support Mir in dmd. -- Andrei
Required features for Level 3:
1. https://issues.dlang.org/show_bug.cgi?id=16489
2. https://issues.dlang.org/show_bug.cgi?id=16488
3. AVX & AVX2 floating point vector arithmetic
4. Generic unaligned load/store like (like LDC loadUnaligned and storeUnaligned)
5. Generic routine to pack and unpack real and imaginary parts. For usage
example, see
https://github.com/libmir/mir/blob/master/source/mir/glas/internal/copy.d#L699
Could you provide more detail on these, please?
For example, on the last link there is no documentation on what those templates
do or what their parameters are. For example,
template _mix0(V)
{
import ldc.simd;
enum _pred(size_t a) = (a & 1) == 0 ? a / 2 : a / 2 + V.length;
alias _mix0 = shufflevector!(V, staticMap!(_pred, Iota!(V.length)));
}
??
I'd like to see each of the points at least put into an Enhancement Request on
bugzilla, where we can evaluate them in an organized fashion. (Like what you've
done for (1) and (2).)