is there a way in pin (a pin API function) to find out whether a specific instruction is a vector (packed) or scalar version of an instruction? I am able to find out the isa class/category/extension using the pin API, but that doesn't tell me whether or not the instruction is truly an SIMD instruction (works on 256 bytes vs. 64 bytes). For instance, VMULPD and VMULSD are both AVX, but not necessarily "true" vector instructions.
Currently I am looking at the largest operand size and classify it based on the returned value, but I am not sure is that a valid approach.
I looked for something like INS_IsScalar() INS_IsVector() in the pin API documentation but couldn't find anything similar.
Greatly appreciate your help and pointers.