diff options
author | Mateusz Chudyk <mateuszchudyk@gmail.com> | 2020-02-04 14:11:17 +0300 |
---|---|---|
committer | Mateusz Chudyk <mateuszchudyk@gmail.com> | 2020-02-07 18:05:53 +0300 |
commit | dcc3492af26cc8d4aaeb98d31263e97b2c86a4db (patch) | |
tree | f892c52cf773126a7c3524f1b378b866c67c0062 | |
parent | ca66ffeb5b8a412ae9307715cd94d3350930a12e (diff) |
Remove unused commented code
-rw-r--r-- | multiply.h | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -561,26 +561,6 @@ INTGEMM_SSSE3 inline static void InnerINTGEMM_SSSE3( } \ } \ - -// Find the maximum absolute value of packed float32s. -/* -template <class Register> inline static float MaxAbsoluteBackend(const float *begin_float, const float *end_float) { - assert(end_float > begin_float); - assert((end_float - begin_float) % (sizeof(Register) / sizeof(float)) == 0); - const Register *begin = reinterpret_cast<const Register*>(begin_float); - const Register *end = reinterpret_cast<const Register*>(end_float); - // Get the sign bit. - union {float f; int32_t i;} float_convert; - float_convert.i = 0x7fffffff; - Register and_me = set1_ps<Register>(float_convert.f); - Register highest = and_ps(and_me, *begin); - for (++begin; begin != end; ++begin) { - Register reg = and_ps(and_me, *begin); - highest = max_ps(highest, reg); - } - - return MaxFloat32(highest); -}*/ #define INTGEMM_MAXABSOLUTE(Register, target) \ target static float MaxAbsolute(const float *begin_float, const float *end_float) { \ assert(end_float > begin_float); \ |