This commit is contained in:
Adam Ierymenko 2020-02-26 11:32:54 -08:00
parent f20905b08a
commit ea0961dfd2
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3

View file

@ -27,7 +27,7 @@ ZT_ALWAYS_INLINE uint64_t mulmod52(uint64_t a,uint64_t b,const uint64_t m) noexc
{ {
#if 0 // #ifdef ZT_ARCH_X64 #if 0 // #ifdef ZT_ARCH_X64
// This works on X64 but is very slightly slower than the FPU trick on all tested cores. That's probably // This works on X64 but is very slightly slower than the FPU trick on all tested cores. That's probably
// because FPU division is more heavily optimized in silicon than integer division. // because FPU division is more heavily optimized in silicon than integer division on these chips.
uint64_t r; uint64_t r;
__asm__ ( __asm__ (
"mulq %2\n\t" "mulq %2\n\t"