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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to