i386.c (ix86_cc_modes_compatible): Declare CCZmode compatible with CCGOCmode and CCGCmode.
* config/i386/i386.c (ix86_cc_modes_compatible): Declare CCZmode compatible with CCGOCmode and CCGCmode. From-SVN: r184813
This commit is contained in:
parent
2ff1689326
commit
76945a7ca8
@ -1,3 +1,8 @@
|
||||
2012-03-02 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386.c (ix86_cc_modes_compatible): Declare CCZmode
|
||||
compatible with CCGOCmode and CCGCmode.
|
||||
|
||||
2012-03-02 Peter Bergner <bergner@vnet.ibm.com>
|
||||
|
||||
* config/rs6000/vsx.md (vsx_set_<mode>): Reorder operands.
|
||||
|
@ -17827,6 +17827,11 @@ ix86_cc_modes_compatible (enum machine_mode m1, enum machine_mode m2)
|
||||
|| (m1 == CCGOCmode && m2 == CCGCmode))
|
||||
return CCGCmode;
|
||||
|
||||
if (m1 == CCZmode && (m2 == CCGCmode || m2 == CCGOCmode))
|
||||
return m2;
|
||||
else if (m2 == CCZmode && (m1 == CCGCmode || m1 == CCGOCmode))
|
||||
return m1;
|
||||
|
||||
switch (m1)
|
||||
{
|
||||
default:
|
||||
|
@ -9,7 +9,7 @@
|
||||
2012-03-02 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/46716
|
||||
* gcc.target/i386/pr46176.c: New test.
|
||||
* gcc.target/i386/pr46716.c: New test.
|
||||
|
||||
2012-03-02 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user