[LLVMbugs] [Bug 771] NEW: Bad Intel syntax code
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat May 6 17:26:18 PDT 2006
http://llvm.org/bugs/show_bug.cgi?id=771
Summary: Bad Intel syntax code
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jeffc at jolt-lang.org
The following is generated:
mov EAX, DWORD PTR [ESP + 16]
mov DL, EAX
mov BYTE PTR [ECX], DL
and EAX, 255
mov DWORD PTR [ESP + 8], EAX
The first problem is the second instruction. It is clearly bad. The second
problem is that it shouldn't have been generated at all. AL could have been
used directly in the third instruction instead of DL.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list