mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
Merge pull request #4621 from podshumok/fix-bad-march-asm
Fix wrong __asm__ instructions (again)
This commit is contained in:
commit
6362cdc0e4
@ -700,12 +700,12 @@ static void checkRequiredInstructions(volatile InstructionFail & fail)
|
|||||||
|
|
||||||
#if __AVX2__
|
#if __AVX2__
|
||||||
fail = InstructionFail::AVX2;
|
fail = InstructionFail::AVX2;
|
||||||
__asm__ volatile ("vpabsw %%ymm0, %%ymm0, %%ymm0" : : : "ymm0");
|
__asm__ volatile ("vpabsw %%ymm0, %%ymm0" : : : "ymm0");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __AVX512__
|
#if __AVX512__
|
||||||
fail = InstructionFail::AVX512;
|
fail = InstructionFail::AVX512;
|
||||||
__asm__ volatile ("vpabsw %%zmm0, %%zmm0, %%zmm0" : : : "zmm0");
|
__asm__ volatile ("vpabsw %%zmm0, %%zmm0" : : : "zmm0");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
fail = InstructionFail::NONE;
|
fail = InstructionFail::NONE;
|
||||||
|
Loading…
Reference in New Issue
Block a user