[llvm-bugs] [Bug 38157] New: [X86][SSE] Support more aggressive execution domain fixups

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 13 04:40:58 PDT 2018


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

            Bug ID: 38157
           Summary: [X86][SSE] Support more aggressive execution domain
                    fixups
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: andrea.dibiagio at gmail.com, craig.topper at gmail.com,
                    lebedev.ri at gmail.com, llvm-bugs at lists.llvm.org,
                    spatel+llvm at rotateright.com

We mostly switch domains only for directly equivalent instructions:

e.g.
{ X86::ANDNPSrr,   X86::ANDNPDrr,  X86::PANDNrr   },

We also do simple custom fixes for BLENDPS/BLENDPD/PBLENDW etc. which involves
altering an existing immediate arg.

It should be possible to extend this further - in particular for
SHUFPS/SHUFPD/PSHUFD etc. although this will require manipulation of the
src/dst reg args as well which might require changes to the existing
setExecutionDomain function.

Inspired by https://reviews.llvm.org/D49280

-- 
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/20180713/89345a58/attachment.html>


More information about the llvm-bugs mailing list