[Bug target/101393] PowerPC32 inline assembly broken by commit 2d94f7dea9c73ef3c116a0ddc722724578a860fe
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 16 22:48:03 GMT 2021
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.
More information about the Gcc-bugs
mailing list