digitalmars.D.bugs - [Issue 21214] New: simd: wrong diagnostic with unsupported vectors
- d-bugmail puremagic.com (32/32) Sep 02 2020 https://issues.dlang.org/show_bug.cgi?id=21214
https://issues.dlang.org/show_bug.cgi?id=21214 Issue ID: 21214 Summary: simd: wrong diagnostic with unsupported vectors Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: ibuclaw gdcproject.org __vector(__vector(int[2])[2]) v2x2; __vector(__vector(int[2])[4]) v2x4; __vector(__vector(int[4])[2]) v4x2; __vector(__vector(int[4])[4]) v4x4; The given test above yields the following errors: test.d(1): Error: 8 byte vector type __vector(int[2]) is not supported on this platform test.d(1): Error: 8 byte vector type __vector(int[2]) is not supported on this platform test.d(2): Error: 8 byte vector type __vector(int[2]) is not supported on this platform test.d(2): Error: 8 byte vector type __vector(int[2]) is not supported on this platform test.d(3): Error: vector type __vector(__vector(int[4])[2]) is not supported on this platform test.d(4): Error: vector type __vector(__vector(int[4])[4]) is not supported on this platform Instead, they should all produce an error like line 3 and 4. --
Sep 02 2020