aboutsummaryrefslogtreecommitdiffhomepage
path: root/gen/Makefile
diff options
context:
space:
mode:
authorShustrov, Nikita <[email protected]>2020-06-26 11:13:38 -0700
committerShustrov, Nikita <[email protected]>2020-06-26 11:13:38 -0700
commit8d1b4c9e12317eb249ff3aaa21f8e94df62838a8 (patch)
treeebe0b0ae0b162de0f40014c0463669eba415961b /gen/Makefile
parent8ded45d1e20e829bd4bd22aefa1123df9f38d343 (diff)
downloadxbyak-8d1b4c9e12317eb249ff3aaa21f8e94df62838a8.tar.gz
xbyak-8d1b4c9e12317eb249ff3aaa21f8e94df62838a8.zip
add generation of Intel(R) AMX ISA mnemonics
Diffstat (limited to 'gen/Makefile')
-rw-r--r--gen/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/gen/Makefile b/gen/Makefile
index 53d1a94..f9068e4 100644
--- a/gen/Makefile
+++ b/gen/Makefile
@@ -1,5 +1,5 @@
TARGET=../xbyak/xbyak_mnemonic.h
-BIN=sortline gen_code gen_avx512
+BIN=sortline gen_code gen_avx512 gen_amx
CFLAGS=-I../ -O2 -DXBYAK_NO_OP_NAMES -Wall -Wextra -Wno-missing-field-initializers
all: $(TARGET)
sortline: sortline.cpp
@@ -8,6 +8,8 @@ gen_code: gen_code.cpp ../xbyak/xbyak.h avx_type.hpp
$(CXX) $(CFLAGS) $< -o $@
gen_avx512: gen_avx512.cpp ../xbyak/xbyak.h avx_type.hpp
$(CXX) $(CFLAGS) $< -o $@
+gen_amx: gen_amx.cpp ../xbyak/xbyak.h avx_type.hpp
+ $(CXX) $(CFLAGS) $< -o $@
$(TARGET): $(BIN)
./gen_code | ./sortline > $@
@@ -19,6 +21,7 @@ $(TARGET): $(BIN)
./gen_avx512 | ./sortline >> $@
echo "#ifdef XBYAK64" >> $@
./gen_avx512 64 | ./sortline >> $@
+ ./gen_amx | ./sortline >> $@
echo "#endif" >> $@
echo "#endif" >> $@