#437: Correct autoconfiguration of restrict keyword; add support for builtin_expect -----------------------------------------------------+---------------------- Reporter: Erik Schnetter <schnetter@…> | Owner: Type: defect | Status: review Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: -----------------------------------------------------+----------------------
Comment (by barry.wardell):
I also add support for the gcc built-in function "builtin_expect"
This sounds like potentially quite a nice addition. How difficult would it be to take this further and enable the use of profile guided optimization (eg. http://stackoverflow.com/questions/2738835/learning-sample-of-likely- and-unlikely-compiler-hints). Do you think it would be likely to help much?