This patch fixes thumb1 size cost of small constants. Currently, the cost of SET of a constant is set to zero, which is odd considering that it still takes one instruction to do the operation. The code for Thumb2 and ARM modes returns COSTS_N_INSNS (1) for similar case, so the patch makes Thumb1 cost agree with ARM and Thumb2 cost. OK to check in? Thank you, -- Maxim Kuvyrkov CodeSourcery maxim@codesourcery.com (650) 331-3385 x724