summaryrefslogtreecommitdiff
path: root/other/pragmas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'other/pragmas.cpp')
-rw-r--r--other/pragmas.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/other/pragmas.cpp b/other/pragmas.cpp
new file mode 100644
index 0000000..f8cf060
--- /dev/null
+++ b/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 \ No newline at end of file