public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/113572] [14 Regression] aarch64: internal compiler error in aarch64_sve::vector_cst_all_same
Date: Wed, 24 Jan 2024 02:59:11 +0000	[thread overview]
Message-ID: <bug-113572-4-K1Y6NnhlmB@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-113572-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
#6  0x00000000015646e1 in aarch64_sve::vector_cst_all_same (v=0x7ffff6be4d20,
step=8) at ../../gcc/config/aarch64/aarch64-sve-builtins.cc:3477
3477        if (!operand_equal_p (VECTOR_CST_ENCODED_ELT (v, i), first_el, 0))
(gdb) p v
$1 = (tree) 0x7ffff6be4d20
(gdb) p debug_tree(v)
 <vector_cst 0x7ffff6be4d20
    type <vector_type 0x7ffff72f5bd0 __SVBool_t
        type <boolean_type 0x7ffff72f5d20 public QI
            size <integer_cst 0x7ffff741e048 constant 8>
            unit-size <integer_cst 0x7ffff741e060 constant 1>
            align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff72f5d20 precision:1 min <integer_cst 0x7ffff756b6c0 -1> max <integer_cst
0x7ffff756b8d0 0>>
        VNx16BI
        size <poly_int_cst 0x7ffff72d9e80 type <integer_type 0x7ffff741c0a8
bitsizetype>
            constant
            elt0: <integer_cst 0x7ffff741e108 constant 16> elt1: <integer_cst
0x7ffff741e108 16>>
        unit-size <poly_int_cst 0x7ffff72d9e40 type <integer_type
0x7ffff741c000 sizetype>
            constant
            elt0: <integer_cst 0x7ffff741e120 constant 2> elt1: <integer_cst
0x7ffff741e120 2>>
        align:16 warn_if_not_align:0 symtab:0 alias-set -1 structural-equality
        attributes <tree_list 0x7ffff72fa5f0
            purpose <identifier_node 0x7ffff72f9b40 SVE type>
            value <tree_list 0x7ffff72fa5c8
                value <integer_cst 0x7ffff7402f78 constant 0>
                chain <tree_list 0x7ffff72fa5a0 value <integer_cst
0x7ffff741e060 1>
                    chain <tree_list 0x7ffff72fa578
                        value <identifier_node 0x7ffff72f9aa0 u10__SVBool_t>
                        chain <tree_list 0x7ffff72fa550 value <identifier_node
0x7ffff72f9af0 svbool_t>>>>>
            chain <tree_list 0x7ffff72fa528
                purpose <identifier_node 0x7ffff72f9a50 SVE sizeless type>>>
nunits:[16,16]>
    constant npatterns:1 nelts-per-pattern:2
    elt:0:  <integer_cst 0x7ffff756b6c0 type <boolean_type 0x7ffff72f5d20>
constant -1>
    elt:1:  <integer_cst 0x7ffff756b8d0 type <boolean_type 0x7ffff72f5d20>
constant 0>>
$2 = void
(gdb) p i
$3 = 8

(gdb) p debug_generic_expr(v)
{ -1, 0, ... }


I don't understand what this constant even means. Is it `-1,0` alternating or
is it `-1, 0,` followed by many 0s?

  parent reply	other threads:[~2024-01-24  2:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-24  2:13 [Bug target/113572] New: " mpolacek at gcc dot gnu.org
2024-01-24  2:39 ` [Bug target/113572] [14 Regression] " pinskia at gcc dot gnu.org
2024-01-24  2:51 ` mpolacek at gcc dot gnu.org
2024-01-24  2:59 ` pinskia at gcc dot gnu.org [this message]
2024-01-24  6:49 ` jakub at gcc dot gnu.org
2024-01-24 20:04 ` jakub at gcc dot gnu.org
2024-01-24 20:36 ` rsandifo at gcc dot gnu.org
2024-01-25 12:03 ` cvs-commit at gcc dot gnu.org
2024-01-25 12:10 ` rsandifo at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-113572-4-K1Y6NnhlmB@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).