[RISCV] Add separate lookup tables for fli.h and fli.d.
authorCraig Topper <craig.topper@sifive.com>
Sun, 12 Mar 2023 18:19:21 +0000 (11:19 -0700)
committerCraig Topper <craig.topper@sifive.com>
Sun, 12 Mar 2023 18:28:49 +0000 (11:28 -0700)
commitebc11b68412cdcf2a0e6e2c50df262cfd9b8f481
tree84741033808a342d09c9a73ae8d87cbdd50d42f4
parent858451c50b81379d1761e3f31d8c5e712b6fb77f
[RISCV] Add separate lookup tables for fli.h and fli.d.

Use separate lookup tables instead of trying to reuse the fli.s
table.

We were missing the 2 denormal cases for fli.h. We also had an issue
where fli.d was only checking 8 bits of the 11 bit exponent.
llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
llvm/test/CodeGen/RISCV/double-zfa.ll
llvm/test/CodeGen/RISCV/half-zfa-fli.ll