aboutsummaryrefslogtreecommitdiff
path: root/fixtest/fixtest.layout
diff options
context:
space:
mode:
authorflatmush <flatmush@d3e1167c-abe1-51d5-8199-f9061ebe54e4>2011-02-24 16:23:50 +0000
committerflatmush <flatmush@d3e1167c-abe1-51d5-8199-f9061ebe54e4>2011-02-24 16:23:50 +0000
commitd3482256c277dff8cd6243dae0f72df1a4c676d3 (patch)
treefb34a3f7ac03243e55f7cc3053e48c596a490e17 /fixtest/fixtest.layout
parent0e06a1e8b7fe9bb31437d8612d62bee85df2e43f (diff)
downloadlibfixmath-d3482256c277dff8cd6243dae0f72df1a4c676d3.tar.gz
Added a small program called fixtest which currently tests performance and average error on x86 platforms, currently it produces quite wildly varying results depending on the input values.
The average error seems to vary between 3-8%, it's possible that setting iter to a higher value (and pass to a lower one) could give a more stable value. Fixed point seems to be slower overall on x86 (50% of float) with good floating point hardware, however with the caching enabled depending on the program the fixed point implementation may be much faster (as float would be if cached). With caching enabled there is a massive difference between and iter size below and above 4096, this is because the caching mechanism thrashes above this threshold, it probably makes sense to disable caching for these tests by compiling libfixmath with FIXMATH_NO_CACHE.
Diffstat (limited to 'fixtest/fixtest.layout')
-rw-r--r--fixtest/fixtest.layout13
1 files changed, 13 insertions, 0 deletions
diff --git a/fixtest/fixtest.layout b/fixtest/fixtest.layout
new file mode 100644
index 0000000..6606349
--- /dev/null
+++ b/fixtest/fixtest.layout
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_layout_file>
+ <ActiveTarget name="dbg" />
+ <File name="hiclock.c" open="1" top="0" tabpos="3">
+ <Cursor position="520" topLine="0" />
+ </File>
+ <File name="hiclock.h" open="1" top="0" tabpos="2">
+ <Cursor position="578" topLine="0" />
+ </File>
+ <File name="main.c" open="1" top="1" tabpos="1">
+ <Cursor position="139" topLine="30" />
+ </File>
+</CodeBlocks_layout_file>