[PATCH] [RFC][9/17]TILE-Gx: MCInst Lower and InstrPrinter for tilegx
Jiong WANG
wong.kwongyuan.llvm at gmail.com
Mon Mar 11 01:05:49 PDT 2013
Generally, the lowering process is the same as other targets.
The main difference for tilegx is as described in "[PATCH] [RFC][3/17]TILE-Gx: add instruction template for tilegx", we need to map the original opcode to the final opcode with slot attribute, so that the MC Layer could encode the instruction bundle correctly.
For InstrPrinter, the main difference for tilegx is, tilegx implemented customized jump table, which need a customized printer.
Please review, thanks.
---
Regards,
Jiong
Tilera Corporation
http://llvm-reviews.chandlerc.com/D519
Files:
lib/Target/Tile/TileAsmPrinter.cpp
lib/Target/Tile/TileAsmPrinter.h
lib/Target/Tile/TileMCInst.h
lib/Target/Tile/TileMCInstLower.cpp
lib/Target/Tile/TileMCInstLower.h
lib/Target/Tile/InstPrinter/CMakeLists.txt
lib/Target/Tile/InstPrinter/LLVMBuild.txt
lib/Target/Tile/InstPrinter/Makefile
lib/Target/Tile/InstPrinter/TileInstPrinter.cpp
lib/Target/Tile/InstPrinter/TileInstPrinter.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D519.1.patch
Type: text/x-patch
Size: 40012 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130311/2e58fc37/attachment.bin>
More information about the llvm-commits
mailing list