From fa9282ab8e8266697c7b577bc277116bcc1484da Mon Sep 17 00:00:00 2001 From: nihui Date: Wed, 21 Feb 2024 13:48:15 +0800 Subject: [PATCH] Update README.md --- README.md | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d81262..fb1331c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # ruapu -detect cpu isa features with single-file +Detect cpu isa features with single-file
CPU ✅ x86, x86-64
✅ arm, aarch64
@@ -24,3 +24,45 @@ int main()
OS✅ Windows
✅ Linux
✅ macOS
✅ Android
✅ iOS
Compiler✅ GCC
✅ Clang
✅ MSVC
✅ MinGW
+ +# Let's ruapu + + + + + +
+ +Compile ruapu test program + +```shell +# GCC / MinGW +gcc main.c -o ruapu +``` +```shell +# Clang +clang main.c -o ruapu +``` +```shell +# MSVC +cl.exe /Fe: ruapu.exe main.c +``` + + +Run ruapu in command line + +```shell +./ruapu +mmx = 1 +sse = 1 +sse2 = 1 +sse3 = 1 +ssse3 = 1 +sse41 = 1 +sse42 = 1 +sse4a = 1 +xop = 0 +... more lines omitted ... +``` + +