https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106933
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
This
diff --git a/gcc/config/i386/i386-features.cc
b/gcc/config/i386/i386-features.cc
index e357294bc4e..aca34d730a8 100644
--- a/gcc/config/i386/i386-features.cc
+++ b/gcc/config/i386/i386-features.cc
@@ -1449,6 +1449,9 @@ timode_scalar_chain::compute_convert_gain ()
break;
case COMPARE:
+ if (REG_P (XEXP (src, 0))
+ && GET_MODE (XEXP (src, 0)) == V1TImode)
+ return 1;
if (XEXP (src, 1) == const0_rtx)
{
if (GET_CODE (XEXP (src, 0)) == AND)
also works.