[PATCH] [llvm] [Hexagon] Adding tests, TableGen entries, and code for emitting add opcode.

colinl at codeaurora.org colinl at codeaurora.org
Fri Oct 10 16:01:48 PDT 2014


I think I understand the reason for the request now.  It sounds like you're saying the translation between assembly and machine code is most efficiently and compactly represented by assembling or disassembling and since we have a tool for that, it would be nice to use it.  That logic makes sense.

I factored the unit test and it seems like they can be represented in a compact form which might satisfy the terseness request.

If this change is still rejected Sid is investigating disassembler patches though it make take a few to get all the required parts in place.

http://reviews.llvm.org/D5624

Files:
  lib/Target/Hexagon/HexagonAsmPrinter.cpp
  lib/Target/Hexagon/HexagonInstrInfo.td
  lib/Target/Hexagon/HexagonMCInstLower.cpp
  lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp
  lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
  lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp
  lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.h
  lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
  lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h
  unittests/MC/CMakeLists.txt
  unittests/MC/Hexagon/HexagonMCCodeEmitterTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5624.14754.patch
Type: text/x-patch
Size: 33424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141010/6ec5052f/attachment.bin>


More information about the llvm-commits mailing list