summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
diff options
context:
space:
mode:
authorColin LeMahieu <colinl@codeaurora.org>2015-06-05 16:00:11 +0000
committerColin LeMahieu <colinl@codeaurora.org>2015-06-05 16:00:11 +0000
commitbe8c453d58a77909b1e35410a8ea6e78f5d0e50c (patch)
treeafa5713ca4843dc1fb05168df4ff5d5024881e67 /llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
parent28444b3074c38232d53e3572c52636121b30c5ff (diff)
downloadbcm5719-llvm-be8c453d58a77909b1e35410a8ea6e78f5d0e50c.tar.gz
bcm5719-llvm-be8c453d58a77909b1e35410a8ea6e78f5d0e50c.zip
[Hexagon] Reapply r239097 with tests corrected for shuffling and duplexing.
llvm-svn: 239161
Diffstat (limited to 'llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h')
-rw-r--r--llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
index 342a61190e6..4f84e0d79e6 100644
--- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
+++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
@@ -43,6 +43,7 @@ namespace HexagonII {
TypeXTYPE = 8,
TypeMEMOP = 9,
TypeNV = 10,
+ TypeDUPLEX = 11,
TypePREFIX = 30, // Such as extenders.
TypeENDLOOP = 31 // Such as end of a HW loop.
};
@@ -190,6 +191,17 @@ namespace HexagonII {
MO_GPREL
};
+ // Hexagon Sub-instruction classes.
+ enum SubInstructionGroup {
+ HSIG_None = 0,
+ HSIG_L1,
+ HSIG_L2,
+ HSIG_S1,
+ HSIG_S2,
+ HSIG_A,
+ HSIG_Compound
+ };
+
enum InstParseBits {
INST_PARSE_MASK = 0x0000c000,
INST_PARSE_PACKET_END = 0x0000c000,
OpenPOWER on IntegriCloud