Message ID | mptcyx4qqtz.fsf@arm.com |
---|---|
State | New |
Headers | show |
Series | [pushed] i386: Fix unprotected REGNO in aeswidekl_operation | expand |
diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index ef49efdbde5..e3d55f0c502 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -2260,6 +2260,7 @@ (define_predicate "aeswidekl_operation" || GET_CODE (SET_SRC (elt)) != UNSPEC_VOLATILE || GET_MODE (SET_SRC (elt)) != V2DImode || XVECLEN (SET_SRC (elt), 0) != 1 + || !REG_P (XVECEXP (SET_SRC (elt), 0, 0)) || REGNO (XVECEXP (SET_SRC (elt), 0, 0)) != GET_SSE_REGNO (i)) return false; }