changed: asm code in UInt::Add, UInt::AddInt, AddTwoInts
32 and 64 bits, much faster now added: tests for UInt::AddInt fixed: tests: test_lahf() returned incorrect value for 32bit platform git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@82 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include <ttmath/ttmath.h>
|
||||
#include "uinttest.h"
|
||||
|
||||
//#include <windows.h>
|
||||
|
||||
const char uint_tests_file[] = "tests.uint32";
|
||||
|
||||
@@ -90,9 +91,13 @@ bool test_lahf()
|
||||
std::cout << "fail" << std::endl;
|
||||
|
||||
|
||||
return false;
|
||||
|
||||
#endif
|
||||
|
||||
return false;
|
||||
|
||||
// 32bit platform
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -117,7 +122,5 @@ using namespace ttmath;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user