search for: is_native_target

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

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(targ...
2017 Oct 01
1
invalid code generated on Windows x86_64 using skylake-specific features
...nerated binaries with MSVC. On Sat, Sep 30, 2017 at 3:33 PM, 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...
2017 Oct 03
2
invalid code generated on Windows x86_64 using skylake-specific features
...PM, 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 = "&quot...