TYPE_FLAGS.
* features/rs6000/powerpc-vsx32l.c
(initialize_tdesc_powerpc_vsx32l): Update.
* features/rs6000/powerpc-vsx32.c
(initialize_tdesc_powerpc_vsx32): Update.
* features/rs6000/powerpc-vsx64.c
(initialize_tdesc_powerpc_vsx64): Update.
* features/rs6000/powerpc-vsx64l.c
(initialize_tdesc_powerpc_vsx64l): Update.
* target-descriptions.c (maint_print_c_tdesc_cmd): Emit
TYPE_VECTOR, not TYPE_FLAGS.
+2008-08-24 Tom Tromey <tromey@redhat.com>
+
+ * rs6000-tdep.c (rs6000_builtin_type_vec128): Don't use
+ TYPE_FLAGS.
+ * features/rs6000/powerpc-vsx32l.c
+ (initialize_tdesc_powerpc_vsx32l): Update.
+ * features/rs6000/powerpc-vsx32.c
+ (initialize_tdesc_powerpc_vsx32): Update.
+ * features/rs6000/powerpc-vsx64.c
+ (initialize_tdesc_powerpc_vsx64): Update.
+ * features/rs6000/powerpc-vsx64l.c
+ (initialize_tdesc_powerpc_vsx64l): Update.
+ * target-descriptions.c (maint_print_c_tdesc_cmd): Emit
+ TYPE_VECTOR, not TYPE_FLAGS.
+
2008-08-24 Tom Tromey <tromey@redhat.com>
* xml-tdesc.c (tdesc_end_union): Update.
append_composite_type_field (type, xstrdup ("v8_int16"), field_type);
field_type = tdesc_named_type (feature, "v16i8");
append_composite_type_field (type, xstrdup ("v16_int8"), field_type);
- TYPE_FLAGS (type) |= TYPE_FLAG_VECTOR;
+ TYPE_VECTOR (type) = 1;
tdesc_record_type (feature, type);
tdesc_create_reg (feature, "vr0", 71, 1, NULL, 128, "vec128");
append_composite_type_field (type, xstrdup ("v8_int16"), field_type);
field_type = tdesc_named_type (feature, "v16i8");
append_composite_type_field (type, xstrdup ("v16_int8"), field_type);
- TYPE_FLAGS (type) |= TYPE_FLAG_VECTOR;
+ TYPE_VECTOR (type) = 1;
tdesc_record_type (feature, type);
tdesc_create_reg (feature, "vr0", 73, 1, NULL, 128, "vec128");
append_composite_type_field (type, xstrdup ("v8_int16"), field_type);
field_type = tdesc_named_type (feature, "v16i8");
append_composite_type_field (type, xstrdup ("v16_int8"), field_type);
- TYPE_FLAGS (type) |= TYPE_FLAG_VECTOR;
+ TYPE_VECTOR (type) = 1;
tdesc_record_type (feature, type);
tdesc_create_reg (feature, "vr0", 71, 1, NULL, 128, "vec128");
append_composite_type_field (type, xstrdup ("v8_int16"), field_type);
field_type = tdesc_named_type (feature, "v16i8");
append_composite_type_field (type, xstrdup ("v16_int8"), field_type);
- TYPE_FLAGS (type) |= TYPE_FLAG_VECTOR;
+ TYPE_VECTOR (type) = 1;
tdesc_record_type (feature, type);
tdesc_create_reg (feature, "vr0", 73, 1, NULL, 128, "vec128");
append_composite_type_field (t, "v16_int8",
init_vector_type (builtin_type_int8, 16));
- TYPE_FLAGS (t) |= TYPE_FLAG_VECTOR;
+ TYPE_VECTOR (t) = 1;
TYPE_NAME (t) = "ppc_builtin_type_vec128";
tdep->ppc_builtin_type_vec128 = t;
}
}
if (TYPE_VECTOR (type))
printf_unfiltered
- (" TYPE_FLAGS (type) |= TYPE_FLAG_VECTOR;\n");
+ (" TYPE_VECTOR (type) = 1;\n");
break;
default:
error (_("C output is not supported type \"%s\"."), TYPE_NAME (type));