https://issues.dlang.org/show_bug.cgi?id=13852
Issue ID: 13852
Summary: SIMD comparison
Product: D
Version: D2
Hardware: x86_64
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
long2 a,b;
auto c = a > b;
Error: incompatible types for ((a) > (b)): '__vector(long[2])' and
'__vector(long[2])'
As of SSE4_2, x86_64 has PCMPGT. GCC vector types have support for this and
even perform the necessary subtractions to use it for unsigned types.
--