[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


           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


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.


------- 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