Thumb2 overestimates size of COND_EXEC insns
Bug #645279 reported by
Andrew Stubbs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Triaged
|
Low
|
Unassigned |
Bug Description
This piece of code
/* Add two bytes to the length of conditionally executed Thumb-2
instructions for the IT instruction. */
#define ADJUST_
if (TARGET_THUMB2 && GET_CODE (PATTERN (insn)) == COND_EXEC) \
length += 2;
causes us to overestimate the length of COND_EXEC blocks with more than one conditional instruction. It would be better to add a pass to arm_reorg that adds unspec_volatile IT insns which have length 2.
[CodeSourcery Tracker ID #8452]
tags: | added: speed task |
Changed in gcc-linaro: | |
importance: | Undecided → Low |
Changed in gcc-linaro: | |
status: | New → Triaged |
To post a comment you must log in.