[LLVMbugs] [Bug 11212] New: X86AsmBackend::WriteNopData uses long nops unconditionally

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Oct 23 03:06:53 PDT 2011


           Summary: X86AsmBackend::WriteNopData uses long nops
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu

X86AsmBackend::WriteNopData() uses long NOP encodings unconditionally resulting
in illegal instructions being executed on CPUs that dont support these
encodings (ie. Amd Geode). We need to check for the target CPU.

According to http://www.tortall.net/projects/yasm/manual/html/arch-x86.html we
should even differentiate between amd and intel. Gnu as uses different nops on
different cpus too.

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