[llvm-bugs] [Bug 27653] New: BOUND instruction has swapped arguments

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 5 01:38:13 PDT 2016


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

            Bug ID: 27653
           Summary: BOUND instruction has swapped arguments
           Product: tools
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-as
          Assignee: unassignedbugs at nondot.org
          Reporter: r.marek at assembler.cz
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

//./clang-3.8 -c a.S -m32 -save-temps

//a.S is this:
.section .text
.global _start
_start:

//GCC accept this
//bound %eax, (%ecx)

//CLANG wants this
bound (%ecx), %eax

//both generate:
//62 01                    bound  %eax,(%ecx)

-- 
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/20160505/aab2f4f3/attachment.html>


More information about the llvm-bugs mailing list