diff options
author | Nathan Moinvaziri <nathan@solidstatenetworks.com> | 2019-08-11 03:49:01 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2019-08-11 12:49:01 +0200 |
commit | 243cf61c4a1bea6ae7b3b0295fefb87d70f03d8c (patch) | |
tree | 7012cc6b188079be2ff819605d8f7d50496cd685 /arch/arm/insert_string_acle.c | |
parent | ac94a94190b7b19cec0e2337335beda852ec4153 (diff) |
Fixed optimizations not being used when compiler is msvc. (#376)
This issue I mentioned in #370. Optimization code such as crc_folding.c, deflate_quick_sse.c, fill_window_sse.c, and insert_string_sse.c were not being compiled when the compiler was MSVC because the checks for the instrincs were not being done and the HAVE_[TARGET]_INTRIN variables weren't being set. I could have simply set HAVE_[TARGET]_INTRIN variables to ON manually in the case of MSVC, but it is better this way to have one path for all the compilers (that it runs and checks some code for determination). I have just added MSVC code where necessary in the checks.
* Rename HAVE_SSE42_INTRIN to HAVE_SSE42CRC_INLINE_ASM.
* Added msvc inline asm support to insert_string_sse.c
Diffstat (limited to 'arch/arm/insert_string_acle.c')
0 files changed, 0 insertions, 0 deletions