Overview: Intrinsics for 3rd Generation Intel® Core™ Processor Instruction Extensions
The 3rd Generation Intel® Core™ Processor Instruction Extension intrinsics are assembly-coded functions that call on 3rd Generation Intel® Core™ Processor Instructions that include new vector SIMD and scalar instructions targeted for Intel® 64 architecture processors in process technology smaller than 32nm.
To use these intrinsics, include the
immintrin.hfile as follows:
These intrinsics map directly to the instructions defined in the "CHAPTER 9. ADDITIONAL NEW INSTRUCTIONS" section of
"Intel® Advanced Vector Extensions Programming Reference"(http://software.intel.com/en-us/avx/).
The 3rd Generation Intel® Core™ Processor Instruction Extensions include:
- Four intrinsics that map to two hardware instructionsVCVTPS2PHandVCVTPH2PSperforming 16-bit floating-point data type conversion to and from single-precision floating-point data type. The intrinsics for conversion to packed 16-bit floating-point values from packed single-precision floating-point values also provide rounding control using an immediate byte.
- Three intrinsics that map to the hardware instructionRDRAND. The intrinsics generate random numbers of 16/32/64 bit wide random integers.
- Eight intrinsics that map to the hardware instructionsRDFSBASE,RDGSBASE,WRFSBASE, andWRGSBASE. The intrinsics allow software that works in the 64-bit environment to read and write the FS base and GS base registers at all privileged levels.