From ba7d38240198ba854384328843da52a26209f488 Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 28 Nov 2021 22:26:50 +0000 Subject: deploy: 6660154d7eaae83f3e8765af8b93dcd651e05452 --- development/gcc.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'development/gcc.html') diff --git a/development/gcc.html b/development/gcc.html index 202d46e..f3e0205 100644 --- a/development/gcc.html +++ b/development/gcc.html @@ -81,7 +81,7 @@ @@ -162,6 +162,13 @@
  • -E run only preprocessor
  • -dM list only #define statements
  • +

    Target options

    +
    # List all target options with their description.
    +gcc --help=target
    +
    +# Configure for current cpu arch and query (-Q) value of options.
    +gcc -march=native -Q --help=target
    +

    Builtins

    __builtin_expect(expr, cond)

    Give the compiler a hint which branch is hot, so it can lay out the code -- cgit v1.2.3