Revision: 56826
http://sourceforge.net/p/brlcad/code/56826
Author: brlcad
Date: 2013-08-14 04:54:00 +0000 (Wed, 14 Aug 2013)
Log Message:
-----------
address !!! comment, which looks like dummy data injection to help prefetching
data not cause a stall. testing showed impact was nominal but probably because
we lost some coherency earlier.
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/bot/tie.c
Modified: brlcad/trunk/src/librt/primitives/bot/tie.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bot/tie.c 2013-08-14 04:38:37 UTC (rev
56825)
+++ brlcad/trunk/src/librt/primitives/bot/tie.c 2013-08-14 04:54:00 UTC (rev
56826)
@@ -100,7 +100,11 @@
tri->v[0] = v1.v[i2] - tri->data[0].v[i2];
tri->v[1] = v2.v[i2] - tri->data[0].v[i2];
- /* !!! what? no entiendo. */
+ /* looks like this is intentionally injected to give the
+ * compiler something to do if/while v1 and tri->data are
+ * preloaded, instead of just getting set in the preceding
+ * conditional above.
+ */
if (i1 == 0 && i2 == 1)
tri->b = tri->b + 2;
else if (i1 == 0)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits