<div dir="ltr">This sounds good to me and I think makes sense for ARM as well (based on my understanding). But the real question is what Greg/Jim/ec think.<div><br></div><div>Vince</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 29, 2015 at 6:00 AM, Bhushan Attarde <span dir="ltr"><<a href="mailto:Bhushan.Attarde@imgtec.com" target="_blank">Bhushan.Attarde@imgtec.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-IN" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We are planning to implement support for various MIPS ABIs (O32, N32, O64 and N64) and application specific extensions (ASE) like DSP and SIMD.
<u></u><u></u></p>
<p class="MsoNormal">Additionally we are planning to implement microMIPS ISA as an extension to the existing MIPS32/64 bit cores.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Currently there are around 20 MIPS cores added in the ArchSpec.
<u></u><u></u></p>
<p class="MsoNormal">If we consider the various combinations of ABI+ASE+Core then number of cores for MIPS in (ArchSpec::Core) would increase significantly.
<u></u><u></u></p>
<p class="MsoNormal">We would like to keep the number of base cores (mips32, mips32r2, mips64 etc.) as it is and evaluate ABIs/ASEs dynamically using elf::ELFHeader::e_flags.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We would need to extend the ArchSpec with the information contained in elf::ELFHeader::e_flags.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">ArchSpec will have say "m_flags", which will be set to elf::ELFHeader::e_flags.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Then this information can be used in <u></u><u></u></p>
<p class="MsoNormal">- ABI plugin to know the ABI contained in the ELF<u></u><u></u></p>
<p class="MsoNormal">- EmulateInstruction plugin to know the ASE (MicroMips for example) and then Emulate the instructions accordingly.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Please let us know your thoughts on this.<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">-Bhushan<u></u><u></u></p>
</font></span></div>
</div>
<br>_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br></blockquote></div><br></div>