[LLVMbugs] [Bug 945] NEW: x86 backend doesn't lower x%255 to multiply
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Oct 11 23:42:42 PDT 2006
http://llvm.org/bugs/show_bug.cgi?id=945
Summary: x86 backend doesn't lower x%255 to multiply
Product: libraries
Version: 1.8
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sabre at nondot.org
Consider:
int test(int X) {
return X%255;
}
The PPC backend lowers this to mulhw+stuff, the X86 backend should too. It is the major reason we are
slower at Benchmarks/Misc/ReedSolomon.c than GCC.
-Chris
------- 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