summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2005-05-06 23:16:59 +0000
committerDavid Schleef <ds@schleef.org>2005-05-06 23:16:59 +0000
commit780ba4be951d4a1d075dde750900fca414d78bfe (patch)
treebb7f06c29d45b687afec7f227d58ad85899cc6ed /examples
parentabe0870feae5d00ae27ee7b671eff5962f59110a (diff)
downloadliboil-780ba4be951d4a1d075dde750900fca414d78bfe.tar.gz
* doc/xml/liboilfunction.xml: update
* examples/report.c: (oil_print_class): print whether fastest implementation is due to alternate optimization flags * liboil/copy/splat_ref.c: (splat_u8_ns_ref), (splat_u32_ns_ref), (splat_u32_ns_unroll2), (splat_u8_ns_memset), (splat_u8_ns_int): Add new splat classes * liboil/copy/trans8x8_c.c: make static * liboil/copy/trans8x8_i386.c: make functions static * liboil/utf8/utf8_fast.c: make functions static * liboil/liboilcpu.c: (oil_cpu_i386_getflags_cpuid), (oil_cpu_fault_check_enable), (oil_cpu_fault_check_disable): fix up signal() fallback. Allow nested calls to check_enable(). * liboil/liboilfunction.c: (oil_optimize_all): wrap in fault check
Diffstat (limited to 'examples')
-rw-r--r--examples/report.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/report.c b/examples/report.c
index 14baca3..51eb6b8 100644
--- a/examples/report.c
+++ b/examples/report.c
@@ -147,10 +147,12 @@ static void
oil_print_class (OilFunctionClass *klass, int verbose)
{
- printf ("%-20s %-10g %-10g %-10.3g\n", klass->name,
+ printf ("%-20s %-10g %-10g %-10.3g %s\n", klass->name,
klass->reference_impl->profile_ave,
klass->chosen_impl->profile_ave,
- klass->reference_impl->profile_ave/klass->chosen_impl->profile_ave);
+ klass->reference_impl->profile_ave/klass->chosen_impl->profile_ave,
+ (klass->chosen_impl->flags & OIL_IMPL_FLAG_OPT)?"*":" "
+ );
}