[Bug target/87949] PowerPC saves CR registers across calls

meissner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 9 01:14:00 GMT 2018


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

--- Comment #1 from Michael Meissner <meissner at gcc dot gnu.org> ---
Created attachment 44980
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44980&action=edit
Fortran file showing problem from gamess

Compile this file with the '-Ofast -g -S -std=legacy -mcpu=power9' options.

In the assembly file, at line 1262, there is a store from a MFCR instruction to
save a CR register, and on line 1381 there is a load and a MTCRF instruction to
restore it.


More information about the Gcc-bugs mailing list