commit | 03a277a02569bdb8e76bfd82ff88e89e5cbfe9c7 | [log] [tgz] |
---|---|---|
author | Victor Khimenko <khim@google.com> | Sun Jul 09 11:04:00 2023 +0000 |
committer | Victor Khimenko <khim@google.com> | Sun Jul 09 20:41:17 2023 +0000 |
tree | 47125fbd7f1c880ff34ff88a05baa6b579722071 | |
parent | daafaadfc8db193c7dd96bfb292fe5594386ac08 [diff] |
Turn "Rm" argument to floating point functions into immediate. This would make it possible to reuse HostRounding intrinsics when Rm == Dyn and Frm != RMM. Even if we would test these flags for each instruction it should still be beneficial since we would avoid heavy tool of calling C intrinsic. This is especially important for FMA because we couldn't have fully-inline FMA for RMM mode and compilers tend to reuse FMA instructions for optimizations when they are available. Bug: 278812060 Test: m berberis_all Change-Id: Ifc896d502dd0d8a1f4c3935f1756838fe05ad9aa
Berberis: dynamic binary translator to run Android apps with riscv64 native code on x86_64 devices or emulators.