add vrsqrtph
This commit is contained in:
parent
b1ff7891d4
commit
2ec6a7ab4c
3 changed files with 18 additions and 0 deletions
|
@ -976,6 +976,13 @@ CYBOZU_TEST_AUTO(vaddph)
|
|||
vrcpph(zmm1, ptr_b [rax+0x40]);
|
||||
|
||||
vrcpsh(xmm1, xmm3, ptr [rax+0x40]);
|
||||
|
||||
vrsqrtph(xmm1, ptr [rax+0x40]);
|
||||
vrsqrtph(xmm1, ptr_b [rax+0x40]);
|
||||
vrsqrtph(ymm2, ptr [rax+0x40]);
|
||||
vrsqrtph(ymm2, ptr_b [rax+0x40]);
|
||||
vrsqrtph(zmm2, ptr [rax+0x40]);
|
||||
vrsqrtph(zmm2, ptr_b [rax+0x40]);
|
||||
}
|
||||
} c;
|
||||
const uint8_t tbl[] = {
|
||||
|
@ -1106,6 +1113,14 @@ CYBOZU_TEST_AUTO(vaddph)
|
|||
|
||||
// vrcpsh
|
||||
0x62, 0xf6, 0x65, 0x08, 0x4d, 0x48, 0x20,
|
||||
|
||||
// vrsqrtph
|
||||
0x62, 0xf6, 0x7d, 0x08, 0x4e, 0x48, 0x04,
|
||||
0x62, 0xf6, 0x7d, 0x18, 0x4e, 0x48, 0x20,
|
||||
0x62, 0xf6, 0x7d, 0x28, 0x4e, 0x50, 0x02,
|
||||
0x62, 0xf6, 0x7d, 0x38, 0x4e, 0x50, 0x20,
|
||||
0x62, 0xf6, 0x7d, 0x48, 0x4e, 0x50, 0x01,
|
||||
0x62, 0xf6, 0x7d, 0x58, 0x4e, 0x50, 0x20,
|
||||
};
|
||||
const size_t n = sizeof(tbl) / sizeof(tbl[0]);
|
||||
CYBOZU_TEST_EQUAL(c.getSize(), n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue