[Bug d/96869] __vectors unsupported in hardware should be rejected at compile-time
ibuclaw at gdcproject dot org
gcc-bugzilla@gcc.gnu.org
Mon Aug 31 20:23:58 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96869
--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to Andrew Pinski from comment #1)
> Hmmm, so you dont want to allow generic vector types? This is unlike GNU
> c/C++.
Correct, the D spec has had the following entry added.
> Implementation Defined: Which vector types are supported depends
> on the target. The implementation is expected to only support the
> vector types that are implemented in the target's hardware.
I could go one further and reject vector expressions not supported in hardware,
but I don't think that kind of information is readily available in a target
hook.
More information about the Gcc-bugs
mailing list