From c4b12add095a7038df9ece8e8bb77ed4d4d59ad0 Mon Sep 17 00:00:00 2001
From: christos <christos@cern.ch>
Date: Thu, 27 Aug 2020 04:13:50 +0200
Subject: [PATCH] KLGaussianMixtureReduction : Code is explicitly vec so no
 need to add to compiler flags

---
 .../src/KLGaussianMixtureReduction.cxx              | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/Tracking/TrkFitter/TrkGaussianSumFilter/src/KLGaussianMixtureReduction.cxx b/Tracking/TrkFitter/TrkGaussianSumFilter/src/KLGaussianMixtureReduction.cxx
index 3918298c7ff..2d6e62a1b0b 100644
--- a/Tracking/TrkFitter/TrkGaussianSumFilter/src/KLGaussianMixtureReduction.cxx
+++ b/Tracking/TrkFitter/TrkGaussianSumFilter/src/KLGaussianMixtureReduction.cxx
@@ -1,12 +1,13 @@
 /*
   Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
+
 #include "TrkGaussianSumFilter/KLGaussianMixtureReduction.h"
 #include "CxxUtils/features.h"
 #include "CxxUtils/vec.h"
-#include "CxxUtils/vectorize.h"
 #include "TrkGaussianSumFilter/AlignedDynArray.h"
 #include <limits>
+
 #if !defined(__GNUC__)
 #define __builtin_assume_aligned(X, N) X
 #else
@@ -23,12 +24,8 @@
  * @date 26th November 2019
  *
  * Implementation of KLGaussianMixtureReduction
- *
  */
 
-/// This enables -ftree-vectorize in gcc (since we compile with -O2)
-ATH_ENABLE_VECTORIZATION;
-
 namespace {
 using namespace GSFUtils;
 
@@ -264,8 +261,7 @@ findMerges(Component1D* componentsIn,
  */
 #if HAVE_FUNCTION_MULTIVERSIONING
 #if defined(__x86_64__)
-__attribute__((target("avx2")))
-int32_t
+__attribute__((target("avx2"))) int32_t
 findMinimumIndex(const float* distancesIn, const int n)
 {
   using namespace CxxUtils;
@@ -298,8 +294,7 @@ findMinimumIndex(const float* distancesIn, const int n)
   }
   return minIndex;
 }
-__attribute__((target("sse4.1")))
-int32_t
+__attribute__((target("sse4.1"))) int32_t
 findMinimumIndex(const float* distancesIn, const int n)
 {
   using namespace CxxUtils;
-- 
GitLab