[llvm-bugs] [Bug 43630] New: [X86] Second k-register result of vp2intersect does not get added to clobber list for ms style inline assembly

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 9 17:05:13 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43630

            Bug ID: 43630
           Summary: [X86] Second k-register result of vp2intersect does
                    not get added to clobber list for ms style inline
                    assembly
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: craig.topper at gmail.com
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    llvm-dev at redking.me.uk, spatel+llvm at rotateright.com

The vp2intersect instruction writes 2 consecutive k-registers. But only one is
listed in the assembly string. The clobber list is inferred from the parsed
operands list, but only the one operand will be present there.

Example test

void t1() {
  __asm vp2intersectq k0, xmm0, xmm1
}


Produces 

tail call void asm sideeffect inteldialect "vp2intersectq k0, xmm0, xmm1",
"~{k0},~{dirflag},~{fpsr},~{flags}"(

-- 
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/20191010/d6317200/attachment-0001.html>


More information about the llvm-bugs mailing list