On Oct 26, 2016, at 8:29 AM, Segher Boessenkool <seg...@kernel.crashing.org> wrote: > > So, you do not want to create the builtins that we expand to machine insns > that are not supported with the -mcpu= (or other flags) in use. What does > the ABI have to say about this?
The ABI is silent on this point. The appendix of builtin functions for vector processing tags these as POWER ISA 3.0, but that's the extent of it. I don't see a problem with disabling built-ins that generate code that won't assemble provided we diagnose the error properly (the follow-up work that Kelvin mentioned). I'll take any blame for suggesting that Kelvin go forward with a patch to get bootstrap fixed and defer the error detection till afterwards... Bill