This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/87949] PowerPC saves CR registers across calls
- From: "meissner at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Nov 2018 01:14:16 +0000
- Subject: [Bug target/87949] PowerPC saves CR registers across calls
- Auto-submitted: auto-generated
- References: <bug-87949-4@http.gcc.gnu.org/bugzilla/>
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.