Re: [Mesa-dev] [PATCH 10.5/15] i965/fs: Extend SEL peephole to handle only matching MOVs.

2013-10-30 Thread Paul Berry
On 29 October 2013 23:37, Matt Turner wrote: > Before this patch, the following code would not be optimized even though > the final two instructions were common to the then and else blocks: > >(+f0) IF >MOV dst2 ... >MOV dst1 ... >MOV dst0 ... >ELSE >MOV dst3 ... >MOV

[Mesa-dev] [PATCH 10.5/15] i965/fs: Extend SEL peephole to handle only matching MOVs.

2013-10-29 Thread Matt Turner
Before this patch, the following code would not be optimized even though the final two instructions were common to the then and else blocks: (+f0) IF MOV dst2 ... MOV dst1 ... MOV dst0 ... ELSE MOV dst3 ... MOV dst1 ... MOV dst0 ... ENDIF This commit extends the peephol