Re: [PATCH, ARM] Set max_insns_skipped to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2

2014-08-13 Thread Richard Earnshaw
On 25/02/14 09:34, Zhenqiang Chen wrote: Hi, Current value for max_insns_skipped is 6. For THUMB2, it needs 2 (IF-THEN) or 3 (IF-THEN-ELSE) IT blocks to hold all the instructions. The overhead of IT is 4 or 6 BYTES. If we do not generate IT blocks, for IF-THEN, the overhead of conditional

[Committed] [PATCH, ARM] Set max_insns_skipped to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2

2014-08-13 Thread Zhenqiang Chen
On 13 August 2014 20:29, Richard Earnshaw rearn...@arm.com wrote: On 25/02/14 09:34, Zhenqiang Chen wrote: Hi, Current value for max_insns_skipped is 6. For THUMB2, it needs 2 (IF-THEN) or 3 (IF-THEN-ELSE) IT blocks to hold all the instructions. The overhead of IT is 4 or 6 BYTES. If we do

[PING ^ 2] [PATCH, ARM] Set max_insns_skipped to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2

2014-08-11 Thread Zhenqiang Chen
To: gcc-patches@gcc.gnu.org Cc: Ramana Radhakrishnan Subject: [PATCH, ARM] Set max_insns_skipped to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2 Hi, Current value for max_insns_skipped is 6. For THUMB2, it needs 2 (IF-THEN) or 3 (IF-THEN-ELSE) IT blocks to hold all

[PING] [PATCH, ARM] Set max_insns_skipped to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2

2014-04-29 Thread Zhenqiang Chen
max_insns_skipped to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2 Hi, Current value for max_insns_skipped is 6. For THUMB2, it needs 2 (IF-THEN) or 3 (IF-THEN-ELSE) IT blocks to hold all the instructions. The overhead of IT is 4 or 6 BYTES. If we do not generate IT blocks

[PATCH, ARM] Set max_insns_skipped to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2

2014-02-25 Thread Zhenqiang Chen
Hi, Current value for max_insns_skipped is 6. For THUMB2, it needs 2 (IF-THEN) or 3 (IF-THEN-ELSE) IT blocks to hold all the instructions. The overhead of IT is 4 or 6 BYTES. If we do not generate IT blocks, for IF-THEN, the overhead of conditional jump is 2 or 4; for IF-THEN-ELSE, the overhead