<div dir="ltr">Thanks Kito. It is very helpful.</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Best Regards,<br>A. Yazdanbakhsh<br><br><span style="color:rgb(102,102,102)">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>></span><br style="color:rgb(102,102,102)">

<br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">PhD. Student</span><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">School of Electrical and Computer Engineering</span><br style="color:rgb(102,102,102)">

<span style="color:rgb(102,102,102)">University of Wisconsin-Madison</span><span style="color:rgb(102,102,102)"></span><span style="color:rgb(102,102,102)"></span><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">E-mail:     </span><a style="color:rgb(102,102,102)" href="mailto:yazdanbakhsh@wisc.edu" target="_blank">yazdanbakhsh@wisc.edu</a><br>

<br><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)"><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</span></div>

</div><br>
<br><br><div class="gmail_quote">On Fri, Dec 7, 2012 at 1:40 AM, Kito Cheng <span dir="ltr"><<a href="mailto:kito@0xlab.org" target="_blank">kito@0xlab.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">> I almost change all the instruction formats. It was a huge work. I am going<br>
> to compile and run it now.<br>
<br>
</div>We have done the similar work[1] on this topic by gcc and we have<br>
start migrate our platform to LLVM.<br>
In my experience, you need to take care the follow part:<br>
* ARMBaseRegisterInfo::getRegPressureLimit<br>
* ARMBaseRegisterInfo::getRawAllocationOrder<br>
* CalleeSavedRegs<br>
* ARMFrameLowering::emitPrologue<br>
<br>
[1] Doubling the Number of Registers on ARM Processors<br>
<a href="http://aces.snu.ac.kr/interact-16/papers/interact-16-paper-1.pdf" target="_blank">http://aces.snu.ac.kr/interact-16/papers/interact-16-paper-1.pdf</a><br>
</blockquote></div><br></div>