use llvm.nearbyint.v4f32 for rounding
see https://godbolt.org/z/Wx1KWezbe to see that these in fact generate equivalent assembly
This commit is contained in:
parent
f6d53388e6
commit
ac92d7d006
1 changed files with 1 additions and 1 deletions
|
|
@ -382,7 +382,7 @@ unsafe extern "C" {
|
|||
#[link_name = "llvm.ppc.altivec.vrlw"]
|
||||
fn vrlw(a: vector_signed_int, c: vector_unsigned_int) -> vector_signed_int;
|
||||
|
||||
#[link_name = "llvm.ppc.altivec.vrfin"]
|
||||
#[link_name = "llvm.nearbyint.v4f32"]
|
||||
fn vrfin(a: vector_float) -> vector_float;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue