Hacker News new | past | comments | ask | show | jobs | submit login

Do the branches happen at run time or are the optimized routines selected at install time (or something else?)



At load time. gcc's approach is to substitute an entry in the PLT, the CPU dispatch logic being run at that time to select the contents of the entry.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: