aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-05-28 16:22:14 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2018-05-28 16:22:34 +0000
commit2422317b4a9355869775f1e204749a1912ef5ebc (patch)
tree689df7b1476074f17713bf3e2787f163b72aa8c2
parentff5aad76be69a0b50821bc70c25882c84b5c7785 (diff)
Change optimizaton level from tree-vectorize to O3
Change-Id: Ia1b49d7fd5f32d9a5139df5df636b46264003a63 Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--src/vppinfra/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/cpu.h b/src/vppinfra/cpu.h
index 6504c7b4e3a..f670f3e964b 100644
--- a/src/vppinfra/cpu.h
+++ b/src/vppinfra/cpu.h
@@ -34,7 +34,7 @@
#if __GNUC__ > 4 && !__clang__
-#define CLIB_CPU_OPTIMIZED __attribute__ ((optimize ("tree-vectorize")))
+#define CLIB_CPU_OPTIMIZED __attribute__ ((optimize ("O3")))
#else
#define CLIB_CPU_OPTIMIZED
#endif