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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
```
simulate_builtin_function_decl (location=255050, name=0x48b5200
"svmla_za64_vg4x1", type=0xfffff6b1cb70, function_code=31409, library_name=0x0,
attrs=0xfffff6bced80) at
/home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/langhooks.cc:781
781       if (TREE_CODE (new_decl) == FUNCTION_DECL
(gdb)
782           && fndecl_built_in_p (new_decl, function_code, BUILT_IN_MD))
(gdb)
781       if (TREE_CODE (new_decl) == FUNCTION_DECL
(gdb)
785       return decl;
(gdb) p debug_tree(new_decl)
 <function_decl 0xfffff6bd3d00 svmla_za64_vg4x1
    type <function_type 0xfffff6b1ccc0
        type <void_type 0xfffff5b30f18 void VOID
            align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0xfffff5b30f18
            pointer_to_this <pointer_type 0xfffff5b30fc0>>
        SI
        size <integer_cst 0xfffff5a113b0 constant 32>
        unit-size <integer_cst 0xfffff5a113c8 constant 4>
        align:32 warn_if_not_align:0 symtab:0 alias-set -1 structural-equality
        attributes <tree_list 0xfffff6b2af78
            purpose <tree_list 0xfffff6b2af50
                purpose <identifier_node 0xfffff5e74cc0 arm
                    normal local bindings <(nil)>>
                value <identifier_node 0xfffff5e74d00 streaming
                    normal local bindings <(nil)>>>
            chain <tree_list 0xfffff6b2af28
                purpose <tree_list 0xfffff6b2af00 purpose <identifier_node
0xfffff5e74cc0 arm>
                    value <identifier_node 0xfffff5a73280 inout
                        normal local bindings <(nil)>>>
                value <tree_list 0xfffff6b2ade8
                    value <string_cst 0xfffff69934f8 constant "za\000">>>>
        arg-types <tree_list 0xfffff6b2ad70 value <integer_type 0xfffff5b30690
unsigned int>
            chain <tree_list 0xfffff6b2ad48 value <vector_type 0xfffff5e57620
svint16_t>
                chain <tree_list 0xfffff6b2ad20 value <vector_type
0xfffff5e57620 svint16_t>
                    chain <tree_list 0xfffff5aa0988 value <void_type
0xfffff5b30f18 void>>>>>>
    nothrow public external built-in DI t.cc:1:21
    align:32 warn_if_not_align:0 built-in: BUILT_IN_MD:31385 context
<translation_unit_decl 0xfffff5b20000 t.cc>
    attributes <tree_list 0xfffff6bcd2a0
        purpose <identifier_node 0xfffff5a76780 nothrow
            normal local bindings <(nil)>>
        chain <tree_list 0xfffff6bcd278
            purpose <identifier_node 0xfffff5a767c0 leaf
                normal local bindings <(nil)>>>>
    full-name "void svmla_za64_vg4x1(unsigned int, svint16_t, svint16_t)" chain
<function_decl 0xfffff6bd3c00 svmla_za64_s16_vg4x1>>
$2 = void
(gdb) p function_code
$3 = 31409
```


There seems like there are 2 builtins for svmla_za64_vg4x1 ....

Reply via email to