diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-01-15 19:38:19 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-01-15 19:38:19 +0000 |
commit | 8a7233b2fc4e4263810445455ff408c9b0c0f04f (patch) | |
tree | 1118f022c806e8ec71aa1ae363c535c8372dd8c0 /gdb/gdbtypes.h | |
parent | 44ef274f79871e2986179b91a6bda7db66e39344 (diff) | |
download | gdb-8a7233b2fc4e4263810445455ff408c9b0c0f04f.tar.gz |
2002-01-15 Elena Zannoni <ezannoni@redhat.com>
[Based on work by Jim Blandy]
* gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
(builtin_type_vec128): Export.
* gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
types.
(builtin_type_vec128): New builtin type for 128 bit vector
registers.
(build_gdbtypes): Initialize builtin_type_v16qi and
builtin_type_v8hi. Create the vec128 register builtin type
structure.
(build_builtin_type_vec128): New function.
(_initialize_gdbtypes): Register builtin_type_v16qi and
builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
* rs6000-tdep.c (rs6000_register_virtual_type): Change type of
AltiVec register to new builtin type.
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r-- | gdb/gdbtypes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 25676457cb3..8ceed9d7940 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -946,10 +946,15 @@ extern struct type *builtin_type_uint128; /* SIMD types. We inherit these names from GCC. */ extern struct type *builtin_type_v4sf; extern struct type *builtin_type_v4si; +extern struct type *builtin_type_v16qi; extern struct type *builtin_type_v8qi; +extern struct type *builtin_type_v8hi; extern struct type *builtin_type_v4hi; extern struct type *builtin_type_v2si; +/* Type for 128 bit vectors. */ +extern struct type *builtin_type_vec128; + /* Explicit floating-point formats. See "floatformat.h". */ extern struct type *builtin_type_ieee_single_big; extern struct type *builtin_type_ieee_single_little; |