Add support for Vector 2 Raised to the Exponent Estimate Float on PowerPC
This commit is contained in:
parent
f6f828c670
commit
03a2aea4e9
2 changed files with 12 additions and 0 deletions
|
|
@ -226,6 +226,13 @@
|
|||
"llvm": "vmaddfp",
|
||||
"ret": "f32",
|
||||
"args": ["0", "0", "0"]
|
||||
},
|
||||
{
|
||||
"intrinsic": "expte",
|
||||
"width": [128],
|
||||
"llvm": "vexptefp",
|
||||
"ret": "f32",
|
||||
"args": ["0"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -402,6 +402,11 @@ pub fn find(name: &str) -> Option<Intrinsic> {
|
|||
output: &::F32x4,
|
||||
definition: Named("llvm.ppc.altivec.vmaddfp")
|
||||
},
|
||||
"_vec_expte" => Intrinsic {
|
||||
inputs: { static INPUTS: [&'static Type; 1] = [&::F32x4]; &INPUTS },
|
||||
output: &::F32x4,
|
||||
definition: Named("llvm.ppc.altivec.vexptefp")
|
||||
},
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue