[LLVMbugs] [Bug 10664] New: i386-only mode instructions are not shown as invalid in x86_64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 15 14:33:43 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10664

           Summary: i386-only mode instructions are not shown as invalid
                    in x86_64
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: kkhoo at perfwizard.com
                CC: llvmbugs at cs.uiuc.edu


According to the "Intel® 64 and IA-32 Architectures Software Developer’s Manual
Volume 2 (2A & 2B): Instruction Set Reference, A-Z", p. 3-23:
AAA—ASCII Adjust After Addition
64-bit: Invalid

Using llvm-mc built from trunk revision 135913:
$ echo '0x37'| ./llvm-mc -disassemble -triple="i386"        aaa
$ echo '0x37'| ./llvm-mc -disassemble -triple="x86_64"      aaa

There are many 32-bit only instructions that are similar to this.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list