[llvm-bugs] [Bug 36876] New: IRET instruction has a different naming convention to RET/LRET

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 23 05:13:46 PDT 2018


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

            Bug ID: 36876
           Summary: IRET instruction has a different naming convention to
                    RET/LRET
           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: craig.topper at gmail.com, llvm-bugs at lists.llvm.org

Found during fixing models for D44687:

RET/LRET use the naming pattern:
RET(L|Q|W)
LRET(L|Q|W)


But IRET uses the naming pattern:
IRET(16|32|64)

Do we want to standardize this?

The IRET mnemonic is IRETW/IRETD/IRETQ so it seems a better match, and would
have helped the AMD guys who wrote the Znver1 entries assuming it.

-- 
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/20180323/bfd148a6/attachment.html>


More information about the llvm-bugs mailing list