How to copy the signs from floats in one __m256 into another __m256?

前端 未结 0 727
南笙
南笙 2021-01-07 00:56

For example, copying the sign from 40 into-104.2 must produce 104.2

I tried:

__mm256 currVal = _mm256_set1_ps(-1         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题