Correct the return type for x86_mm256_sad_epu8

Fixes #43439.
This commit is contained in:
varkor 2017-12-21 22:58:03 +00:00
parent eff3de0927
commit 20eece1f77
2 changed files with 2 additions and 2 deletions

View File

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

View File

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