https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104662

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Christophe Lyon from comment #1)
> --- a/gcc/config/arm/arm.cc
> +++ b/gcc/config/arm/arm.cc
> @@ -12811,6 +12811,9 @@ simd_valid_immediate (rtx op, machine_mode mode, int
> inverse,
>           || n_elts * innersize != 16))
>      return -1;
>  
> +  if (!TARGET_HAVE_MVE && (GET_MODE_CLASS (mode) == MODE_VECTOR_BOOL))
> +         return -1;
> +
>    /* Vectors of float constants.  */
>    if (GET_MODE_CLASS (mode) == MODE_VECTOR_FLOAT)
>      {

Formatting, wrong indentation of return -1; and useless ()s around the ==.

Reply via email to