Commit graph

115 commits

Author SHA1 Message Date
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
泓量 黃
9577cbf3aa inherit "some output locations" from parent or project defaults 2019-09-15 01:15:22 +08:00
泓量 黃
6c5f7186ab upgrade projects from VS2018 to VS2017 2019-09-15 00:49:22 +08:00
MITSUNARI Shigeo
44dc354676 add Profiler class 2019-08-24 19:57:43 +09:00
MITSUNARI Shigeo
b12460ba8b [sample] fix typo of quantize.cpp 2019-05-31 13:16:22 +09:00
MITSUNARI Shigeo
4cfd520878 add avx512_bf16 2019-05-26 17:34:58 +09:00
MITSUNARI Shigeo
4612528faa format change 2019-01-17 13:45:31 +09:00
MITSUNARI Shigeo
afdb9fe9ff Xbyak::CastTo is removed 2018-10-21 17:23:26 +09:00
MITSUNARI Shigeo
1de435ed04 bf uses Label class 2018-09-04 11:48:56 +09:00
MITSUNARI Shigeo
93579ee65d add protect-re.cpp 2018-08-28 18:31:43 +09:00
MITSUNARI Shigeo
85767e9520 support mingw64 2018-07-26 09:36:12 +09:00
MITSUNARI Shigeo
59573e6e7a add PROTECT_RE mode for protect() 2018-07-24 18:07:35 +09:00