commit | 5e1f22d21a9b0d7e23e2e5aef5d418f10c39941b | [log] [tgz] |
---|---|---|
author | Nelson Chu <nelson.chu@sifive.com> | Tue Apr 21 14:42:20 2020 +0800 |
committer | Nelson Chu <nelson.chu@sifive.com> | Thu Jul 22 17:24:52 2021 +0800 |
tree | 4dbd7bc2e6cf0c76120a9d46e405b976f7ac9d0d | |
parent | 9706e698b79ac00bcc9bb93f3347b768a3817dc2 [diff] |
RISC-V/zfh: Support .float16 directive for assembler. This probably need to be sent to mainline rather than here. gas/ * config/tc-riscv.c (FLT_CHARS): Added h and H. (riscv_pseudo_table): Added .float16. * read.c (hex_float): Handle case 'h' and 'H'. * testsuite/gas/riscv/extended/extended.exp: Updated. * testsuite/gas/riscv/extended/float16.d: New testcase. * testsuite/gas/riscv/extended/float16.s: Likewise.