On 16 June 2014 10:38, Pinski, Andrew Andrew.Pinski@caviumnetworks.com wrote:
- Investigate how to optimize large constant. Patch is in testing (TCWG-486, 5/10). Basic idea is:
- Do not split large constant when expanding.
- Improve cprop pass to check the rtx_cost when propagating constants.
I did this basic idea for MIPS64 and also caused cse to ignore the cost of constants when it was optimizing zero_extend on the lhs. This two things helped lot for optimizing of setting bit-fields to a constant (without a tree level pass).
Thanks for the comments. Do you have an example benefited from your cse changes? I want to verify it on ARM.
Thanks! -Zhenqiang
Thanks, Andrew Pinski
-----Original Message----- From: linaro-toolchain-bounces@lists.linaro.org [mailto:linaro-toolchain-bounces@lists.linaro.org] On Behalf Of Zhenqiang Chen Sent: Sunday, June 15, 2014 7:29 PM To: linaro-toolchain Subject: [ACTIVITY] Week 24
== Issues ==
- None.
== Progress ==
- Work out 4 patches to enhance loop2-invariant heuristics and send out for community review (TCWG-469, 3/10).
- Test the rebased ccmp patches (TCWG-488, 2/10).
- Investigate how to optimize large constant. Patch is in testing (TCWG-486, 5/10). Basic idea is:
- Do not split large constant when expanding.
- Improve cprop pass to check the rtx_cost when propagating constants.
== Plans ==
- Ping pending patches.
- Send out ccmp patches for review.
- Send out patches to optimize constant.
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain