Can anyone explain what they are and why I would need them? What kind of applications am I building if I need to use intrinsics?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Normally, “intrinsics” refers to functions that are built-in — i.e. most standard library functions that the compiler can/will generate inline instead of calling an actual function in the library. For example, a call like:
memset(array1, 10, 0)could be compiled for an x86 as something like:Intrinsics like this are purely an optimization. “Needing” intrinsics would most likely be a situation where the compiler supports intrinsics that let you generate code that the compiler can’t (or usually won’t) generate directly. For an obvious example, quite a few compilers for x86 have “MMX Intrinsics” that let you use “functions” that are really just direct representations of MMX instructions.