_bnd_set_ptr_bounds
Classification
Other, Miscellaneous, CPUID Test: MPX
Header File
immintrin.h
Instruction
BNDMK bnd, m32
Synopsis
 _bnd_set_ptr_bounds(const void * srcmem, size_t size);
Description
Make a pointer with the value of "srcmem" and bounds set to ["srcmem", "srcmem" + "size" - 1], and store the result in "dst".
Operation
dst := srcmem
dst.LB := srcmem.LB
dst.UB := srcmem + size - 1