Instruction scheduling question

2013-06-14 Thread Steve Ellcey
I have an instruction scheduling question I was hoping someone could help me with. Specifically, I am trying to figure out where and how GCC is deciding to move the add of a constant to a register above the use of that register and then changing the register usage by change the offsets associated

Re: Instruction scheduling question

2013-06-14 Thread Eric Botcazou
The part of the scheduling change that I am interested in is the change in where the addiu instruction occurs and the related changes from the positive offsets to the negative offsets. Can anyone tell me where the code that decides to do that is? Extra bonus points for any answer not

Re: Instruction scheduling question

2013-06-14 Thread Steve Ellcey
On Sat, 2013-06-15 at 00:06 +0200, Eric Botcazou wrote: The part of the scheduling change that I am interested in is the change in where the addiu instruction occurs and the related changes from the positive offsets to the negative offsets. Can anyone tell me where the code that decides