aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/APInt.cpp
AgeCommit message (Expand)Author
2007-03-01Combine two lines that can be.Reid Spencer
2007-03-01Make the static table of results in sqrt const.Reid Spencer
2007-03-01Add methods for bit width modification: sextOrTrunc, zextOrTrunc.Reid Spencer
2007-03-01Use a real table in sqrt to shorten and quicken the code.Reid Spencer
2007-03-01Add a square root function.Reid Spencer
2007-02-28Make the trunc/sext/zext methods return APInt& so that these operationsReid Spencer
2007-02-28Fix a bug in RoundDoubleToAPInt where it would force the size to 64 bitsReid Spencer
2007-02-27Join two lines that can be joined.Reid Spencer
2007-02-27Implement countLeadingOnes() and getMinSignedBits(). This helps to minimizeReid Spencer
2007-02-27Improve APInt interface:Reid Spencer
2007-02-27Conform to single person attribution in file comment.Reid Spencer
2007-02-271. Fix three serious bugs in the comparison code.Reid Spencer
2007-02-27Get rid of extraneous // in file comment.Reid Spencer
2007-02-27Simplify and document RoundDoubleToAPInt.Reid Spencer
2007-02-261. Make sure all delete operators of arrays use the array form of delete.Reid Spencer
2007-02-26Implement the getHashValue method.Reid Spencer
2007-02-26Re-enable this. The header was committed.Reid Spencer
2007-02-26another missing header :( :( :(Chris Lattner
2007-02-261. Remove redundant calls to clearUsedBits().Reid Spencer
2007-02-26Rewrite lshr to not do bit by bit copy but to copy and shift whole words.Reid Spencer
2007-02-25Fix sext operation. Shifting by zero would leave an incorrect mask.Reid Spencer
2007-02-251. Fix the flip() method to correctly flip all words of the APInt.Reid Spencer
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