From 03b4be77e50c01cd0463089e68bbe673362a897b Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 29 Aug 2022 20:27:58 +0000 Subject: deploy: 8de64474ded169db55cdd34be9c020ed13c4e5e7 --- development/c++.html | 2 +- development/c++filt.html | 2 +- development/gcc.html | 4 +++- development/glibc.html | 2 +- development/index.html | 2 +- development/ld.so.html | 2 +- development/make.html | 2 +- development/python.html | 2 +- development/symbolver.html | 2 +- 9 files changed, 11 insertions(+), 9 deletions(-) (limited to 'development') diff --git a/development/c++.html b/development/c++.html index 87dc88d..b6d7959 100644 --- a/development/c++.html +++ b/development/c++.html @@ -75,7 +75,7 @@ diff --git a/development/c++filt.html b/development/c++filt.html index e255e2f..646421c 100644 --- a/development/c++filt.html +++ b/development/c++filt.html @@ -75,7 +75,7 @@ diff --git a/development/gcc.html b/development/gcc.html index fa20808..107165d 100644 --- a/development/gcc.html +++ b/development/gcc.html @@ -75,7 +75,7 @@ @@ -161,6 +161,8 @@ gcc -march=native -Q --help=target

Give the compiler a hint which branch is hot, so it can lay out the code accordingly to reduce number of jump instructions. See on compiler explorer.

+

The semantics of this hint are as follows, the compiler prioritises expr == cond. So __builtin_expect(expr, 0) means that we expect the expr to be 0 +most of the time.

echo "
 extern void foo();
 extern void bar();
diff --git a/development/glibc.html b/development/glibc.html
index 592e36c..9481a92 100644
--- a/development/glibc.html
+++ b/development/glibc.html
@@ -75,7 +75,7 @@
 
         
diff --git a/development/index.html b/development/index.html
index 57e5d6d..c38f9bf 100644
--- a/development/index.html
+++ b/development/index.html
@@ -75,7 +75,7 @@
 
         
diff --git a/development/ld.so.html b/development/ld.so.html
index 9c7906e..940cf78 100644
--- a/development/ld.so.html
+++ b/development/ld.so.html
@@ -75,7 +75,7 @@
 
         
diff --git a/development/make.html b/development/make.html
index a1b74cf..8792ecd 100644
--- a/development/make.html
+++ b/development/make.html
@@ -75,7 +75,7 @@
 
         
diff --git a/development/python.html b/development/python.html
index 61b2181..07fd3c5 100644
--- a/development/python.html
+++ b/development/python.html
@@ -75,7 +75,7 @@
 
         
diff --git a/development/symbolver.html b/development/symbolver.html
index cab9e57..37a8261 100644
--- a/development/symbolver.html
+++ b/development/symbolver.html
@@ -75,7 +75,7 @@
 
         
-- 
cgit v1.2.3