diff options
| author | Sam Elliott <selliott@lowrisc.org> | 2019-06-07 12:20:14 +0000 |
|---|---|---|
| committer | Sam Elliott <selliott@lowrisc.org> | 2019-06-07 12:20:14 +0000 |
| commit | f720647ddd718cdd97d86ac3d1ca9e2d3c748020 (patch) | |
| tree | c72a58669bf8f3eb49465419e4b5ab81b10db6e6 /llvm/lib/Support | |
| parent | cb8de55f474984be7d21c4c43140e134af09bfa5 (diff) | |
| download | bcm5719-llvm-f720647ddd718cdd97d86ac3d1ca9e2d3c748020.tar.gz bcm5719-llvm-f720647ddd718cdd97d86ac3d1ca9e2d3c748020.zip | |
[RISCV] Support Bit-Preserving FP in F/D Extensions
Summary:
This allows some integer bitwise operations to instead be performed by
hardware fp instructions. This is correct because the RISC-V spec
requires the F and D extensions to use the IEEE-754 standard
representation, and fp register loads and stores to be bit-preserving.
This is tested against the soft-float ABI, but with hardware float
extensions enabled, so that the tests also ensure the optimisation also
fires in this case.
Reviewers: asb, luismarques
Reviewed By: asb
Subscribers: hiraditya, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, Jim, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D62900
llvm-svn: 362790
Diffstat (limited to 'llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions

