2002-01-15 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 15 Jan 2002 19:38:19 +0000 (19:38 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 15 Jan 2002 19:38:19 +0000 (19:38 +0000)
commit08cf96df0ea3a5b8e3d60942c7ed61370900f9b6
tree769249f8a7bc958b05519a960447d54859b58b2a
parent7064928b6295155c6364b49a96cccb5362711154
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.
gdb/ChangeLog
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/rs6000-tdep.c