Commit 9430f7b8 by Uros Bizjak Committed by Uros Bizjak

i386.i386.c (ix86_cc_modes_compatible): CCNOmode is compatible with CCGOCmode and with CCZmode.

	* config/i386.i386.c (ix86_cc_modes_compatible): CCNOmode is
	compatible with CCGOCmode and with CCZmode.

From-SVN: r248036
parent a104bd88
2017-05-14 Uros Bizjak <ubizjak@gmail.com>
* config/i386.i386.c (ix86_cc_modes_compatible): CCNOmode is
compatible with CCGOCmode and with CCZmode.
2017-05-14 Martin Sebor <msebor@redhat.com>
PR middle-end/77671
......
......@@ -23251,9 +23251,15 @@ ix86_cc_modes_compatible (machine_mode m1, machine_mode m2)
|| (m1 == CCGOCmode && m2 == CCGCmode))
return CCGCmode;
if (m1 == CCZmode && (m2 == CCGCmode || m2 == CCGOCmode))
if ((m1 == CCNOmode && m2 == CCGOCmode)
|| (m1 == CCGOCmode && m2 == CCNOmode))
return CCNOmode;
if (m1 == CCZmode
&& (m2 == CCGCmode || m2 == CCGOCmode || m2 == CCNOmode))
return m2;
else if (m2 == CCZmode && (m1 == CCGCmode || m1 == CCGOCmode))
else if (m2 == CCZmode
&& (m1 == CCGCmode || m1 == CCGOCmode || m1 == CCNOmode))
return m1;
switch (m1)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment