[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] Add branch prediction for C_demand checks [was: Re
From: |
felix . winkelmann |
Subject: |
Re: [Chicken-hackers] Add branch prediction for C_demand checks [was: Re: [PATCH] Statically determine if argvector can be reused] |
Date: |
Thu, 12 Jan 2017 12:33:34 +0100 |
> And here's another one, that adds C_likely() and C_unlikely() macros,
> a la the Linux kernel's likely() and unlikely(). These are simple
> wrappers for __builtin_expect() which tell the compiler which branches
> in a conditional expression are likely to be taken.
>
Signed off and pushed.
felix