-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clangd
24 lines (22 loc) · 1.81 KB
/
.clangd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CompileFlags:
# placeholder definitions generated with `scripts/deflist.ts pkg-randomx.js/configuration.toml`
Add: [-xc, -Wall, -Wextra, -Wshadow, -Wimplicit-fallthrough, -Iinclude,
-DRANDOMX_ARGON_MEMORY=262144, -DRANDOMX_ARGON_ITERATIONS=3, -DRANDOMX_ARGON_LANES=1, -DRANDOMX_ARGON_SALT="\x52\x61\x6e\x64\x6f\x6d\x58\x03", -DRANDOMX_CACHE_ACCESSES=8, -DRANDOMX_SUPERSCALAR_LATENCY=170, -DRANDOMX_DATASET_BASE_SIZE=2147483648, -DRANDOMX_DATASET_EXTRA_SIZE=33554368, -DRANDOMX_PROGRAM_SIZE=256, -DRANDOMX_PROGRAM_ITERATIONS=2048, -DRANDOMX_PROGRAM_COUNT=8, -DRANDOMX_JUMP_BITS=8, -DRANDOMX_JUMP_OFFSET=8, -DRANDOMX_SCRATCHPAD_L3=2097152, -DRANDOMX_SCRATCHPAD_L2=262144, -DRANDOMX_SCRATCHPAD_L1=16384, -DRANDOMX_FREQ_IADD_RS=16, -DRANDOMX_FREQ_IADD_M=7, -DRANDOMX_FREQ_ISUB_R=16, -DRANDOMX_FREQ_ISUB_M=7, -DRANDOMX_FREQ_IMUL_R=16, -DRANDOMX_FREQ_IMUL_M=4, -DRANDOMX_FREQ_IMULH_R=4, -DRANDOMX_FREQ_IMULH_M=1, -DRANDOMX_FREQ_ISMULH_R=4, -DRANDOMX_FREQ_ISMULH_M=1, -DRANDOMX_FREQ_IMUL_RCP=8, -DRANDOMX_FREQ_INEG_R=2, -DRANDOMX_FREQ_IXOR_R=15, -DRANDOMX_FREQ_IXOR_M=5, -DRANDOMX_FREQ_IROR_R=8, -DRANDOMX_FREQ_IROL_R=2, -DRANDOMX_FREQ_ISWAP_R=4, -DRANDOMX_FREQ_FSWAP_R=4, -DRANDOMX_FREQ_FADD_R=16, -DRANDOMX_FREQ_FADD_M=5, -DRANDOMX_FREQ_FSUB_R=16, -DRANDOMX_FREQ_FSUB_M=5, -DRANDOMX_FREQ_FSCAL_R=6, -DRANDOMX_FREQ_FMUL_R=32, -DRANDOMX_FREQ_FDIV_M=4, -DRANDOMX_FREQ_FSQRT_R=6, -DRANDOMX_FREQ_CBRANCH=25, -DRANDOMX_FREQ_CFROUND=1, -DRANDOMX_FREQ_ISTORE=16, -DRANDOMX_FREQ_NOP=0]
Diagnostics:
Suppress: "-Wunknown-attributes"
InlayHints:
Designators: No
ParameterNames: No
---
# add [-msimd128, --target=wasm32] for wasm __builtins
# -msimd128, --target=wasm32
If:
PathExclude: tests/semifloat.*
CompileFlags:
Add: [--target=wasm32, -msimd128]
Compiler: clang
---
If:
PathMatch: tests/semifloat.*
CompileFlags:
Add: [-march=native]