aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/APInt.cpp
AgeCommit message (Expand)Author
2007-02-251. Provide more detail in file comment.Reid Spencer
2007-02-25Allow this to compile now that the header file is checked in.Reid Spencer
2007-02-25this doesn't compile, disable itChris Lattner
2007-02-25Clean up lshr and ashr to coding standards.Reid Spencer
2007-02-25Whoops, last word with bits in large shift left wasn't correct.Reid Spencer
2007-02-25Fix the > 64 bits case for left shift.Reid Spencer
2007-02-24Fix the remainder shifting in KnuthDiv.Reid Spencer
2007-02-241. Fix a bug in fromString for the <= 64bits caseReid Spencer
2007-02-241. Fix last bug in KnuthDiv. All divide tests pass up to 1024 bits now.Reid Spencer
2007-02-241. Make internal functions take const arguments where they should, justReid Spencer
2007-02-231. Fix a carry out problem in add if destination and x point to the sameReid Spencer
2007-02-22When converting from 64 to 32-bits, use the actual number of words toReid Spencer
2007-02-22Fix countLeadingZeros in the case that the bitwidth evenly divides theReid Spencer
2007-02-21Reorganize some code to make it clearer, avoid a few uninitialized memoryReid Spencer
2007-02-21Fix the carry in addition.Reid Spencer
2007-02-211. Add a dump() method for faster debugging.Reid Spencer
2007-02-21Fix countLeadingZeros to actually return the correct number.Reid Spencer
2007-02-20Make long addition and subtraction work. Speed things up by using internalReid Spencer
2007-02-20Clean up variable names in operator*.Reid Spencer
2007-02-20Use INFINITY macro from math.h instead of constructing hex floating pointReid Spencer
2007-02-20First version that can process arith.cpp test case up to 1024 bits:Reid Spencer
2007-02-181. Fix some indentation and variable names in the get{Min,Max}Value methods.Reid Spencer
2007-02-181. Use APINT_WORD_SIZE instead of sizeof(uint64_t)Reid Spencer
2007-02-181. Remove dead code (lshift function).Reid Spencer
2007-02-18Make add_1 exit early if carry is 0.Reid Spencer
2007-02-18Implement signed output for toString.Reid Spencer
2007-02-17Fix some bugs in division logic.Reid Spencer
2007-02-17Move static functions closer to their usage.Reid Spencer
2007-02-17Clean up the divide and remainder logic a bit (exit early). Use moreReid Spencer
2007-02-17Fix bugs introduced by constructor parameter order change.Reid Spencer
2007-02-16Review changes:Reid Spencer
2007-02-15Fix some buges:Zhou Sheng
2007-02-14Use brute-force algorithm for to_string. It doesn't have to be efficientReid Spencer
2007-02-13Make some minor improvements to APInt:Reid Spencer
2007-02-121. Make APInt::shl work correctly and more efficiently.Zhou Sheng
2007-02-09Eliminates friend function declaration inside APInt, instead, adds publicZhou Sheng
2007-02-08Switched this file on accidently.Zhou Sheng
2007-02-08As Chris and Reid suggested, remove "isSigned" field from APInt, instead,Zhou Sheng
2007-02-07As Chris suggested, fixed some problems. (This is the first part)Zhou Sheng
2007-02-06As Reid suggested, fixed some problems.Zhou Sheng
2007-02-06Disable this for now.Chris Lattner
2007-02-06Add a class APInt to represent arbitrary precision constant integral values.Zhou Sheng