Initial support for i386-windows-msvc target

This commit is contained in:
LemonBoy
2019-10-06 13:24:05 +02:00
parent a7c9aa7ddb
commit 93a49076f7
8 changed files with 168 additions and 103 deletions

View File

@@ -8727,6 +8727,9 @@ static void init(CodeGen *g) {
// Be aware of https://github.com/ziglang/zig/issues/3275
target_specific_cpu_args = "";
target_specific_features = riscv_default_features;
} else if (g->zig_target->arch == ZigLLVM_x86) {
target_specific_cpu_args = "pentium4";
target_specific_features = "";
} else {
target_specific_cpu_args = "";
target_specific_features = "";