From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 55F7E385703B; Mon, 22 Mar 2021 13:23:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55F7E385703B From: "msc at linux dot ibm.com" To: glibc-bugs@sourceware.org Subject: [Bug libc/27623] New: powerpc: Missing registers in sc[v] clobbers list Date: Mon, 22 Mar 2021 13:23:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msc at linux dot ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 13:23:48 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27623 Bug ID: 27623 Summary: powerpc: Missing registers in sc[v] clobbers list Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: msc at linux dot ibm.com CC: drepper.fsp at gmail dot com Target Milestone: --- The current clobbers list for syscalls using sc or scv in sysdeps/unix/sysv/linux/powerpc/sysdep.h is not complete, as the kernel zeroes XER register on exit and per the kernel documentation scv may also clobber the condition register. This is unlikely to be causing issues in the wild today, as the code has been missing the XER clobber for years and I couldn't find any reported bugs related to that. Also, the kernel currently restores the CR on exit, but that could change in the future, as that is not mandated by the ABI for all CR fields. --=20 You are receiving this mail because: You are on the CC list for the bug.=