diff options
author | Nick Foster <nick@ettus.com> | 2011-06-06 10:27:52 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-06-14 17:27:46 -0700 |
commit | 179505fd5b5cefa11eaf7d159506c921af725855 (patch) | |
tree | 7a749a987beb1a150859bfc7d098b6951410dbf8 /host/lib/convert/convert_orc.orc | |
parent | 00ee732c00fa74054117ef703afa1bf30bf53f50 (diff) | |
download | uhd-179505fd5b5cefa11eaf7d159506c921af725855.tar.gz uhd-179505fd5b5cefa11eaf7d159506c921af725855.tar.bz2 uhd-179505fd5b5cefa11eaf7d159506c921af725855.zip |
use temp vars in sc16->item32 to make orcc happy
Diffstat (limited to 'host/lib/convert/convert_orc.orc')
-rw-r--r-- | host/lib/convert/convert_orc.orc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/host/lib/convert/convert_orc.orc b/host/lib/convert/convert_orc.orc index 78718d229..5450bf4db 100644 --- a/host/lib/convert/convert_orc.orc +++ b/host/lib/convert/convert_orc.orc @@ -49,13 +49,15 @@ x2 mulf dst, tmp2, scalar .function _convert_sc16_1_to_item32_1_nswap_orc .source 4 src .dest 4 dst +.temp 4 tmp .floatparam 4 scalar -swapl dst, src -x2 swapw dst, dst +swapl tmp, src +x2 swapw dst, tmp .function _convert_item32_1_to_sc16_1_nswap_orc .source 4 src .dest 4 dst .floatparam 4 scalar -x2 swapw dst, src -swapl dst, dst +.temp 4 tmp +x2 swapw tmp, src +swapl dst, tmp |