search for: zigllvmgethostcpuname

Displaying 3 results from an estimated 3 matches for "zigllvmgethostcpuname".

2017 Sep 30
2
invalid code generated on Windows x86_64 using skylake-specific features
I have this code, which works fine on MacOS and Linux hosts: const char *target_specific_cpu_args; const char *target_specific_features; if (g->is_native_target) { target_specific_cpu_args = ZigLLVMGetHostCPUName(); target_specific_features = ZigLLVMGetNativeFeatures(); } else { target_specific_cpu_args = ""; target_specific_features = ""; } g->target_machine = LLVMCreateTargetMachine(target_ref, buf_ptr(&g->triple_str), target_s...
2017 Oct 01
1
invalid code generated on Windows x86_64 using skylake-specific features
..., Andrew Kelley <superjoe30 at gmail.com> wrote: > I have this code, which works fine on MacOS and Linux hosts: > > const char *target_specific_cpu_args; > const char *target_specific_features; > if (g->is_native_target) { > target_specific_cpu_args = ZigLLVMGetHostCPUName(); > target_specific_features = ZigLLVMGetNativeFeatures(); > } else { > target_specific_cpu_args = ""; > target_specific_features = ""; > } > > g->target_machine = LLVMCreateTargetMachine(target_ref, > buf_ptr(&...
2017 Oct 03
2
invalid code generated on Windows x86_64 using skylake-specific features
...gt;> >>> I have this code, which works fine on MacOS and Linux hosts: >>> >>> const char *target_specific_cpu_args; >>> const char *target_specific_features; >>> if (g->is_native_target) { >>> target_specific_cpu_args = ZigLLVMGetHostCPUName(); >>> target_specific_features = ZigLLVMGetNativeFeatures(); >>> } else { >>> target_specific_cpu_args = ""; >>> target_specific_features = ""; >>> } >>> >>> g->target_machine...