]> granicus.if.org Git - llvm/commit
[RISCV] Add support for all RV32I instructions
authorAlex Bradbury <asb@lowrisc.org>
Sun, 17 Sep 2017 14:27:35 +0000 (14:27 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Sun, 17 Sep 2017 14:27:35 +0000 (14:27 +0000)
commit26132ea8ed7c58d447b7b7f25be7e9eea6de967d
tree65c34d298a758aa73fe2c9a3f78a4de282248c45
parent414ee511a79b162a310a940615d5458a67acbff8
[RISCV] Add support for all RV32I instructions

This patch supports all RV32I instructions as described in the RISC-V manual.
A future patch will add support for pseudoinstructions and other instruction
expansions (e.g. 0-arg fence -> fence iorw, iorw).

Differential Revision: https://reviews.llvm.org/D23566

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313485 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
lib/Target/RISCV/InstPrinter/RISCVInstPrinter.cpp
lib/Target/RISCV/InstPrinter/RISCVInstPrinter.h
lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h [new file with mode: 0644]
lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
lib/Target/RISCV/RISCVInstrInfo.td
test/MC/RISCV/rv32i-invalid.s
test/MC/RISCV/rv32i-valid.s