diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-21 03:55:44 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-21 03:55:44 +0000 |
commit | 1ba833564e8990f19c0a79a8304dbfdf362594eb (patch) | |
tree | 2eb9425dd68ebb35893e482f6a21c91259d5baa8 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 57bc4d1bc23be4721a84c390981d47412f6b85b7 (diff) | |
download | llvm-1ba833564e8990f19c0a79a8304dbfdf362594eb.zip llvm-1ba833564e8990f19c0a79a8304dbfdf362594eb.tar.gz llvm-1ba833564e8990f19c0a79a8304dbfdf362594eb.tar.bz2 |
1. Add a dump() method for faster debugging.
2. Change 0 initialization of union to larger component so all is zeroed.
3. Fix the borrow logic in subtraction so it works for > 128 bits.
4. Rewrite fromString to use a simpler but correct algorithm and also to
not set the bit width contrary to the user's request.
5. Optimize toString a bit by making it only do one Knuth divide per
iteration instead of two.
With these changes, all arithmetic passes (verified by pari/GP) up to
1024 bits except for certain division cases.
llvm-svn: 34463
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions