From 08cf96df0ea3a5b8e3d60942c7ed61370900f9b6 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Tue, 15 Jan 2002 19:38:19 +0000 Subject: 2002-01-15 Elena Zannoni [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/rs6000-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/rs6000-tdep.c') diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 147524d..29180c3 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -1550,7 +1550,7 @@ rs6000_register_virtual_type (int n) return builtin_type_int64; break; case 16: - return builtin_type_int128; + return builtin_type_vec128; break; default: return builtin_type_int32; -- cgit v1.1