Commit graph

600 commits

Author SHA1 Message Date
MITSUNARI Shigeo
f9c6cb5dc4 all opGen are replaced with opGen2 2023-11-08 09:25:44 +09:00
MITSUNARI Shigeo
87b8c8ed25 adox passes the test 2023-11-01 18:18:52 +09:00
MITSUNARI Shigeo
6b19515ebd add adcx, adox with APX 2023-11-01 12:34:48 +09:00
MITSUNARI Shigeo
710e39bfe4 add test of r, r/m 2023-10-30 16:03:47 +09:00
MITSUNARI Shigeo
cdc2533c1c add test of adc/3op 2023-10-27 11:10:26 +09:00
MITSUNARI Shigeo
8d524b4a42 add op(r, r/m, imm) and op(r, r/m, r/m) 2023-10-27 10:52:26 +09:00
MITSUNARI Shigeo
4c62d1fdce test adc2(r, op, mem) and adc2(r, mem, op) 2023-10-26 18:07:19 +09:00
MITSUNARI Shigeo
6f593a1cba test of adc2 (3op APX) 2023-10-26 16:59:36 +09:00
MITSUNARI Shigeo
a95bd9cc56 add test of adc/add/and_/cmp/or_/sbb/sub/xor_ 2023-10-16 08:50:40 +09:00
MITSUNARI Shigeo
ad3334ba6e add modRM with rex2 2023-10-13 11:14:43 +09:00
MITSUNARI Shigeo
059d115b52 add test of apx.cpp 2023-10-13 09:51:30 +09:00
MITSUNARI Shigeo
873c93a516 add test of regs of apx 2023-10-13 09:45:33 +09:00
MITSUNARI Shigeo
6c580b1f7e fix cvt test for extended r16-r31 2023-10-06 10:54:25 +09:00
MITSUNARI Shigeo
dd66cfb764 add tests of avx-vnni-int{8,16} 2023-08-07 10:59:12 +09:00
MITSUNARI Shigeo
d9e76b1c6d add tests of SM4 2023-08-07 09:42:25 +09:00
MITSUNARI Shigeo
d79717dbeb add tests of SM3 2023-08-07 09:27:44 +09:00
MITSUNARI Shigeo
ecdd01ee59 mov crypt test in 64-bit mode 2023-08-04 18:05:47 +09:00
MITSUNARI Shigeo
5762819de3 add vsha512{msg1, msg2, rnds2} 2023-08-04 17:45:50 +09:00
MITSUNARI Shigeo
ad178a2196 add xabort/xbegin/xend 2023-08-02 09:42:22 +09:00
MITSUNARI Shigeo
3e42709ab8 ignore space and cr 2023-07-27 12:20:24 +09:00
MITSUNARI Shigeo
66b2768a66 disable wrong detection of gcc 2023-07-27 12:19:16 +09:00
MITSUNARI Shigeo
1855985e14 remove / for mingw64 2023-07-27 12:18:56 +09:00
MITSUNARI Shigeo
5bdccc0b81 64bit only for mingw64 2023-07-27 12:18:31 +09:00
MITSUNARI Shigeo
2149c79e33 add test of alias of vpclmulqdq 2023-07-05 17:52:15 +09:00
MITSUNARI Shigeo
729ae4aa37 fix alias of pclmulqdq 2023-07-05 17:34:36 +09:00
MITSUNARI Shigeo
ad0dfffd29 add senduipi/stui/testui/uiret 2023-02-20 14:07:43 +09:00
MITSUNARI Shigeo
e78f1121b9 add clui 2023-02-20 14:07:43 +09:00
MITSUNARI Shigeo
1b08a82483 add test of prefetchiti 2022-12-07 16:17:07 +09:00
MITSUNARI Shigeo
bebfe64a3d [test] X32 is optional and remove CFLAGS 2022-12-05 12:10:08 +09:00
Andrea Pappacoda
8a974696cb
test: simplify makefile 2022-12-01 21:24:47 +01:00
MITSUNARI Shigeo
445c0dcec1 add test of CMPccXADD 2022-11-30 13:20:57 +09:00
MITSUNARI Shigeo
00bfaaa7f6 add test of rao-int 2022-11-25 17:38:39 +09:00
MITSUNARI Shigeo
f07c5c2554 fix args of EmptyAllocator::alloc in test 2022-11-24 16:42:50 +09:00
MITSUNARI Shigeo
04d3eb5f5c stop if a test script causes an error 2022-11-24 16:41:59 +09:00
MITSUNARI Shigeo
bafc1ee60f CXX uses g++ as default value 2022-11-24 15:48:06 +09:00
MITSUNARI Shigeo
d8cabc6cb7 remove warning of blace 2022-11-24 15:48:06 +09:00
MITSUNARI Shigeo
bc73a08164 remove -fno-operator-names option 2022-11-24 15:48:06 +09:00
MITSUNARI Shigeo
6989aea946 use CXX instead of g++ 2022-11-24 15:48:06 +09:00
MITSUNARI Shigeo
3b83aab3e4 add detect_x32 to TARGET 2022-11-22 09:02:13 +09:00
MITSUNARI Shigeo
8c64bbbc31 use gcc instead of dpkg for portability 2022-11-21 16:39:13 +09:00
MITSUNARI Shigeo
5e9a9b96f5 test_avx512.sh runs on x32 2022-11-20 11:31:00 +09:00
MITSUNARI Shigeo
8ae01b0c23 disable some tests on x32 2022-11-20 11:27:19 +09:00
MITSUNARI Shigeo
693ab8c9d7 sizeof(void*) = 4 on x32, so disable the test 2022-11-17 14:26:31 +09:00
MITSUNARI Shigeo
459636196c add T_M_K flag to vpmov* 2022-11-04 14:32:51 +09:00
MITSUNARI Shigeo
1d37229283 add include path 2022-11-04 14:32:51 +09:00
MITSUNARI Shigeo
d6f2d75772 add test of setDefaultEncoding 2022-10-07 09:30:06 +09:00
MITSUNARI Shigeo
6b75196597 add serialize 2022-09-15 09:02:54 +09:00
MITSUNARI Shigeo
1a9a0b0e11 avoid including algorithm header in xbyak_util.h 2022-08-10 11:22:28 +09:00
MITSUNARI Shigeo
d224701f4a fix movzx eax, ah on 64bit and test it 2022-07-22 17:44:26 +09:00
MITSUNARI Shigeo
d808f9ecbc add test of Cpu::has 2022-05-20 17:48:05 +09:00
MITSUNARI Shigeo
72d1ac1183 add movdir64b 2022-05-12 10:51:23 +09:00
MITSUNARI Shigeo
379f8bf376 add movdiri 2022-05-12 09:56:15 +09:00
MITSUNARI Shigeo
0ad6db1387 fix cldemote test for 32-bit 2022-05-11 17:29:48 +09:00
MITSUNARI Shigeo
a84ddc12dd support cldemote 2022-05-11 17:01:10 +09:00
MITSUNARI Shigeo
3a6cc626e8 add clwb 2022-05-11 16:02:49 +09:00
MITSUNARI Shigeo
a220fd69a2 add umwait 2022-04-05 15:08:12 +09:00
MITSUNARI Shigeo
64ec053e61 add umonitor 2022-04-05 14:56:52 +09:00
MITSUNARI Shigeo
764d54f6fa add tpause 2022-04-05 14:17:44 +09:00
MITSUNARI Shigeo
c68646e8de remove warning of vc 2022-04-05 14:16:48 +09:00
MITSUNARI Shigeo
360f4b673d test badSSE only for 32-bit mode 2022-03-13 14:57:56 +09:00
MITSUNARI Shigeo
2bc8fcbd38 add tests to badSSE 2022-03-08 11:59:31 +09:00
MITSUNARI Shigeo
6de93fb884 add baseSSE test 2022-03-08 11:33:43 +09:00
Andrea Pappacoda
b4eddaced2
build(make): honour CXXFLAGS, CPPFLAGS and LDFLAGS
It is currently impossible to pass custom flags to the makefiles using
environment variables, because they ignore the predefined macros
CXXFLAGS, CPPFLAGS and LDFLAGS.

Passing LDFLAGS is defined in the Posix standard
(https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html#tag_20_76_13_09),
while the CXXFLAGS and CPPFLAGS variables are predefined in GNU Make
(https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html#Implicit-Variables).
2022-02-15 15:07:15 +01:00
MITSUNARI Shigeo
fbe60e5901 test generates only a.asm 2022-02-15 13:52:51 +09:00
Andrea Pappacoda
55b9f131bc
build(make): fix clean target in test/Makefile
.asm, .lst, and .obj files get generated during tests, and they should be cleaned up as well
2022-02-14 16:21:57 +01:00
MITSUNARI Shigeo
82e0deb8ab v6.02 2022-01-28 10:57:21 +09:00
MITSUNARI Shigeo
08f11817c4 supprt retf 2021-12-14 12:23:07 +09:00
MITSUNARI Shigeo
1abfc3465f support call(mem, T_FAR) 2021-12-14 12:22:56 +09:00
MITSUNARI Shigeo
fb158f9014 support jmp(mem, T_FAR) 2021-12-14 11:41:20 +09:00
MITSUNARI Shigeo
3162eb16f2 add test of hlt 2021-12-09 16:30:19 +09:00
MITSUNARI Shigeo
894a1b14a7 use original uint8_t 2021-10-05 14:00:05 +09:00
MITSUNARI Shigeo
b3489f5481 add vcvtusi2sh 2021-09-14 14:33:15 +09:00
MITSUNARI Shigeo
16d9898ab9 add vcvtsi2sh 2021-09-14 14:29:33 +09:00
MITSUNARI Shigeo
02fa7057d1 add vcvttph2qq 2021-09-14 10:50:04 +09:00
MITSUNARI Shigeo
4e72a9dc49 add vcvttsh2usi 2021-09-14 10:37:48 +09:00
MITSUNARI Shigeo
05d08e05b3 add vcvttsh2si 2021-09-14 10:05:26 +09:00
MITSUNARI Shigeo
621e6548c1 add vcvtsh2usi 2021-09-14 10:02:46 +09:00
MITSUNARI Shigeo
34abda5c5f extend vcvtps2ph 2021-09-14 09:31:53 +09:00
MITSUNARI Shigeo
facd622b28 add vcvtw2ph 2021-09-14 09:17:40 +09:00
MITSUNARI Shigeo
270af1cb24 add vcvtuw2ph 2021-09-14 09:15:34 +09:00
MITSUNARI Shigeo
17dc697cdc add vcvttph2w 2021-09-14 09:12:43 +09:00
MITSUNARI Shigeo
62f022aeae vcvttph2uw 2021-09-14 09:10:29 +09:00
MITSUNARI Shigeo
836346bfdf add vcvtph2w 2021-09-14 09:07:05 +09:00
MITSUNARI Shigeo
300edb37bc add vcvtph2uw 2021-09-14 09:04:36 +09:00
MITSUNARI Shigeo
737904b5a4 add vcvtuqq2ph 2021-09-13 17:38:04 +09:00
MITSUNARI Shigeo
52b2ebf188 add vcvtqq2ph 2021-09-13 17:35:40 +09:00
MITSUNARI Shigeo
6761f1e059 add vcvtpd2ph 2021-09-13 17:33:01 +09:00
MITSUNARI Shigeo
03f95b7e3d add vcvtudq2ph 2021-09-13 17:21:14 +09:00
MITSUNARI Shigeo
64430b2bb3 add vcvtps2phx 2021-09-13 17:17:38 +09:00
MITSUNARI Shigeo
88e426aa44 add vcvtdq2ph 2021-09-13 17:07:14 +09:00
MITSUNARI Shigeo
bf28a94a5a add vcvttph2uqq 2021-09-13 14:51:56 +09:00
MITSUNARI Shigeo
4c4e665d3b add vcvtph2uqq 2021-09-13 14:48:26 +09:00
MITSUNARI Shigeo
2b0099b631 add vcvtph2qq 2021-09-13 14:44:29 +09:00
MITSUNARI Shigeo
3ff69a474c add vcvtph2pd 2021-09-13 14:39:56 +09:00
MITSUNARI Shigeo
678b529568 add vcvttph2udq 2021-09-13 10:46:15 +09:00
MITSUNARI Shigeo
72a5717e40 add vcvttph2dq 2021-09-13 10:42:16 +09:00
MITSUNARI Shigeo
524d52bf62 add vcvtph2udq 2021-09-13 10:35:02 +09:00
MITSUNARI Shigeo
d1cf4db97b add vcvtph2psx 2021-09-13 10:29:40 +09:00
MITSUNARI Shigeo
fccd2c49bc add vcvtph2dq 2021-09-13 10:23:51 +09:00
MITSUNARI Shigeo
ed9f6c72a0 add vcvtsh2si 2021-09-12 12:33:20 +09:00
MITSUNARI Shigeo
ac1407bd16 add vcvtss2sh 2021-09-12 12:12:12 +09:00
MITSUNARI Shigeo
2958a19bbb add vcvtsh2ss 2021-09-12 12:09:03 +09:00
MITSUNARI Shigeo
10d683303a add vcvtsh2sd 2021-09-12 12:06:33 +09:00
MITSUNARI Shigeo
3920c950c0 add vcvtsd2sh 2021-09-12 12:02:32 +09:00
MITSUNARI Shigeo
9a1b73932b add vmovw 2021-09-11 20:52:18 +09:00
MITSUNARI Shigeo
61f85a2048 add vmovsh 2021-09-11 20:26:12 +09:00
MITSUNARI Shigeo
847166cef1 add tests of vgetmant{ph,sh} 2021-09-10 09:40:19 +09:00
MITSUNARI Shigeo
55ab361f01 add tests of vgetexp{ph,sh} 2021-09-10 09:35:13 +09:00
MITSUNARI Shigeo
ee920a9912 add vfpclasssh 2021-09-10 09:26:25 +09:00
MITSUNARI Shigeo
7aed436e64 add vfpclassph 2021-09-10 09:23:45 +09:00
MITSUNARI Shigeo
b3b1e4e3c1 fix vrndscale* to support {sae} 2021-09-09 11:33:02 +09:00
MITSUNARI Shigeo
681077eb14 add vrndscalesh 2021-09-09 11:14:02 +09:00
MITSUNARI Shigeo
2f14eae85c add vrndscaleph 2021-09-09 11:10:37 +09:00
MITSUNARI Shigeo
f96870a44e add vreducesh 2021-09-09 11:03:20 +09:00
MITSUNARI Shigeo
043c94ae95 add vreduceph 2021-09-09 10:58:46 +09:00
MITSUNARI Shigeo
37bf3bb49d add vscalefsh 2021-09-09 10:53:20 +09:00
MITSUNARI Shigeo
c16f91c59b add vscalefph 2021-09-09 10:50:43 +09:00
MITSUNARI Shigeo
61ad45935c add vsqrtsh 2021-09-07 14:55:03 +09:00
MITSUNARI Shigeo
e00b508d5f add vsqrtph 2021-09-07 14:48:33 +09:00
MITSUNARI Shigeo
52765d54f7 add vrsqrtsh 2021-09-07 09:53:13 +09:00
MITSUNARI Shigeo
2ec6a7ab4c add vrsqrtph 2021-09-07 09:49:53 +09:00
MITSUNARI Shigeo
b1ff7891d4 add vrcpph, vrcpsh 2021-09-07 09:33:07 +09:00
MITSUNARI Shigeo
4f543ca0e4 add vucomish 2021-09-07 09:16:31 +09:00
MITSUNARI Shigeo
412b95f02e add vf{,c}mulcph 2021-09-06 16:32:09 +09:00
MITSUNARI Shigeo
9fc53baed1 add vf{,c}maddcph 2021-09-06 16:23:11 +09:00
MITSUNARI Shigeo
0098ce98d7 add vf{,n}m{sub,add}sh 2021-09-06 15:31:54 +09:00
MITSUNARI Shigeo
849dffb100 add vfmadd, vfnmadd, vfnmsub for avx512-fp16 2021-09-06 14:43:53 +09:00
MITSUNARI Shigeo
eadb93d0b4 add vfmsubaddcph 2021-09-06 14:24:47 +09:00
MITSUNARI Shigeo
9b8802cba2 add vfmaddsub{132,213,231}ph 2021-09-05 14:05:00 +09:00
MITSUNARI Shigeo
ab9481b4c6 add vcomish 2021-09-05 11:57:47 +09:00
MITSUNARI Shigeo
cd036ea174 fix vcmpsh 2021-09-03 18:32:48 +09:00
MITSUNARI Shigeo
b494b321a8 vcmpsh supports ptr_b 2021-09-03 18:05:32 +09:00
MITSUNARI Shigeo
eb2d63c83f vcmpph uses T_B16 2021-09-03 17:43:37 +09:00
MITSUNARI Shigeo
16d18b1d46 fix v{add,sub,mul,...}{sd,ss} to support T_rd_sae etc. 2021-09-03 11:11:14 +09:00
MITSUNARI Shigeo
66c6ca1ab5 support vaddsh with T_rd_sae 2021-09-03 10:53:52 +09:00
MITSUNARI Shigeo
6333ec099f add m16bcst 2021-09-03 10:45:40 +09:00
MITSUNARI Shigeo
84053c8e72 add vcmpph 2021-09-03 09:26:17 +09:00
MITSUNARI Shigeo
ebf29542dd add vaddsh test 2021-09-02 17:04:39 +09:00
MITSUNARI Shigeo
f29689d02c add test of vaddph 2021-09-02 16:56:13 +09:00
MITSUNARI Shigeo
19043cb9ac add test for gather/scatter 2021-06-06 11:53:33 +09:00
MITSUNARI Shigeo
b5acb1d1c6 gather test does not generate bad combination of regs 2021-06-06 11:43:10 +09:00
MITSUNARI Shigeo
ea9814f4f1 check bad reg combination of gather 2021-06-05 17:48:07 +09:00
MITSUNARI Shigeo
6b3eb9c1e4 default encoding is always evex 2020-10-19 18:09:12 +09:00
MITSUNARI Shigeo
f85b1100b5 refactor vnni 2020-10-19 15:45:26 +09:00
MITSUNARI Shigeo
1f119a04ac support [scale * reg] 2020-10-17 11:11:41 +09:00
Mitsuru Kariya
b0a43c7e5b Use sh instead of tcsh for test scripts
I think that it is better to use sh rather than tcsh.
2020-09-25 08:46:59 +09:00
MITSUNARI Shigeo
bb967ae752 replace uint32 with uint32_t etc. 2020-09-08 15:14:18 +09:00
MITSUNARI Shigeo
be492be1a4 change the behavior of push((byte|word), imm) to cast imm to int8_t/int16_t 2020-08-24 16:29:34 +09:00
MITSUNARI Shigeo
9cd796a9f1 rename XBYAK_NOEXCEPTION to XBYAK_NO_EXCEPTION 2020-07-21 14:07:08 +09:00
MITSUNARI Shigeo
38a28dece4 test_nm.bat supports noexcept 2020-07-20 18:28:36 +09:00