[Bug c/107836] x86_64 inline functions -O2/-O3 optimization error

2022-11-24 Thread czx211355007 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107836 --- Comment #3 from Zixuan Chen --- I think there is a data dependency between the second asm statement and the third, a read-after-write one. If the third one is moved to the top then we can't get the correct value of mm5(mm0). Also, could you

[Bug c/107836] x86_64 inline functions -O2/-O3 optimization error

2022-11-23 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107836 Andreas Schwab changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c/107836] x86_64 inline functions -O2/-O3 optimization error

2022-11-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107836 Andrew Pinski changed: What|Removed |Added Keywords||inline-asm --- Comment #1 from Andrew P