RFA: New builtin SIMD types
Andrew Cagney
ac131313@cygnus.com
Mon Nov 22 16:58:00 GMT 1999
Jim Blandy wrote:
>
> These are types that an architecture's REGISTER_VIRTUAL_TYPE macro can
> use for its SIMD registers. As the comment explains, the names are
> inherited from GCC.
BTW,
I sometimes wonder if there should be a REGISTER_VIRTUAL_NAME() so that
the 1:1 between physical and virtual register names is broken.
> ***************
> *** 2968,2973 ****
> --- 2972,2985 ----
> /* Build SIMD types. */
> builtin_type_v4sf
> = init_simd_type ("__builtin_v4sf", builtin_type_float, "f", 4);
> + builtin_type_v4si
> + = init_simd_type ("__builtin_v4si", builtin_type_int32, "f", 4);
> + builtin_type_v8qi
> + = init_simd_type ("__builtin_v8qi", builtin_type_int8, "f", 8);
> + builtin_type_v4hi
> + = init_simd_type ("__builtin_v4hi", builtin_type_int16, "f", 4);
> + builtin_type_v2si
> + = init_simd_type ("__builtin_v2si", builtin_type_int32, "f", 2);
Looks like it's time for float types equivalent to the int32 et.al.
types. I've got to add some address types so I might add those as well
:-)
Andrew
More information about the Gdb-patches
mailing list