Commit 1bebbac
authored
Fix call to _mm_cvtps_ph in half.h (#448)
_mm_cvtps_ph doesn't support _MM_FROUND_NO_EXC. On Windows, if this is
compiled, you will get the following warning:
`warning C4556: value of intrinsic immediate argument '8' is out of range '0 - 7'`
There is no corresponding instruction, so the flag should be removed.
References:
https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtps_ph&ig_expand=2244,2221,2220,2221,2252,2220,2221,2220,2221,2221,2107,2252,2107,2107
https://developercommunity.visualstudio.com/t/-mm-cvtps-ph-doesnt-accept-mm-fround-no-exc/1343857
Signed-off-by: John Mather <[email protected]>1 parent 95923d2 commit 1bebbac
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| |||
0 commit comments