add pclmullqlqdq

This commit is contained in:
MITSUNARI Shigeo 2012-02-09 16:06:41 +09:00
parent 08bb1a0433
commit f73a88b01d
5 changed files with 41 additions and 10 deletions

View file

@ -1096,6 +1096,18 @@ class Test {
const char *p = tbl[i];
put(p, XMM, XMM|MEM, IMM);
}
{
const char tbl[][16] = {
"pclmullqlqdq",
"pclmulhqlqdq",
// "pclmullqhdq", // QQQ : not supported by nasm/yasm
// "pclmulhqhdq",
};
for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) {
const char *p = tbl[i];
put(p, XMM, XMM|MEM);
}
}
put("extractps", REG32e|MEM, XMM, IMM);
put("pextrw", REG32e|MEM, XMM, IMM); // pextrw for REG32 is for MMX2
put("pextrb", REG32e|MEM, XMM, IMM);