summaryrefslogtreecommitdiff
path: root/content/other/pragmas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'content/other/pragmas.cpp')
-rw-r--r--content/other/pragmas.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/other/pragmas.cpp b/content/other/pragmas.cpp
new file mode 100644
index 0000000..a39c850
--- /dev/null
+++ b/content/other/pragmas.cpp
@@ -0,0 +1,6 @@
+#pragma GCC optimize("Ofast")
+#pragma GCC optimize ("unroll-loops")
+#pragma GCC target("sse,sse2,sse3,ssse3,sse4,"
+ "popcnt,abm,mmx,avx,tune=native")
+#pragma GCC target("fpmath=sse,sse2") // no excess precision
+#pragma GCC target("fpmath=387") // force excess precision