pgo is great tool for optmize branch prediction, hope branch prediction 
feature merge into pgo as soon as possible

On Tuesday, March 21, 2023 at 5:49:34 AM UTC+8 Ian Lance Taylor wrote:

> On Mon, Mar 20, 2023 at 9:17 AM cheng dong <qq451...@gmail.com> wrote:
> >
> > i see golang source ssa guess BranchLikely/BranchUnLikely, however we 
> could not tell golang whether if is likely or unlikely. and looks the guess 
> logic might be far away from real condition
>
> We don't want to complicate the language. Also, surprisingly,
> experience shows that programmers are often mistaken as to whether
> branches are likely or not. Instead, we are investigating
> profile-guided optimization to make those choices. See
> https://go.dev/blog/pgo-preview.
>
> Ian
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/5e2b7f20-ba6d-4137-9d68-ad655d0ca624n%40googlegroups.com.

Reply via email to