Re: [PATCH, i386]: Fix PR62011, False data dependency in popcnt instruction

2014-08-19 Thread H.J. Lu
On Mon, Aug 18, 2014 at 12:29 PM, Uros Bizjak wrote: > On Mon, Aug 18, 2014 at 9:16 PM, H.J. Lu wrote: > >>> Attached patch fixes the problem with false data dependency on output >>> register for popcnt, lzcnt and tzcnt insns on sandybridge and haswell >>> targets. >>> >>> The new insn pattern sh

Re: [PATCH, i386]: Fix PR62011, False data dependency in popcnt instruction

2014-08-18 Thread Uros Bizjak
On Mon, Aug 18, 2014 at 9:16 PM, H.J. Lu wrote: >> Attached patch fixes the problem with false data dependency on output >> register for popcnt, lzcnt and tzcnt insns on sandybridge and haswell >> targets. >> >> The new insn pattern shadows existing one, and after reload, the >> clearing isns is

Re: [PATCH, i386]: Fix PR62011, False data dependency in popcnt instruction

2014-08-18 Thread H.J. Lu
On Sat, Aug 16, 2014 at 6:01 AM, Uros Bizjak wrote: > Hello! > > Attached patch fixes the problem with false data dependency on output > register for popcnt, lzcnt and tzcnt insns on sandybridge and haswell > targets. > > The new insn pattern shadows existing one, and after reload, the > clearing

[PATCH, i386]: Fix PR62011, False data dependency in popcnt instruction

2014-08-16 Thread Uros Bizjak
Hello! Attached patch fixes the problem with false data dependency on output register for popcnt, lzcnt and tzcnt insns on sandybridge and haswell targets. The new insn pattern shadows existing one, and after reload, the clearing isns is split out of the insn. This way the clearing insn can be sc