Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dzaima/intrinsics-viewer
x86-64, ARM, and RVV intrinsics viewer
https://github.com/dzaima/intrinsics-viewer
avx avx2 avx512 neon risc-v rvv simd-intrinsics sve x86-64
Last synced: about 1 month ago
JSON representation
x86-64, ARM, and RVV intrinsics viewer
- Host: GitHub
- URL: https://github.com/dzaima/intrinsics-viewer
- Owner: dzaima
- License: mit
- Created: 2022-12-10T21:22:19.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T15:57:08.000Z (4 months ago)
- Last Synced: 2024-08-12T18:30:03.526Z (4 months ago)
- Topics: avx, avx2, avx512, neon, risc-v, rvv, simd-intrinsics, sve, x86-64
- Language: JavaScript
- Homepage: https://dzaima.github.io/intrinsics-viewer/
- Size: 600 KB
- Stars: 25
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## x86-64, ARM, and RISC-V V intrinsics viewer
### Usage:
1. `make download` (or some of `make download-x86`, `make download-arm`, `make download-riscv`)
2. open `index.html`Alternatively, the RISC-V V intrinsics can be viewed [online](https://dzaima.github.io/intrinsics-viewer).
### Search
Searching is done by finding entries that match all space-separated things. Things can be:
- regular text (`add`), quoted text (`"add packed"`), regex (`/\bmul/`);
- the above, in a specific field: `ret:int8`, `arg:/int\d+_t/`, etc (if no field is specified, the checkboxes are used);
- the above, negated: `!ret:void`, `!add`, `!name:maskz`, etc.Additionally, `var=[name]` will default the whole search to a specific variation.
### Searchable fields
term | checkbox | description
--------------|-------------|-------------
`name:` | intrinsic | intrinsic name
`ret:` | intrinsic | return value
`arg:` | intrinsic | argument type
`type:` | intrinsic | any result or argument type
`argn:` | — | argument name
`arg[N]n:` | — | n-th (1-indexed) argument name, e.g. `arg3n:/\bmask\b/`
`arg[N]:` | — | n-th (1-indexed) argument type
`desc:` | description | description
`inst:` | instruction | instruction
`oper:` | operation | operation
`cat:` | category | category (nesting is `\|`-separated)
`arch:` | — | architecture (nesting is `\|`-separated)
`var=[name]:` | — | search in specific variation, e.g. `var=base:arg:bool`### Search examples
General:
- `arg:*` - intrinsics taking pointer arguments
- `arg6:""` - intrinsics taking at least 6 arguments
- `!arg1n:""` - intrinsics taking no arguments
- `arg:int64 ret:int16` - intrinsics taking 64-bit & returning 16-bit integersx86-64 AVX-512:
- `var=base:name:mask name:_mm512` - 512-bit intrinsics with "mask" in the name that's not in a variation
ARM NEON:
- `name:q_` - keep only 128-bit intrinsics
RISC-V rvv:
- `var=_m` - maskable intrinsics
- `var=base arg:vbool` or `var=base:arg:vbool` - non-masked intrinsics taking a boolean vector argument
- `!name:/_.(8|16|64)m/ !name:/mf?[248]$/ !name:/_b(1|2|4|16|32|64)$/` - discard repetitive intrinsics, keep LMUL=1, 32-bit element
- `!argn:/vl$/` - intrinsics that don't require a specified VL