zoukankan      html  css  js  c++  java
  • C++常数优化

    不要在考试的时候用啊QwQ

     1 #pragma GCC optimize(2)
     2 #pragma GCC optimize(3)
     3 #pragma GCC target("avx")
     4 #pragma GCC optimize("Ofast")
     5 #pragma GCC optimize("inline")
     6 #pragma GCC optimize("-fgcse")
     7 #pragma GCC optimize("-fgcse-lm")
     8 #pragma GCC optimize("-fipa-sra")
     9 #pragma GCC optimize("-ftree-pre")
    10 #pragma GCC optimize("-ftree-vrp")
    11 #pragma GCC optimize("-fpeephole2")
    12 #pragma GCC optimize("-ffast-math")
    13 #pragma GCC optimize("-fsched-spec")
    14 #pragma GCC optimize("unroll-loops")
    15 #pragma GCC optimize("-falign-jumps")
    16 #pragma GCC optimize("-falign-loops")
    17 #pragma GCC optimize("-falign-labels")
    18 #pragma GCC optimize("-fdevirtualize")
    19 #pragma GCC optimize("-fcaller-saves")
    20 #pragma GCC optimize("-fcrossjumping")
    21 #pragma GCC optimize("-fthread-jumps")
    22 #pragma GCC optimize("-funroll-loops")
    23 #pragma GCC optimize("-fwhole-program")
    24 #pragma GCC optimize("-freorder-blocks")
    25 #pragma GCC optimize("-fschedule-insns")
    26 #pragma GCC optimize("inline-functions")
    27 #pragma GCC optimize("-ftree-tail-merge")
    28 #pragma GCC optimize("-fschedule-insns2")
    29 #pragma GCC optimize("-fstrict-aliasing")
    30 #pragma GCC optimize("-fstrict-overflow")
    31 #pragma GCC optimize("-falign-functions")
    32 #pragma GCC optimize("-fcse-skip-blocks")
    33 #pragma GCC optimize("-fcse-follow-jumps")
    34 #pragma GCC optimize("-fsched-interblock")
    35 #pragma GCC optimize("-fpartial-inlining")
    36 #pragma GCC optimize("no-stack-protector")
    37 #pragma GCC optimize("-freorder-functions")
    38 #pragma GCC optimize("-findirect-inlining")
    39 #pragma GCC optimize("-frerun-cse-after-loop")
    40 #pragma GCC optimize("inline-small-functions")
    41 #pragma GCC optimize("-finline-small-functions")
    42 #pragma GCC optimize("-ftree-switch-conversion")
    43 #pragma GCC optimize("-foptimize-sibling-calls")
    44 #pragma GCC optimize("-fexpensive-optimizations")
    45 #pragma GCC optimize("-funsafe-loop-optimizations")
    46 #pragma GCC optimize("inline-functions-called-once")
    47 #pragma GCC optimize("-fdelete-null-pointer-checks")
  • 相关阅读:
    <html>
    poj 2676 Sudoku
    百亿互金平台救火故事
    Retrofit三步理解之中的一个 ------------------ Retrofit的简单使用总结
    精简版—愤慨的小鸟
    POJ 1095 Trees Made to Order
    Android Studio 错误: 非法字符: &#39;ufeff&#39; 解决方式|错误: 须要class, interface或enum
    使用CodePush实时更新 React Native 和 Cordova 应用
    获取url地址参数
    利用jQuery 通用文件导出前端实现,MVC文件导出
  • 原文地址:https://www.cnblogs.com/UserUnknown/p/12003344.html
Copyright © 2011-2022 走看看