summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/Hexagon.h
diff options
context:
space:
mode:
authorColin LeMahieu <colinl@codeaurora.org>2015-05-29 14:44:13 +0000
committerColin LeMahieu <colinl@codeaurora.org>2015-05-29 14:44:13 +0000
commit68d967d92ed502c75cdbbd1914ba39b8d9baa9f8 (patch)
tree07f54d02e639469fb17d4fb10a3d7e5d622187e3 /llvm/lib/Target/Hexagon/Hexagon.h
parent10d238751e4e887fb7dc5142da04f640fb3504f8 (diff)
downloadbcm5719-llvm-68d967d92ed502c75cdbbd1914ba39b8d9baa9f8.tar.gz
bcm5719-llvm-68d967d92ed502c75cdbbd1914ba39b8d9baa9f8.zip
[Hexagon] Disassembling, printing, and emitting instructions a whole-bundle at a time which is the semantic unit for Hexagon. Fixing tests to use the new format. Disabling tests in the direct object emission path for a followup patch.
llvm-svn: 238556
Diffstat (limited to 'llvm/lib/Target/Hexagon/Hexagon.h')
-rw-r--r--llvm/lib/Target/Hexagon/Hexagon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/Hexagon.h b/llvm/lib/Target/Hexagon/Hexagon.h
index dfe79f9ff7b..ce3f1b9a522 100644
--- a/llvm/lib/Target/Hexagon/Hexagon.h
+++ b/llvm/lib/Target/Hexagon/Hexagon.h
@@ -76,4 +76,8 @@ namespace llvm {
// Maximum number of words and instructions in a packet.
#define HEXAGON_PACKET_SIZE 4
+// Minimum number of instructions in an end-loop packet.
+#define HEXAGON_PACKET_INNER_SIZE 2
+#define HEXAGON_PACKET_OUTER_SIZE 3
+
#endif
OpenPOWER on IntegriCloud