Some of those optimizations are special cases of cse() (see also
https://github.com/sympy/sympy/issues/10228).

Regarding compilers, two things of note: first, compilers are
generally very conservative unless you use --ffast-math. Second,
sometimes code generated expressions are so large that you have to use
-O1 or -O0.

Aaron Meurer

On Thu, Mar 10, 2016 at 4:45 AM, Tanu Hari Dixit <[email protected]> wrote:
> Bjorn,
>
> Thanks for the reply.
>
>>
>> I would be inclined to think that a lot has happened to the optimizers in
>> compilers since 2007, one would need to replicate some of the experiments on
>> modern hardware/compilers.
>
>
>> As you say, testing this will be crucial. SymPy would need access to some
>> dedicated hardware and I suppose a benchmark suite for SymPy generated code
>> would be almost a must?
>
>
> Will this project require some resources which I might not be able to
> arrange? I am really lost as to what has to be done. I need to draft a
> proposal and ascertain a timeline of the implementation.
> Though, I read through the notes on the Wiki and the optimizations listed
> (in this page and my last mail), ( I also went through the various links on
> this discussion on the mailing list), I am not able to find a suitable
> starting point.
> Please help me.
>
> Thanks,
> Tanu Hari Dixit.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/ae39dab4-2f6e-4a17-abdd-99f79fba0453%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6Lce_kp2dcJBXkuKJEvaXdgHUQtFgvtnsWA5TMm3NNH_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to