Hacker News new | ask | show | jobs
by colejohnson66 14 days ago
Redwood Cove*. It's in the optimization manual (vol 1)[0], section 2.1.1.1. It explicitly references the "SSE2" branch hints (2E and 3E).

[0]: https://cdrdv2.intel.com/v1/dl/getContent/671488

1 comments

So, it basically says:

  - Do not use them in hot code
  - Use them only if you have PGO (which ignores static hints like __builtin_expect)
  - Use them only if you cannot do it by basic block layout
So it seems very narrow. On top of that, it's only for the P-cores, whose design seems to be on their way out. But thanks, it's good to know nevertheless :-)