commit | 70b9bc4d72a02a2d2164ce807075e55ea27ff466 | [log] [tgz] |
---|---|---|
author | Alex Bradbury <asb@lowrisc.org> | Fri Feb 01 03:53:30 2019 +0000 |
committer | Vadim Kaushan <admin@disasm.info> | Mon Feb 11 11:06:41 2019 +0300 |
tree | b22bb446ef73473631c8ee5d213571ec0a5c8d58 | |
parent | c6aca6d423abf72e9149b6e4ba22ec6ebe4b7d10 [diff] |
[RISCV] Implement RV64D codegen This patch: * Adds necessary RV64D codegen patterns * Modifies CC_RISCV so it will properly handle f64 types (with soft float ABI) Note that in general there is no reason to try to select fcvt.w[u].d rather than fcvt.l[u].d for i32 conversions because fptosi/fptoui produce poison if the input won't fit into the target type. Differential Revision: https://reviews.llvm.org/D53237 llvm-svn: 352833