LLVM: Intrinsify MathF.Round (mono/mono#16840)
authorEgor Bogatov <egorbo@gmail.com>
Tue, 24 Sep 2019 18:53:23 +0000 (21:53 +0300)
committerMarek Safar <marek.safar@gmail.com>
Tue, 24 Sep 2019 18:53:23 +0000 (20:53 +0200)
commit8004ab023a248ec9bc5e5034cd07bb0a69531c3b
tree2b85cf80879f82327c25b46386d7cf0f776f5349
parent36233c7a72379cbb1ef772aba877cae0707712f8
LLVM: Intrinsify MathF.Round (mono/mono#16840)

* improve MathF.Round

* prefer vroundss

* enable round only for jit

Commit migrated from https://github.com/mono/mono/commit/37e46aa9aeec213c94d991da55e16a78b5adf9de
src/mono/mono/mini/intrinsics.c
src/mono/mono/mini/mini-llvm.c
src/mono/mono/mini/mini-ops.h