[PATCH] D81968: [AVR] Decode single register instructions

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 16 14:19:14 PDT 2020


aykevl created this revision.
aykevl added a reviewer: dylanmckay.
aykevl added a project: LLVM.
Herald added subscribers: Jim, hiraditya.

This is a set of instructions that take just a single register as an operand, with no immediates. Because all instructions share the same format, I haven't added exhaustive bit testing to all instructions but just to the inc instruction.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81968

Files:
  llvm/lib/Target/AVR/AVRInstrFormats.td
  llvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp
  llvm/test/MC/AVR/inst-asr.s
  llvm/test/MC/AVR/inst-com.s
  llvm/test/MC/AVR/inst-dec.s
  llvm/test/MC/AVR/inst-inc.s
  llvm/test/MC/AVR/inst-lsr.s
  llvm/test/MC/AVR/inst-neg.s
  llvm/test/MC/AVR/inst-pop.s
  llvm/test/MC/AVR/inst-push.s
  llvm/test/MC/AVR/inst-ror.s
  llvm/test/MC/AVR/inst-swap.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81968.271194.patch
Type: text/x-patch
Size: 8497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200616/3344a1ce/attachment.bin>


More information about the llvm-commits mailing list