diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2020-07-25 10:37:05 +0200 |
---|---|---|
committer | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2020-07-27 16:29:38 +0200 |
commit | 465f6b4120bb38d2ef2871de4972df92ee935ed6 (patch) | |
tree | 1b012cd6a662c0f6b21c8dc2be0ac0bb4a0ee49a /riscV | |
parent | 907a9042ffb8d21fece6fc8e663ce23d32aa8fa1 (diff) | |
download | compcert-kvx-465f6b4120bb38d2ef2871de4972df92ee935ed6.tar.gz compcert-kvx-465f6b4120bb38d2ef2871de4972df92ee935ed6.zip |
No need to process __builtin_fabs in $ARCH/Asmexpand.ml
__builtin_fabs has already been expanded in backend/Selection.v .
Diffstat (limited to 'riscV')
-rw-r--r-- | riscV/Asmexpand.ml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/riscV/Asmexpand.ml b/riscV/Asmexpand.ml index 7e36abf8..a6edfc1e 100644 --- a/riscV/Asmexpand.ml +++ b/riscV/Asmexpand.ml @@ -419,8 +419,6 @@ let expand_builtin_inline name args res = expand_bswap32 X5 X5; expand_bswap32 X6 X6 (* Float arithmetic *) - | "__builtin_fabs", [BA(FR a1)], BR(FR res) -> - emit (Pfabsd(res, a1)) | "__builtin_fsqrt", [BA(FR a1)], BR(FR res) -> emit (Pfsqrtd(res, a1)) | "__builtin_fmadd", [BA(FR a1); BA(FR a2); BA(FR a3)], BR(FR res) -> |