[llvm-bugs] [Bug 36246] New: [X86] EVEX to VEX should turn VRNDSCALE into VROUND when possible.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 5 18:17:23 PST 2018


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

            Bug ID: 36246
           Summary: [X86] EVEX to VEX should turn VRNDSCALE into VROUND
                    when possible.
           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: llvm-bugs at lists.llvm.org

VRNDSCALE has an 8-bit where the behavior of values 0-15 match the behavior of
VROUND while larger values do not. isel prefers VRNDSCALE for the extended
register encoding space, but we should be able to turn VRNDSCALE into VROUND if
the immediate is 0-15, no masking is used, and the registers are xmm0-xmm15 or
ymm0-ymm15.

-- 
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/20180206/59ee909a/attachment.html>


More information about the llvm-bugs mailing list