aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2024-10-15 08:51:01 +0900
committerMITSUNARI Shigeo <[email protected]>2024-10-15 09:33:14 +0900
commitae76be35ac33f1fc1b94b866c6d85549969682a7 (patch)
treeeac1055fae07aba8349b9c01988cc91b0f739a48 /test
parent0c2f7fc6dbd713b2d690a5859f562746b4dd568d (diff)
downloadxbyak-ae76be35ac33f1fc1b94b866c6d85549969682a7.tar.gz
xbyak-ae76be35ac33f1fc1b94b866c6d85549969682a7.zip
setDefaultEncoding has changed.
Diffstat (limited to 'test')
-rw-r--r--test/avx10_test.cpp4
-rw-r--r--test/test_by_xed.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/avx10_test.cpp b/test/avx10_test.cpp
index 5f742fe..1ceb52a 100644
--- a/test/avx10_test.cpp
+++ b/test/avx10_test.cpp
@@ -234,10 +234,10 @@ CYBOZU_TEST_AUTO(vmpsadbw)
struct Code : Xbyak::CodeGenerator {
Code()
{
- setDefaultEncoding();
+ setDefaultEncodingAVX10();
vmpsadbw(xm1, xm3, xm15, 3); // vex(avx)
vmpsadbw(ym1, ym3, ptr[rax+128], 3); // vex(avx2)
- setDefaultEncoding(VexEncoding, EvexEncoding);
+ setDefaultEncodingAVX10(AVX10v2Encoding);
vmpsadbw(ym1, ym3, ym15, 3); // evex(avx10.2)
vmpsadbw(ym1, ym3, ptr[rax+128], 3); // evex(avx10.2)
}
diff --git a/test/test_by_xed.cpp b/test/test_by_xed.cpp
index af39296..9be9199 100644
--- a/test/test_by_xed.cpp
+++ b/test/test_by_xed.cpp
@@ -7,7 +7,7 @@ struct Code : Xbyak::CodeGenerator {
Code()
: Xbyak::CodeGenerator(4096*8)
{
- setDefaultEncoding(EvexEncoding, AVX10v2Encoding);
+ setDefaultEncodingAVX10(AVX10v2Encoding);
#include "tmp.cpp"
}
};