Skip to content

Commit

Permalink
Define AVX comparison intrinsics
Browse files Browse the repository at this point in the history
This defines `_mm256_cmp_pd` and `_mm256_cmp_ps`.

Intel reference: https://software.intel.com/en-us/node/524075.
  • Loading branch information
ruuda committed Mar 13, 2016
1 parent db6dd8e commit ddfe9b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/etc/platform-intrinsics/x86/avx.json
Expand Up @@ -15,6 +15,13 @@
"ret": "f(32-64)",
"args": ["s8SPc"]
},
{
"intrinsic": "256_cmp_{0.data_type}",
"width": [256],
"llvm": "cmp.{1.data_type}.256",
"ret": "f(32-64)",
"args": ["0", "0", "s8S"]
},
{
"intrinsic": "256_cvtepi32_pd",
"width": [256],
Expand Down

0 comments on commit ddfe9b6

Please sign in to comment.