https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96869
Bug ID: 96869
Summary: __vectors unsupported in hardware should be rejected
at compile-time
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: ibuclaw at gdcproject dot org
Target Milestone: ---
It should also be possible to use __traits(compiles) in order to determine
whether a vector is supported or not.
Currently, pretty much any __vector is permissible. The desired result would
be to only use targetm.vector_mode_supported_p as gate for whether to accept
the use of a vector type or not.
Splitting up the simd.d test file into more granular tests should be done with
this as well.