aboutsummaryrefslogtreecommitdiffhomepage
path: root/gen/avx_type.hpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2021-09-03 10:45:40 +0900
committerMITSUNARI Shigeo <[email protected]>2021-09-03 10:45:40 +0900
commit6333ec099fb804ca1143d54e05a4a1d93ce9c72e (patch)
tree3dbf0a589a017b134cad44f20fff2fb80286bd1e /gen/avx_type.hpp
parent84053c8e720c96c95fda70c1f8a0b497f34afa2e (diff)
downloadxbyak-6333ec099fb804ca1143d54e05a4a1d93ce9c72e.tar.gz
xbyak-6333ec099fb804ca1143d54e05a4a1d93ce9c72e.zip
add m16bcst
Diffstat (limited to 'gen/avx_type.hpp')
-rw-r--r--gen/avx_type.hpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/gen/avx_type.hpp b/gen/avx_type.hpp
index b645461..fdf91c1 100644
--- a/gen/avx_type.hpp
+++ b/gen/avx_type.hpp
@@ -35,6 +35,7 @@
T_MUST_EVEX = 1 << 25, // contains T_EVEX
T_B32 = 1 << 26, // m32bcst
T_B64 = 1 << 27, // m64bcst
+ T_B16 = T_B32 | T_B64, // m16bcst
T_M_K = 1 << 28, // mem{k}
T_VSIB = 1 << 29,
T_MEM_EVEX = 1 << 30, // use evex if mem
@@ -157,9 +158,12 @@ std::string type2String(int type)
}
if (type & T_B32) {
if (!str.empty()) str += " | ";
- str += "T_B32";
- }
- if (type & T_B64) {
+ if (type & T_B64) {
+ str += "T_B16"; // T_B16 = T_B32 | T_B64
+ } else {
+ str += "T_B32";
+ }
+ } else if (type & T_B64) {
if (!str.empty()) str += " | ";
str += "T_B64";
}