Merge pull request #4621 from podshumok/fix-bad-march-asm

Fix wrong __asm__ instructions (again)
This commit is contained in:
alexey-milovidov 2019-03-07 21:57:19 +03:00 committed by GitHub
commit 6362cdc0e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -700,12 +700,12 @@ static void checkRequiredInstructions(volatile InstructionFail & fail)
#if __AVX2__
fail = InstructionFail::AVX2;
__asm__ volatile ("vpabsw %%ymm0, %%ymm0, %%ymm0" : : : "ymm0");
__asm__ volatile ("vpabsw %%ymm0, %%ymm0" : : : "ymm0");
#endif
#if __AVX512__
fail = InstructionFail::AVX512;
__asm__ volatile ("vpabsw %%zmm0, %%zmm0, %%zmm0" : : : "zmm0");
__asm__ volatile ("vpabsw %%zmm0, %%zmm0" : : : "zmm0");
#endif
fail = InstructionFail::NONE;