fix vcmpsh

This commit is contained in:
MITSUNARI Shigeo 2021-09-03 18:32:48 +09:00
parent b494b321a8
commit cd036ea174
3 changed files with 5 additions and 7 deletions

View file

@ -890,8 +890,7 @@ CYBOZU_TEST_AUTO(vaddph)
vcmpph(k3, zm15, ptr_b[rax+64], 3);
vcmpsh(k1, xm15, ptr[rax+64], 1);
vcmpsh(k1, xm15, ptr_b[rax+64], 1);
vcmpsh(k1|k2, xm15, xm4, 1);
vcmpsh(k3|k5, xmm1, xmm25|T_sae, 4);
}
} c;
const uint8_t tbl[] = {
@ -913,9 +912,8 @@ CYBOZU_TEST_AUTO(vaddph)
0x62, 0xf3, 0x04, 0x38, 0xc2, 0x50, 0x20, 0x02,
0x62, 0xf3, 0x04, 0x58, 0xc2, 0x58, 0x20, 0x03,
0x62, 0xf3, 0x04, 0x08, 0xc2, 0x48, 0x04, 0x01,
0x62, 0xf3, 0x04, 0x18, 0xc2, 0x48, 0x20, 0x01,
0x62, 0xf3, 0x04, 0x0a, 0xc2, 0xcc, 0x01,
0x62, 0xf3, 0x06, 0x08, 0xc2, 0x48, 0x20, 0x01,
0x62, 0x93, 0x76, 0x1d, 0xc2, 0xd9, 0x04,
};
const size_t n = sizeof(tbl) / sizeof(tbl[0]);
CYBOZU_TEST_EQUAL(c.getSize(), n);