To avoid issues like that addressed by 6e3e5c9e ("x86: extend SSE check to PCLMULQDQ, AES, and GFNI insns"), base the check on opcode attributes and operand types.