llvm-6502/lib
Chris Lattner 5f3b0eeddb Turn A % (C << N), where C is 2^k, into A & ((C << N)-1) [urem only].
Turn A / (C1 << N), where C1 is "1<<C2" into A >> (N+C2) [udiv only].

Tested with: rem.ll:test5, div.ll:test10


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26003 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-05 07:54:04 +00:00
..
Analysis Pull the InsertCastOfTo out of the header, implement CSE'ing of arguments. 2006-02-04 09:51:53 +00:00
Archive more C++ daintiness 2005-12-26 14:31:26 +00:00
AsmParser regenerate 2006-01-25 22:27:16 +00:00
Bytecode Fix auto-upgrade of intrinsics to work properly with both assembly and 2006-01-27 11:49:27 +00:00
CodeGen Handle urem by shifted powers of 2. 2006-02-05 07:36:48 +00:00
Debugger dum de dum 2005-12-26 10:24:15 +00:00
ExecutionEngine Allow the specification of explicit alignments for constant pool entries. 2006-01-31 22:23:14 +00:00
Linker Rename method 2006-01-24 04:14:29 +00:00
Support Let bugpoint work on sparc with v9 instructions enabled. 2006-02-04 05:02:27 +00:00
System Add AddSymbol() method to DynamicLibrary to work around Windows limitation 2006-01-30 04:33:51 +00:00
Target Use SelectRoot() as the entry to any tblgen based isel. 2006-02-05 06:51:51 +00:00
Transforms Turn A % (C << N), where C is 2^k, into A & ((C << N)-1) [urem only]. 2006-02-05 07:54:04 +00:00
VMCore validate matching constraints and remember when we see them. 2006-02-02 00:23:53 +00:00
Makefile Add the Linker library 2004-11-14 21:54:41 +00:00