bpo-35758: Fix building on ARM + MSVC by gongminmin · Pull Request #11531 · python/cpython

eamanu

@gongminmin gongminmin changed the title bpo-14802: Disable x87 control word for ARM bpo-35758 : Disable x87 control word for ARM

Jan 17, 2019

pitrou

@gongminmin

On msvc, x87 control word is only available on x86 target. Need to disable it for other targets to prevent compiling problems.

@blurb-it

@gongminmin

Immintrin.h is only available on x86 and x64. Need to disable it for other targets to prevent compiling problems.

@pitrou pitrou changed the title bpo-35758 : Disable x87 control word for ARM bpo-35758 : Fix building on ARM + MSVC

Jan 21, 2019

@pitrou

@pitrou pitrou changed the title bpo-35758 : Fix building on ARM + MSVC bpo-35758: Fix building on ARM + MSVC

Jan 21, 2019

@pitrou

gongminmin added a commit to gongminmin/cpython that referenced this pull request

Jan 22, 2019
* Disable x87 control word for non-x86 targets

On msvc, x87 control word is only available on x86 target. Need to disable it for other targets to prevent compiling problems.

* Include immintrin.h on x86 and x64 only

Immintrin.h is only available on x86 and x64. Need to disable it for other targets to prevent compiling problems.