[llvm-bugs] [Bug 44347] New: Hexagon cmplt instruction have incorrect assembly syntax

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 19 13:52:56 PST 2019


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

            Bug ID: 44347
           Summary: Hexagon cmplt instruction have incorrect assembly
                    syntax
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: w.parker.thompson at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

In the Hexagon instruction definitions of J4_cmplt* and C4_cmplt* instructions
all have ".gt" postfixes in the assembly syntax.

Examples (from HexagonDepInstrInfo.td):

def C4_cmplte : HInst<
(outs PredRegs:$Pd4),
(ins IntRegs:$Rs32, IntRegs:$Rt32),
"$Pd4 = !cmp.gt($Rs32,$Rt32)",

and

def J4_cmplt_f_jumpnv_nt : HInst<
(outs),
(ins IntRegs:$Rt32, IntRegs:$Ns8, b30_2Imm:$Ii),
"if (!cmp.gt($Rt32,$Ns8.new)) jump:nt $Ii",


These should read "cmp.lt(" for the whole family of cmplt* instructions.

-- 
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/20191219/a5f6f5ab/attachment.html>


More information about the llvm-bugs mailing list