[patch] Cell fixes
Jules Bergmann
jules at codesourcery.com
Fri Mar 16 15:22:38 UTC 2007
This patch
- Adds loop fusion init/fini calls before block copy uses get to
access values. This is necessary if copying from an expression
block with Return_blocks.
This is a temporary fix. The real fix is to make get/put do the
right thing for Return_blocks, that is check if the result has been
computed. In cases where get will be called multiple times that this
overhead would have an impact (such as loop fusion evaluators), an
expression tree transformation would be done to replace the return
blocks with regular blocks. However, this is a day or two of work
so I've created an issue (#132).
- Pulls additional command line arguments from the SVPP_OPT environment
variable.
export SVPP_OPTS="--svpp-num-spes 1"
./run-program
Is equiv to
./run-program --svpp-num-spes 1
I added this to run 'make check' without using all the 8 SPEs, but it
should be useful for other things as well.
- Fix Cbe dispatch for vmul to check if type is supported (some tests
were attempting to perform double and int vector-multiplies).
Patch applied, but suggestions for simplifying how arguments are pulled
from the environment are welcome!
thanks
-- Jules
--
Jules Bergmann
CodeSourcery
jules at codesourcery.com
(650) 331-3385 x705
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: misc.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20070316/ed4adecb/attachment.ksh>
More information about the vsipl++
mailing list