Commit graph

126 commits

Author SHA1 Message Date
MITSUNARI Shigeo
5315658ad6 add detection of avx10/apx_f 2023-12-14 17:26:58 +09:00
MITSUNARI Shigeo
4a6132d660 update cpuid list 2023-08-07 10:12:04 +09:00
MITSUNARI Shigeo
bea25541ac add detection of AVX_VNNI_INT16 2023-08-07 10:11:54 +09:00
MITSUNARI Shigeo
9b3687a68a add detection of SHA512, SM3, SM4 2023-08-06 09:57:45 +09:00
MITSUNARI Shigeo
c4550b6a9d sde 9.24.0 2023-08-04 18:00:09 +09:00
MITSUNARI Shigeo
79854aa081 add new cpus 2023-07-10 12:40:42 +09:00
MITSUNARI Shigeo
5921e270c2 update cpuid 2023-07-10 12:40:14 +09:00
MITSUNARI Shigeo
c535f4737e update cpuid test list 2023-06-27 16:32:01 +09:00
MITSUNARI Shigeo
6832492322 change the order of args of diff 2023-06-27 16:31:51 +09:00
Wunkolo
d700f6c357 add detection of xsave
The XSAVE cpuid flag determines if the processor supports the XSAVE
instructions(`xsave`, `xrestor`, `xsetbv`, `xgetbv`).

The OSXSAVE cpuid flag determines if the _operating system_ has XSAVE
**enabled**. Userland code has to use OSXSAVE for features such as AVX
and AVX512 but it still matters to know if the processor itself supports
it but not the operating system such as some virtual-machine contexts.
2023-03-22 17:40:34 -07:00
MITSUNARI Shigeo
23b40331a3 add detection of uintr 2023-02-20 14:07:43 +09:00
MITSUNARI Shigeo
0afd71a270 add detection of SERIALIZE 2023-02-20 14:07:43 +09:00
MITSUNARI Shigeo
363bbaa57d sample shows cpu cache info for AMD 2023-02-17 12:03:44 +09:00
MITSUNARI Shigeo
f667858761 add detection of prefetchiti 2022-12-07 16:09:18 +09:00
Andrea Pappacoda
fbb18f69d5
ci: use containers
GitHub's CI default runners are full of all kinds of software, and this
can cause hard to reproduce errors. Luckly, GitHub Actions supports
running jobs in a container image, so that the build environment is
minimal and reprocucible.

This patch changes the main CI job to run in a Debian Testing container,
fixing the issues described in
<cfb1127c3b>.

As Debian Testing is a semi-rolling relase distribution, and nasm 2.15
is shipped by default, I've also modified the script to install nasm
from apt instead of building it from source.
2022-12-02 15:10:35 +01:00
MITSUNARI Shigeo
47ff6ef42c I get an error after all on GitHub action 2022-11-30 14:31:38 +09:00
MITSUNARI Shigeo
dc792cc56b add detection of cmpccxadd 2022-11-30 12:08:10 +09:00
MITSUNARI Shigeo
62be84cc87 fix detection of boost 2022-11-29 08:38:46 +09:00
MITSUNARI Shigeo
6c047f4808 detect rao-int 2022-11-25 16:21:33 +09:00
MITSUNARI Shigeo
1c1d2366f7 disable boost sample 2022-11-24 16:18:54 +09:00
MITSUNARI Shigeo
cfb1127c3b tweak 2022-11-24 16:11:22 +09:00
MITSUNARI Shigeo
5fcbeb7c47 [sample] change the way of detection of boost 2022-11-24 15:48:06 +09:00
MITSUNARI Shigeo
a7c5a1bd76 use English 2022-11-24 15:48:06 +09:00
Johan Mattsson
1bfbd8c4dc Fix incorrect format strings 2022-11-24 15:48:02 +09:00
MITSUNARI Shigeo
95752ebd79 add tAVX_IFMA 2022-10-07 09:30:06 +09:00
MITSUNARI Shigeo
cd36e31ea6 [sample] show AMX_FP16/AVX_VNNI_INT8/AVX_NE_CONVERT 2022-10-07 09:28:49 +09:00
MITSUNARI Shigeo
4fb0e58aae test of cpuid 2022-06-16 09:56:54 +09:00
MITSUNARI Shigeo
66d62968d4 add -cpuid to test_util 2022-05-26 18:09:03 +09:00
Ryan Houdek
0281129493 add detection of clzero 2022-05-23 15:57:32 -07:00
MITSUNARI Shigeo
905b31bab1 fix typo 2022-05-12 10:56:13 +09:00
MITSUNARI Shigeo
a6665996b9 add detection of movdir64b 2022-05-12 10:21:47 +09:00
MITSUNARI Shigeo
9cdd40f5ec add detection of movdiri 2022-05-12 10:00:37 +09:00
MITSUNARI Shigeo
84ab46bb3b add cldemote to Cpu 2022-05-11 17:11:50 +09:00
MITSUNARI Shigeo
38c40c02e6 detection of clflushopt 2022-05-11 14:04:22 +09:00
MITSUNARI Shigeo
f8e2ad1e9d add waitpkg detection to Cpu 2022-04-05 15:12:04 +09:00
MITSUNARI Shigeo
615b665cc2 sample/memfd shows /proc/self/maps 2022-03-08 10:42:57 +09:00
MITSUNARI Shigeo
2861517f25 add memfd sample 2022-03-08 10:27:11 +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
c79311a516 fix test_util.cpp 2021-12-31 18:36:31 +09:00
MITSUNARI Shigeo
acd360c38f add Cpu::tAVX512_FP16 2021-08-30 14:16:08 +09:00
MITSUNARI Shigeo
1554f479cb remove unused flags(tSSE4a and tSSE5) of Cpu 2021-08-30 14:07:40 +09:00
MITSUNARI Shigeo
8d1e41b650 test_util.cpp supports OpenBSD 2021-01-02 11:40:41 +09:00
MITSUNARI Shigeo
91784e2b85 test_util checks AMX and AVX_VNNI 2020-10-19 18:39:10 +09:00
MITSUNARI Shigeo
bb967ae752 replace uint32 with uint32_t etc. 2020-09-08 15:14:18 +09:00
MITSUNARI Shigeo
2f6d9e3450 fix test for mac 2020-05-10 14:43:38 +09:00
MITSUNARI Shigeo
34f797e88f perf does not recognize too short function name 2020-01-27 14:48:54 +09:00
tyfkda
47922ed96c Fix segmentation fault in calc sample
Segmentation fault occurred in `calc` sample
when no variables are given from command line argument:

```
$ cd sample
$ make calc64
$ ./calc64 "" "123"
varTbl = { }
64bit mode
zsh: segmentation fault  ./calc64 "" "123"
```

`put` function always access `x[0]`,
but segmentation fault occurred when `x.size() == 0`.
2020-01-15 09:13:13 +09:00
MITSUNARI Shigeo
2501ba9a1f remove *.user and *.vcproj 2019-09-16 21:47:19 +09:00
泓量 黃
ef26777593 address "warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/SAFESEH' specification" 2019-09-15 01:20:09 +08:00
泓量 黃
4a6c59bbb2 address a conflict of sharing intermediate directory by different projects 2019-09-15 01:18:46 +08:00