<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">> Bundling rules are actually quite
simple. I think the only restriction that I have is not to bundle
two branches together.<br>
<br>
If that's the only restriction you want to implement, then you
don't need to specify slot information in the DFA. You can add the
branch check to <your-target>VLIWPacketizer.cpp. Look at
HexagonVLIWPacketizer.cpp for examples on how to add checks during
packetizing.<br>
<br>
> however when we extend it to more slots, the rules might get
more complicated.
<div><br>
If the slot rules get complicated beyond the branch check, then
you should consider using the DFA.<br>
<br>
-Anshu<br>
<br>
</div>
<span class="moz-txt-tag">-- <br>
</span>Qualcomm Innovation Center, Inc. is a member of Code Aurora
Forum, hosted by The Linux Foundation
<br>
<br>
<br>
<br>
On 11/9/2015 5:30 PM, Rail Shafigulin wrote:<br>
</div>
<blockquote
cite="mid:CAOLNbFbOYykjRysB3iPCt7fh1fqgjN=G6k3R4AJa4d0U0z6YEg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Anshu,</div>
<div><br>
</div>
<div>Thanks for the reply </div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>How complex are the bundling rules in your VLIW
target? Is that documented somewhere? The complexity
will determine whether I'd recommend using the DFA
packetizer.<br>
<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Bundling rules are actually quite simple. I think the
only restriction that I have is not to bundle two branches
together. As far as documentation goes, this is a
proprietary project and it is not in the public domain, at
least for now. The reason we wanted to use existing
packetizer is because we thought that there is no need to
re-invent the wheel. Why not use what is already there?</div>
<div><br>
</div>
<div>Also given that I'm new to all of this (including VLIW
architecture), my boss told me to develop simple code just
for 2 slots and later we'll try to expand it. So when I
say that bundling rules are quite simple, what I mean is
that they are quite simple for 2 slots, however when we
extend it to more slots, the rules might get more
complicated. </div>
<div><br>
</div>
<div>Thanks,</div>
<div>R <br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>