https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93177
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- If PowerPC back-end supported the "Flag Output Operands" part of GCC's inline-asm, you could use that to do the correct thing. But sadly PowerPC does not currently. https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Flag-Output-Operands