Displaying 3 results from an estimated 3 matches for "target_specific_features".
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_machin...
2017 Oct 01
1
invalid code generated on Windows x86_64 using skylake-specific features
...t the issues I'm having
debugging llvm-generated 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 = "";...
2017 Oct 03
2
invalid code generated on Windows x86_64 using skylake-specific features
...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 = "";
>>>...