summaryrefslogtreecommitdiffhomepage
path: root/ir/libcore
diff options
context:
space:
mode:
authorJohannes Bucher <johannes.bucher2@student.kit.edu>2021-03-10 17:52:38 +0100
committerJohannes Bucher <johannes.bucher2@student.kit.edu>2021-03-22 12:49:18 +0100
commitfa10c7c7db0b1d57220a0d55fe8bbecce751f794 (patch)
tree666fdd05dbcaddedef7109232e72193e106f9407 /ir/libcore
parent6f4e380152d6189430c359b2f6c24bcc5bf52f83 (diff)
x86: add modern architecture variants and improve cpu detectionamd64-fma
Added Intel and AMD x86 architecture variants up to Alder Lake and Zen3. The variants can be selected via the -march and -mtune backend options. Improved CPU architecture and feature detection for -march=native. All features defined in x86_architecture.h are now detected using cpuid. SIMD instruction extensions detection extended up to AVX2.
Diffstat (limited to 'ir/libcore')
-rw-r--r--ir/libcore/lc_opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/libcore/lc_opts.c b/ir/libcore/lc_opts.c
index 4d4bbbe..5e4db1a 100644
--- a/ir/libcore/lc_opts.c
+++ b/ir/libcore/lc_opts.c
@@ -446,7 +446,7 @@ static void lc_opt_print_help_rec(lc_opt_entry_t *ent, char separator, lc_opt_en
lc_grp_special_t *s = lc_get_grp_special(ent);
char grp_name[512];
char value[256];
- char values[512];
+ char values[1024];
if (!list_empty(&s->opts)) {
lc_opt_print_grp_path(grp_name, sizeof(grp_name), ent, separator, stop_ent);