Summary: * Investigate how to expand conditional compare.
Details: 1. Try to expand conditional compare to RTL * It seams hard to expand conditional compare to just one cond_exec insn during expand, since it has to know the cc (GT, LT, etc) set from previous instruction and tell the later instruction which cc (GT, LT, etc) it set. * Try to add new RTL key-word and insn pattern.
2. Follow up Linaro toolchain binaries bug in Yocto build: 1159392, 1161348 and 1161351.
Plan: * Generate asm for conditional compare.
Planned leaves: * April 4-8: Chinese Ching Ming Festival and annual leaves. * April 12: Internal team event. * April 16-17: Internal training.
Best Regards! -Zhenqiang
More about 1) Even if you are able to expand to cond_exec during expand, the rest of GCC including reload does not know how to handle it except for the passes after reload. See http://gcc.gnu.org/ml/gcc/2010-09/msg00252.html . So using if_then_else is much better for before reload as mentioned in that email and then only changing to cond_exec during the split after reload.
Thanks, Andrew Pinski ________________________________________ From: linaro-toolchain-bounces@lists.linaro.org [linaro-toolchain-bounces@lists.linaro.org] on behalf of Zhenqiang Chen [zhenqiang.chen@linaro.org] Sent: Sunday, March 31, 2013 7:55 PM To: linaro-toolchain Subject: [ACTIVITY] Week 13
Summary: * Investigate how to expand conditional compare.
Details: 1. Try to expand conditional compare to RTL * It seams hard to expand conditional compare to just one cond_exec insn during expand, since it has to know the cc (GT, LT, etc) set from previous instruction and tell the later instruction which cc (GT, LT, etc) it set. * Try to add new RTL key-word and insn pattern.
2. Follow up Linaro toolchain binaries bug in Yocto build: 1159392, 1161348 and 1161351.
Plan: * Generate asm for conditional compare.
Planned leaves: * April 4-8: Chinese Ching Ming Festival and annual leaves. * April 12: Internal team event. * April 16-17: Internal training.
Best Regards! -Zhenqiang
_______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
linaro-toolchain@lists.linaro.org