Re: [PATCH, i386] Fix PR64003

2014-12-08 Thread Ilya Enkovich
On 08 Dec 11:30, Ilya Enkovich wrote: > 2014-12-07 12:51 GMT+03:00 Richard Sandiford : > > Ilya Enkovich writes: > >> diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md > >> index 88435d6..9019ed8 100644 > >> --- a/gcc/config/i386/i386.md > >> +++ b/gcc/config/i386/i386.md > >> @@ -109

Re: [PATCH, i386] Fix PR64003

2014-12-08 Thread Ilya Enkovich
2014-12-07 12:51 GMT+03:00 Richard Sandiford : > Ilya Enkovich writes: >> diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md >> index 88435d6..9019ed8 100644 >> --- a/gcc/config/i386/i386.md >> +++ b/gcc/config/i386/i386.md >> @@ -10958,6 +10958,24 @@ >> ;; Basic conditional jump inst

Re: [PATCH, i386] Fix PR64003

2014-12-07 Thread Richard Sandiford
Ilya Enkovich writes: > diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md > index 88435d6..9019ed8 100644 > --- a/gcc/config/i386/i386.md > +++ b/gcc/config/i386/i386.md > @@ -10958,6 +10958,24 @@ > ;; Basic conditional jump instructions. > ;; We ignore the overflow flag for signed

Re: [PATCH, i386] Fix PR64003

2014-12-05 Thread Jeff Law
On 12/05/14 08:42, Uros Bizjak wrote: Hello! This patch fixes PR target/64003 by avoiding functions calls during computations of "length" attribute for short jump instructions. It is achieved by having separate templates for prefixed and not prefixed instructions. Please see discussion in b

Re: [PATCH, i386] Fix PR64003

2014-12-05 Thread Jeff Law
On 12/05/14 07:57, Ilya Enkovich wrote: Hi, This patch fixes PR target/64003 by avoiding functions calls during computations of "length" attribute for short jump instructions. It is achieved by having separate templates for prefixed and not prefixed instructions. Please see discussion in bu

Re:[PATCH, i386] Fix PR64003

2014-12-05 Thread Uros Bizjak
Hello! > This patch fixes PR target/64003 by avoiding functions calls during > computations of "length" > attribute for short jump instructions. It is achieved by having separate > templates for prefixed and > not prefixed instructions. Please see discussion in bugzilla for reasoning. > > Boot

[PATCH, i386] Fix PR64003

2014-12-05 Thread Ilya Enkovich
Hi, This patch fixes PR target/64003 by avoiding functions calls during computations of "length" attribute for short jump instructions. It is achieved by having separate templates for prefixed and not prefixed instructions. Please see discussion in bugzilla for reasoning. Bootstrapped and te