Commit Graph

56 Commits

Author SHA1 Message Date
Apachiww
9b8711c8f2
detect x86 bmi, gfni, vaes, rdrand, rdseed and tsx extensions (#123) 2024-09-10 14:18:27 +08:00
Apachiww
4371e5c4c1
detect x86 aes-ni and sha extension (#120) 2024-07-29 10:40:54 +08:00
柚木 鉉
28ff8bb8f7
catch SIGSEGV in sig caught (#119)
In the RISC-V extension instruction set, there are cases where cores from different manufacturers and different functional extension instructions share the same op. In such situations, it is necessary to add SIGSEGV handling to prevent program termination.
2024-07-27 14:14:42 +08:00
Easton Man
4032cd3b40
detect risc-v zcb extension (#118) 2024-07-27 14:13:55 +08:00
Alex
8a048fb025
detect risc-v spacemit vmadot extension (#113)
update readme for riscv spacemit vmadot

Co-authored-by: Alex <jinghui.huang@spacemit.com>
2024-06-12 11:04:28 +08:00
Yingwei Zheng
10b02b3755
Fix zbb/zbkb detection (#111) 2024-06-06 14:05:58 +00:00
Yingwei Zheng
fad2fe7dbf
detect rvv1.0 and its extensions (#107)
* detect rvv1.0 and its extensions

* use vaaddu to detect v extension

* Use `csrr a0, vlenb` for VLEN probe

* check if vcsr is available first

* inline helper functions into their callers
2024-05-15 11:13:01 +08:00
Yingwei Zheng
4d356134f2
detect risc-v zfbfmin and zicond extension (#105) 2024-05-07 21:20:47 +08:00
TianZer
4299ac842a
Fix compilation errors on unsupported platforms, make it work on UWP (#103) 2024-05-04 21:37:13 +08:00
Yingwei Zheng
5eab634ac2
detect risc-v b extension (#100) 2024-04-28 15:46:29 +08:00
TianZer
e6aa690e75
fix possible crashes in DLL under Windows (#98) 2024-04-27 21:10:40 +08:00
nihui
a256b245cc
clear mmx state after mmx procedures, fix #94 (#95) 2024-04-21 13:24:02 +08:00
nihui
852125a6b1
detect mips loongson extensions (#91) 2024-04-08 23:06:52 +08:00
nihui
e9d8d95c45
detect risc-v thead extension (#90) 2024-03-31 21:51:47 +08:00
nihui
b7518ab97d
detect aarch64 lse and sme family (#89) 2024-03-31 16:39:24 +08:00
nihui
8dbb51001b
detect aarch64 frint jscvt fcma mte2 svef64mm svepmull svebitperm sveaes svesha3 svesm4 (#88) 2024-03-31 15:01:48 +08:00
nihui
4a69266256
detect x86 avxvnniint16 (#84) 2024-03-14 17:32:13 +08:00
張小凡
35b28cd404
Detect x86 AMX(AMX-FP16 AMX-BF16 AMX-INT8 AMX-TILE) (#79) 2024-03-06 20:14:44 +08:00
Cocoa
b81216715b
add support for Solaris (#71) 2024-03-03 23:48:02 +08:00
Cocoa
5f3198aaea
add support for DragonflyBSD (#70) 2024-03-03 22:37:35 +08:00
nihui
4785feb8fe
fix arm thumb detection (#69) 2024-03-02 14:18:50 +08:00
nihui
e6366ea640
detect arm half (#66) 2024-03-02 11:22:46 +08:00
張小凡
a753c213fb
Add more AVX512 ISA(AVX512ER AVX512_4VNNIW AVX512_4FMAPS). (#62) 2024-03-01 23:49:07 +08:00
柚木 鉉
2008665a13
ruapu SyterKit v0.2.6.1 support (#56) 2024-03-01 20:41:44 +08:00
nihui
8ea0754e3f
fix s390x inst align (#61) 2024-03-01 11:38:25 +08:00
nihui
8d3ffb0e60
ruapu_rua() returns all supported features (#52) 2024-02-28 22:44:21 +08:00
柚木 鉉
335ce5fa60
detect openrisc core, support orbis32, orbis64, orfpx32, orfpx64, orvdx64 (#43) 2024-02-25 20:36:51 +08:00
nihui
991d5aacf8 detect more aarch64 crypto extensions 2024-02-25 16:23:12 +08:00
Cocoa
c8954feaa6
added freebsd, netbsd and openbsd support (#41) 2024-02-25 16:20:33 +08:00
nihui
3062efed38
allow baremetal detector (#40) 2024-02-24 13:26:28 +08:00
f45b1549e3
Fix RISCV M check (#38)
* fix riscv m extended check, add zmmul extended check

* update RUAPU_ISAENTRY for zmmul

* update readme to add zmmul extension of riscv
2024-02-24 12:03:21 +08:00
nihui
61579c3932
detect arm64 asimdrdm (#37) 2024-02-23 23:29:46 +08:00
nihui
a64feebe2d
detect arm64 mte (#36) 2024-02-23 22:50:54 +08:00
He Yang
fa7f1c6c1f
Add warning when compiling UWP apps (#32)
(which is not supported for now...)
2024-02-23 22:50:11 +08:00
nihui
0be00a9b4c
arm vfpv4 introduce fma 2024-02-23 22:11:54 +08:00
nihui
34fadc957a
detect arm idiv (#33) 2024-02-23 22:04:05 +08:00
nihui
4740d0ce06
adjust some code order 2024-02-23 21:15:59 +08:00
Ziyao
097ec7d715
Support more risc-v extensions (#31)
Add support for zfa, zfh, zfhmin, zicsr and zifencei
2024-02-23 19:44:36 +08:00
junchao-loongson
b263bf6d65
loongarch support (#30) 2024-02-23 15:29:36 +08:00
Monkeyking
1831bf381e
apple: amx support (#28) 2024-02-23 13:04:27 +08:00
nihui
ecc008eb15
s390x support (#29) 2024-02-23 11:38:01 +08:00
Sophon
4b5d00bceb
Add support for some arm64 crypto extensions (#26)
Signed-off-by: Xilin Wu <wuxilin123@gmail.com>
2024-02-22 23:18:23 +08:00
nihui
4975a18630
powerpc support (#22) 2024-02-22 21:35:15 +08:00
Molly Sophia
8d8d98fe01
Add extern "C" (#21)
Signed-off-by: Molly Sophia <mollysophia379@gmail.com>
2024-02-22 21:12:36 +08:00
nihui
0d24382f76
mips support (#20) 2024-02-22 19:50:33 +08:00
nihui
2d3681e101
risc-v support (#19) 2024-02-22 13:43:43 +08:00
nihui
744f9408ce
Update ruapu.h 2024-02-22 11:19:57 +08:00
nihui
df1e0ff219
fix build for uwp and bare metal (#18) 2024-02-22 11:14:01 +08:00
nihui
1e357fefe6 fix avxvnni avxifma detection 2024-02-21 22:18:18 +08:00
Zhuo Zhang
d15c06bda1
feat: detect fma4 ISA for x86 (#17) 2024-02-21 21:28:18 +08:00