Hi,
The constant propagation pass propagates constants into the
instructions that accept immediates. I'm trying to find if there's
some CSE pass in GCC that would be able to undo this effect when the
constant is used more than once in the function. I looked at the CSE
code (4.5 branch) and I don't
On 10/25/2010 10:46 AM, Frederic Riss wrote:
Hi,
The constant propagation pass propagates constants into the
instructions that accept immediates. I'm trying to find if there's
some CSE pass in GCC that would be able to undo this effect when the
constant is used more than once in the function. I
On 10/25/10 02:46, Frederic Riss wrote:
Hi,
The constant propagation pass propagates constants into the
instructions that accept immediates. I'm trying to find if there's
some CSE pass in GCC that would be able to undo this effect when the
constant is used more than once in the function. I look
Hi Jeff,
On 26 October 2010 16:22, Jeff Law wrote:
> There is currently no pass which does "un-cse"; however, using insn
> splitting and operand costing and suitable insn constraints/predicates you
> can usually arrange to avoid expensive constants in places where it makes
> sense.
The thing is
On 10/27/10 12:15, Frederic Riss wrote:
Hi Jeff,
On 26 October 2010 16:22, Jeff Law wrote:
There is currently no pass which does "un-cse"; however, using insn
splitting and operand costing and suitable insn constraints/predicates you
can usually arrange to avoid expensive constants in places
On 27 October 2010 21:21, Jeff Law wrote:
> On 10/27/10 12:15, Frederic Riss wrote:
>> On 26 October 2010 16:22, Jeff Law wrote:
>>
>> The thing is the cprop pass doesn't look at insn costs while doing its
>> job AFAICS. I'm interested to see how insn splitting can help with
>> this if you don't
On 10/27/10 13:54, Frederic Riss wrote:
On 27 October 2010 21:21, Jeff Law wrote:
On 10/27/10 12:15, Frederic Riss wrote:
On 26 October 2010 16:22, Jeff Lawwrote:
The thing is the cprop pass doesn't look at insn costs while doing its
job AFAICS. I'm interested to see how insn splitting