summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2002-01-25 16:21:01 (GMT)
committerRobb Matzke <matzke@llnl.gov>2002-01-25 16:21:01 (GMT)
commitb26680baee2875ceb4aabdc6df3ce85009b297b8 (patch)
treeae4def8337b923584ff2bb16ad29ce55240f7131 /src
parent6280b37279dc0ba3dacce96c8e482e8a0b97a086 (diff)
downloadhdf5-b26680baee2875ceb4aabdc6df3ce85009b297b8.zip
hdf5-b26680baee2875ceb4aabdc6df3ce85009b297b8.tar.gz
hdf5-b26680baee2875ceb4aabdc6df3ce85009b297b8.tar.bz2
[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)".
Diffstat (limited to 'src')
-rw-r--r--src/H5T.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5T.c b/src/H5T.c
index 6feed09..88c26be 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -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);