aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/APInt.cpp
Commit message (Expand)AuthorAgeFilesLines
* this doesn't compile, disable itChris Lattner2007-02-251-0/+4
* Clean up lshr and ashr to coding standards.Reid Spencer2007-02-251-53/+79
* Whoops, last word with bits in large shift left wasn't correct.Reid Spencer2007-02-251-1/+1
* Fix the > 64 bits case for left shift.Reid Spencer2007-02-251-22/+47
* Fix the remainder shifting in KnuthDiv.Reid Spencer2007-02-241-6/+13
* 1. Fix a bug in fromString for the <= 64bits caseReid Spencer2007-02-241-17/+29
* 1. Fix last bug in KnuthDiv. All divide tests pass up to 1024 bits now.Reid Spencer2007-02-241-63/+55
* 1. Make internal functions take const arguments where they should, justReid Spencer2007-02-241-21/+61
* 1. Fix a carry out problem in add if destination and x point to the sameReid Spencer2007-02-231-92/+43
* When converting from 64 to 32-bits, use the actual number of words toReid Spencer2007-02-221-2/+2
* Fix countLeadingZeros in the case that the bitwidth evenly divides theReid Spencer2007-02-221-1/+4
* Reorganize some code to make it clearer, avoid a few uninitialized memoryReid Spencer2007-02-211-56/+57
* Fix the carry in addition.Reid Spencer2007-02-211-2/+2
* 1. Add a dump() method for faster debugging.Reid Spencer2007-02-211-81/+80
* Fix countLeadingZeros to actually return the correct number.Reid Spencer2007-02-211-11/+13
* Make long addition and subtraction work. Speed things up by using internalReid Spencer2007-02-201-72/+69
* Clean up variable names in operator*.Reid Spencer2007-02-201-8/+8
* Use INFINITY macro from math.h instead of constructing hex floating pointReid Spencer2007-02-201-2/+3
* First version that can process arith.cpp test case up to 1024 bits:Reid Spencer2007-02-201-171/+423
* 1. Fix some indentation and variable names in the get{Min,Max}Value methods.Reid Spencer2007-02-181-8/+24
* 1. Use APINT_WORD_SIZE instead of sizeof(uint64_t)Reid Spencer2007-02-181-42/+59
* 1. Remove dead code (lshift function).Reid Spencer2007-02-181-227/+218
* Make add_1 exit early if carry is 0.Reid Spencer2007-02-181-36/+23
* Implement signed output for toString.Reid Spencer2007-02-181-44/+75
* Fix some bugs in division logic.Reid Spencer2007-02-171-3/+5
* Move static functions closer to their usage.Reid Spencer2007-02-171-295/+295
* Clean up the divide and remainder logic a bit (exit early). Use moreReid Spencer2007-02-171-63/+88
* Fix bugs introduced by constructor parameter order change.Reid Spencer2007-02-171-13/+29
* Review changes:Reid Spencer2007-02-161-186/+183
* Fix some buges:Zhou Sheng2007-02-151-43/+58
* Use brute-force algorithm for to_string. It doesn't have to be efficientReid Spencer2007-02-141-28/+35
* Make some minor improvements to APInt:Reid Spencer2007-02-131-15/+11
* 1. Make APInt::shl work correctly and more efficiently.Zhou Sheng2007-02-121-10/+78
* Eliminates friend function declaration inside APInt, instead, adds publicZhou Sheng2007-02-091-23/+23
* Switched this file on accidently.Zhou Sheng2007-02-081-1/+1
* As Chris and Reid suggested, remove "isSigned" field from APInt, instead,Zhou Sheng2007-02-081-178/+170
* As Chris suggested, fixed some problems. (This is the first part)Zhou Sheng2007-02-071-147/+157
* As Reid suggested, fixed some problems.Zhou Sheng2007-02-061-150/+143
* Disable this for now.Chris Lattner2007-02-061-0/+5
* Add a class APInt to represent arbitrary precision constant integral values.Zhou Sheng2007-02-061-0/+1113