Correctly call x64 varargs.

This commit is contained in:
Christoffer Lerno
2022-01-13 21:22:50 +01:00
parent 5683fe3f8c
commit eed5b7db54
19 changed files with 366 additions and 199 deletions

View File

@@ -201,6 +201,8 @@ void project_add_target(Project *project, TomlValue *wrapped_table, const char *
// Use the fact that they correspond to 0, 1, -1
target->feature.struct_return = get_valid_bool(table, "stack-struct-return", type, STRUCT_RETURN_DEFAULT);
target->feature.soft_float = get_valid_bool(table, "soft-float", type, SOFT_FLOAT_DEFAULT);
target->feature.avx = get_valid_bool(table, "avx", type, false);
target->feature.avx512 = get_valid_bool(table, "avx512", type, false);
target->feature.no_avx = get_valid_bool(table, "no-avx", type, false);
target->feature.no_sse = get_valid_bool(table, "no-sse", type, false);
target->feature.no_mmx = get_valid_bool(table, "no-mmx", type, false);