Move an int64_t to the high quadwords of an AVX2 __m256i vector
问题 This question is similar to [1]. However I didn't quite understand how it addressed inserting to high quadwords of a ymm using a GPR. Additionally I want the operation not use any intermediate memory accesses. Can it be done with AVX2 or below (I don't have AVX512)? [1] How to move double in %rax into particular qword position on %ymm or %zmm? (Kaby Lake or later) 回答1: My answer on the linked question didn't show a way to do that because it can't be done very efficiently without AVX512F for a