Re: [PATCH 4.8 v2, i386]: Make CCZ mode compatible with CCGOC and CCGO modes

2012-02-13 Thread Richard Henderson
On 02/11/2012 12:56 AM, Uros Bizjak wrote: FWIW, the mode of flags in users doesn't matter at all on x86, but which way is correct? As far as I know, it doesn't matter anywhere. We don't even bother to have perfect harmony between integer modes in hard registers -- think about what happens

Re: [PATCH 4.8 v2, i386]: Make CCZ mode compatible with CCGOC and CCGO modes

2012-02-13 Thread Uros Bizjak
On Tue, Feb 14, 2012 at 12:00 AM, Richard Henderson r...@redhat.com wrote: On 02/11/2012 12:56 AM, Uros Bizjak wrote: FWIW, the mode of flags in users doesn't matter at all on x86, but which way is correct? As far as I know, it doesn't matter anywhere.  We don't even bother to have perfect

Re: [PATCH 4.8 v2, i386]: Make CCZ mode compatible with CCGOC and CCGO modes

2012-02-11 Thread Uros Bizjak
On Tue, Feb 7, 2012 at 5:37 PM, Uros Bizjak ubiz...@gmail.com wrote: Attached patch declares CCZmode compatible with CCGOC, CCGO and CCNO modes. Actually, CCZ mode is not compatible with CCNO mode, since the later only declares that overflow flag is not set. CCGOC and CCGO declare garbage in

Re: [PATCH 4.8 v2, i386]: Make CCZ mode compatible with CCGOC and CCGO modes

2012-02-11 Thread Uros Bizjak
On Sat, Feb 11, 2012 at 9:41 AM, Uros Bizjak ubiz...@gmail.com wrote: Attached patch declares CCZmode compatible with CCGOC, CCGO and CCNO modes. Actually, CCZ mode is not compatible with CCNO mode, since the later only declares that overflow flag is not set. CCGOC and CCGO declare garbage

[PATCH 4.8 v2, i386]: Make CCZ mode compatible with CCGOC and CCGO modes

2012-02-07 Thread Uros Bizjak
On Tue, Feb 7, 2012 at 1:59 PM, Uros Bizjak ubiz...@gmail.com wrote: Attached patch declares CCZmode compatible with CCGOC, CCGO and CCNO modes. Actually, CCZ mode is not compatible with CCNO mode, since the later only declares that overflow flag is not set. CCGOC and CCGO declare garbage in

Re: [PATCH 4.8 v2, i386]: Make CCZ mode compatible with CCGOC and CCGO modes

2012-02-07 Thread Uros Bizjak
On Tue, Feb 7, 2012 at 5:57 PM, Richard Henderson r...@redhat.com wrote: Attached patch declares CCZmode compatible with CCGOC, CCGO and CCNO modes. Actually, CCZ mode is not compatible with CCNO mode, since the later only declares that overflow flag is not set. CCGOC and CCGO declare