[llvm-bugs] [Bug 40504] New: LLVM should model TLSDESC accessor as clobbering NZCV

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 28 13:55:57 PST 2019


            Bug ID: 40504
           Summary: LLVM should model TLSDESC accessor as clobbering NZCV
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: peter at pcc.me.uk
                CC: arnaud.degrandmaison at arm.com,
                    llvm-bugs at lists.llvm.org, peter.smith at linaro.org,
                    Ties.Stuij at arm.com

While reviewing Android's proposed implementation of TLSDESC:

I noticed that it does not attempt to preserve NZCV. LLVM's model of TLSDESC,
on the other hand, assumes that NZCV is preserved:

glibc's implementation of TLSDESC doesn't look like it attempts to preserve
NZCV either:

I think that what this means is that we should add NZCV to the list of clobbers
for the TLSDESC accessor.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190128/178c3f59/attachment.html>

More information about the llvm-bugs mailing list