<div dir="ltr">Thanks Tim.<div><br></div><div>I just need the assembly file. Anyway, I still have problem with generating assembly for the ARM without having any thumb and other fancy instructions.</div></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 Sat, Dec 8, 2012 at 3:39 PM, Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank">t.p.northover@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Hi Amir,</p><div class="im">
<p>On Dec 8, 2012 8:13 PM, "Amir Yazdanbakhsh" <<a href="mailto:amir.yazdanbakhsh@gmail.com" target="_blank">amir.yazdanbakhsh@gmail.com</a>> wrote:<br>
> My problem is I am playing with the size of registerfile in ARM. I thought I can do it with only modifying the Target in the LLVM directory. But if it is going to use gcc-toolchain, then I need to modify them as well which is a huge work!</p>
</div><p>That sort of depends how you modify it. If you just want to look at assembly output by clang then probably nothing in GCC needs modifying. All compiling to assembly relies on is the headers, which don't really have any specific information about the number of registers.</p>
<p>If you want to produce valid executables in some sense, then it appears you've got two options (as well as quite a bit of work on an emulator anyway):<br>
1. Add the registers using a currently UNDEFINED section of the instruction space. This way the existing GCC libraries will probably be functional, though you'll only be testing the efficiency of part of the system being upgraded.<br>
2. Mangle encodings even more, in which case you will have to rebuild the libraries. Clang may or may not be capable of doing that.</p>
<p>Regards.</p><span class="HOEnZb"><font color="#888888">
<p>Tim</p>
</font></span></blockquote></div><br></div>