https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101393

--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Franz Sirl from comment #4)
> How about something along this patch? It's not fully done (no good idea
> about SPEC stuff like "mcpu=7400: -mppc %{!mvsx:%{!maltivec:-maltivec}};"
> yet), but you should get the idea.

What does it mean if you have NULL for the new field?  Does that work, even?

If it means there is code in a .c too handle it there, we should use that
*always*, not just for a few entries, since it simplifies things.

> In the the end most of ASM_CPU_SPEC could be removed and also the
> duplication between ASM_CPU_SPEC and driver-rs6000.c could go away.

Maybe?  I'd like to see a design for it.  Historically, tweaking this stuff
has been very error-prone.

Reply via email to