[svn-r4861] ./hdf5-devel/src/H5T.c

More optimizing for byte order conversion. Mostly just making code
easier to follow by simplifying Duff's device coding of the loops.

I also split the conversion function into two functions with different
names so output from H5T debugging indicates whether the optimized or
unoptimized case was invoked.

2002-01-25 10:47:13 Robb Matzke  <matzke@arborea.spizella.com>
	* H5T_init_interface: Registered conversion function H5T_conv_order_opt() under two
	   names. H5T debugging will report the conversion
	   function as either "ibo(opt)" or "fbo(opt)".
This commit is contained in:
Robb Matzke 2002-01-25 11:21:01 -05:00
parent 6280b37279
commit b26680baee

View File

@ -1761,7 +1761,9 @@ H5T_init_interface(void)
status |= H5T_register(H5T_PERS_SOFT, "s_s", string, string, H5T_conv_s_s);
status |= H5T_register(H5T_PERS_SOFT, "b_b", bitfield, bitfield, H5T_conv_b_b);
status |= H5T_register(H5T_PERS_SOFT, "ibo", fixedpt, fixedpt, H5T_conv_order);
status |= H5T_register(H5T_PERS_SOFT, "ibo(opt)", fixedpt, fixedpt, H5T_conv_order_opt);
status |= H5T_register(H5T_PERS_SOFT, "fbo", floatpt, floatpt, H5T_conv_order);
status |= H5T_register(H5T_PERS_SOFT, "fbo(opt)", floatpt, floatpt, H5T_conv_order_opt);
status |= H5T_register(H5T_PERS_SOFT, "struct(no-opt)", compound, compound, H5T_conv_struct);
status |= H5T_register(H5T_PERS_SOFT, "struct(opt)", compound, compound, H5T_conv_struct_opt);
status |= H5T_register(H5T_PERS_SOFT, "enum", enum_type, enum_type, H5T_conv_enum);