This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]