diff options
Diffstat (limited to 'liblow')
-rw-r--r-- | liblow/cmovznz.c | 13 | ||||
-rw-r--r-- | liblow/liblow.h | 3 |
2 files changed, 0 insertions, 16 deletions
diff --git a/liblow/cmovznz.c b/liblow/cmovznz.c deleted file mode 100644 index f0b3012b6..000000000 --- a/liblow/cmovznz.c +++ /dev/null @@ -1,13 +0,0 @@ -#include <stdint.h> -#include "liblow.h" -uint64_t cmovznz(uint64_t t, uint64_t z, uint64_t nz) { - asm ("testq %1, %1;" "\n" - "\t" "cmovnzq %3, %0;" - :"=r"(z) - :"r"(t), "0"(z), "r"(nz) - ); - return z; -} -uint64_t cmovznz64(uint64_t t, uint64_t z, uint64_t nz) { - return cmovznz(t, z, nz); -} diff --git a/liblow/liblow.h b/liblow/liblow.h deleted file mode 100644 index 69764c4a8..000000000 --- a/liblow/liblow.h +++ /dev/null @@ -1,3 +0,0 @@ -#include <stdint.h> -uint64_t cmovznz(uint64_t t, uint64_t z, uint64_t nz); -uint64_t cmovznz64(uint64_t t, uint64_t z, uint64_t nz); |