changeset 201:72cf52ba91f8

libgsmefr/q_plsf_5.c: perf opt
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 04 Jan 2023 04:51:33 +0000
parents 33487966077e
children 0faf23a9286f
files libgsmefr/q_plsf_5.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libgsmefr/q_plsf_5.c	Wed Jan 04 04:42:28 2023 +0000
+++ b/libgsmefr/q_plsf_5.c	Wed Jan 04 04:51:33 2023 +0000
@@ -259,7 +259,7 @@
         dist = L_mac (dist, temp, temp);
 
         test (); 
-        if (L_sub (dist, dist_min) < (Word32) 0)
+        if (dist < dist_min)
         {
             dist_min = dist;                            move32 (); 
             index = i;                                  move16 (); 
@@ -317,7 +317,7 @@
         dist = L_mac (dist, temp, temp);
 
         test (); 
-        if (L_sub (dist, dist_min) < (Word32) 0)
+        if (dist < dist_min)
         {
             dist_min = dist;                            move32 (); 
             index = i;                                  move16 (); 
@@ -343,7 +343,7 @@
         dist = L_mac (dist, temp, temp);
 
         test (); 
-        if (L_sub (dist, dist_min) < (Word32) 0)
+        if (dist < dist_min)
         {
             dist_min = dist;                            move32 (); 
             index = i;                                  move16 ();