Re: [rvm-research] Optimizing compiler debugging

Ricardo Coelho <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <CAGBF_r2u5Jcb+r_iXPPmjDMcgq=hjyMuTfgwVT_yU0-R2xpF-g@mail.gmail.com>
Hi Michael,

Thanks a lot for trying to help but fortunately I managed to go around that
problem.
Meanwhile I have another problem which I would like some help with.  I'm
debugging a modification on the class Simplifier in the optimizating
compiler. The INT_MUL operator used in there is converted into IA32_IMUL2
during expansion and only takes into account the last 32 bits of the
multiplication (I'm multiplying a small number with a "big" constant). Is
there an easy way to get the first 32 bits of the multiplication and "cut"
the last 32?(doing this in Simplifier class)
If you (or anyone reading) have any suggestions on how I might solve this,
I would be very grateful.

Thank you for your attention.

Ricardo Coelho


2015-05-08 20:02 GMT+01:00 Michael Bond <[email protected]>:

>  Hi Ricardo,
>
> For each of the two cases, could you provide the build and run commands
> you're using and the output that's being generated?
>
> Cheers,
> Mike
>
>
> On 05/07/2015 08:13 PM, Ricardo Coelho wrote:
>
>  I have just a small question: I'm debugging a modification that I
> introduced on the optimizing compiler related to the multiplication and
> division by constant code in class Simplifier, and I'm using prototype-opt,
> OptTestHarness and its options to study the intermediate representation
> generated by the modifications. Using this, I can see the effect of them,
> but when I try to run using for example the general command for the
> optimizing compiler "./rvm -X:aos:initial_compiler=opt
> -X:aos:enable_recompilation=false -X:opt:print_all_ir=true Foo" it
> generates a different intermediate representation. Is there any specific
> reason for this, maybe related to the different steps of optimizing? Or is
> there more options that I should put in order to see the changes brought by
> the modification on the IR?
>
>  Thank you for your time.
>  --
>   Ricardo Coelho
> Student at Instituto Superior Técnico
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> _______________________________________________
> Jikesrvm-researchers mailing [email protected]://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Jikesrvm-researchers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
>
>


-- 
Ricardo Coelho
Student at Instituto Superior Técnico

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.