Rollup merge of #46928 - varkor:contrib-10, r=alexcrichton

Correct the return type for `x86_mm256_sad_epu8`

Fixes #43439.
This commit is contained in:
kennytm 2017-12-26 15:18:53 +08:00 committed by GitHub
commit a4a3de6ba2
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@
"intrinsic": "256_sad_epu8",
"width": [256],
"llvm": "psad.bw",
"ret": "u8",
"ret": "u64",
"args": ["0", "0"]
},
{

View File

@ -354,7 +354,7 @@ pub fn find(name: &str) -> Option<Intrinsic> {
},
"_mm256_sad_epu8" => Intrinsic {
inputs: { static INPUTS: [&'static Type; 2] = [&::U8x32, &::U8x32]; &INPUTS },
output: &::U8x32,
output: &::U64x4,
definition: Named("llvm.x86.avx2.psad.bw")
},
"_mm256_shuffle_epi8" => Intrinsic {