[Bug target/113751] -mapxf -mfma4 generates wrong assembly code

2024-02-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113751

Andrew Pinski  changed:

   What|Removed |Added

   Last reconfirmed||2024-02-04
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #2 from Andrew Pinski  ---
.

[Bug target/113751] -mapxf -mfma4 generates wrong assembly code

2024-02-03 Thread hongyuw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113751

Hongyu Wang  changed:

   What|Removed |Added

 CC||hongyuw at gcc dot gnu.org

--- Comment #1 from Hongyu Wang  ---
We haven't disable AMD ISAs like XOP/FMA4 as it will not invoke with APX. 

Quoted from Richard's comment

> We haven’t disabled EGPR for 3DNOW/XOP/LWP/FMA4/TBM instructions, as they will
> be co-operated with -mapxf. We can disable EGPR for them if AMD guys requires.

I think most of these are retired by now, so it's unlikely an
implementation providing
these and also APX will appear.