aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-01-22 11:58:03 -0800
committerCraig Topper <craig.topper@sifive.com>2021-01-22 12:49:10 -0800
commit3c94cee63b401ca12457395bb1f4d70e161f9ec4 (patch)
treee9d1c7db7d19cb2297db1ace6c61f8ff338de822 /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent83c92fdeda6be9a42739fa699926d41ce8a001fb (diff)
downloadllvm-3c94cee63b401ca12457395bb1f4d70e161f9ec4.zip
llvm-3c94cee63b401ca12457395bb1f4d70e161f9ec4.tar.gz
llvm-3c94cee63b401ca12457395bb1f4d70e161f9ec4.tar.bz2
[RISCV] Add zext.h instruction to Zbb.
zext.h uses the same encoding as pack rd, rs, x0 in rv32 and packw rd, rs, x0 in rv64. Encodings without x0 as the second source are not valid in Zbb. I've added two new instructions with these specific encodings with predicates that enable them when either Zbb or Zbp is enabled. The pack spelling will only be accepted with Zbp. The disassembler will use the zext.h instruction when either feature is enabled. Using the pack spelling will print as pack when llvm-mc is emitting text. We could fix this with some custom code in processInstruction if this is important, but I'm not sure it is. Reviewed By: asb, frasercrmck Differential Revision: https://reviews.llvm.org/D94818
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions