Added cpu-flags to the command line help

This commit is contained in:
Christoffer Lerno
2025-10-27 14:11:50 +01:00
parent c483c3b75f
commit a5b2636b2e

View File

@@ -172,6 +172,7 @@ static void usage(bool full)
print_opt("--benchfn <name>", "Override the benchmark runner function name."); print_opt("--benchfn <name>", "Override the benchmark runner function name.");
PRINTF(""); PRINTF("");
print_opt("--reloc=<option>", "Relocation model: none, pic, PIC, pie, PIE."); print_opt("--reloc=<option>", "Relocation model: none, pic, PIC, pie, PIE.");
print_opt("--cpu-flags <string>", "Add/remove cpu flags fromt the default, e.g. '+a,-b'.");
print_opt("--x86cpu=<option>", "Set general level of x64 cpu: baseline, ssse3, sse4, avx1, avx2-v1, avx2-v2 (Skylake/Zen1+), avx512 (Icelake/Zen4+), native."); print_opt("--x86cpu=<option>", "Set general level of x64 cpu: baseline, ssse3, sse4, avx1, avx2-v1, avx2-v2 (Skylake/Zen1+), avx512 (Icelake/Zen4+), native.");
print_opt("--x86vec=<option>", "Set max type of vector use: none, mmx, sse, avx, avx512, default."); print_opt("--x86vec=<option>", "Set max type of vector use: none, mmx, sse, avx, avx512, default.");
print_opt("--riscv-abi=<option>", "Set type of RISC-V ABI: int-only, float, double."); print_opt("--riscv-abi=<option>", "Set type of RISC-V ABI: int-only, float, double.");