aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Carbonetto2017-05-28 10:49:45 -0500
committerPeter Carbonetto2017-05-28 10:49:45 -0500
commit7c5767db7138c2ced3715d5504c050650b8f3544 (patch)
treea20a8417e78505c5c7ab7119dd1c9d81f0671666 /src
parent338bf7b7db8805515597d9e2d4b5dcbe2e40dfd1 (diff)
downloadpangemma-7c5767db7138c2ced3715d5504c050650b8f3544.tar.gz
Fixed d2f.sh; created new Makefile for single-precision floats.
Diffstat (limited to 'src')
-rwxr-xr-x[-rw-r--r--]src/d2f.sh30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/d2f.sh b/src/d2f.sh
index 8267ee3..d3252e0 100644..100755
--- a/src/d2f.sh
+++ b/src/d2f.sh
@@ -5,21 +5,21 @@ do
for extension in cpp h
do
cp ${prefix}.${extension} ${prefix}_float.${extension}
-sed -i .bak 's/_vector_/_vector_float_/g' ${prefix}_float.${extension}
-sed -i .bak 's/_vector /_vector_float /g' ${prefix}_float.${extension}
-sed -i .bak 's/_matrix_/_matrix_float_/g' ${prefix}_float.${extension}
-sed -i .bak 's/_matrix /_matrix_float /g' ${prefix}_float.${extension}
-sed -i .bak 's/ddot/dsdot/g' ${prefix}_float.${extension}
-sed -i .bak 's/dtrsv/strsv/g' ${prefix}_float.${extension}
-sed -i .bak 's/dtrsy/strsy/g' ${prefix}_float.${extension}
-sed -i .bak 's/dgemm/sgemm/g' ${prefix}_float.${extension}
-sed -i .bak 's/dgemv/sgemv/g' ${prefix}_float.${extension}
-sed -i .bak 's/dsyr/ssyr/g' ${prefix}_float.${extension}
-sed -i .bak 's/dsyr2/ssyr2/g' ${prefix}_float.${extension}
-sed -i .bak 's/ddot/sdot/g' ${prefix}_float.${extension}
-sed -i .bak 's/dger/sger/g' ${prefix}_float.${extension}
-sed -i .bak 's/dsyrk/ssyrk/g' ${prefix}_float.${extension}
-sed -i .bak 's/daxpy/saxpy/g' ${prefix}_float.${extension}
+sed -i.bak 's/_vector_/_vector_float_/g' ${prefix}_float.${extension}
+sed -i.bak 's/_vector /_vector_float /g' ${prefix}_float.${extension}
+sed -i.bak 's/_matrix_/_matrix_float_/g' ${prefix}_float.${extension}
+sed -i.bak 's/_matrix /_matrix_float /g' ${prefix}_float.${extension}
+sed -i.bak 's/ddot/dsdot/g' ${prefix}_float.${extension}
+sed -i.bak 's/dtrsv/strsv/g' ${prefix}_float.${extension}
+sed -i.bak 's/dtrsy/strsy/g' ${prefix}_float.${extension}
+sed -i.bak 's/dgemm/sgemm/g' ${prefix}_float.${extension}
+sed -i.bak 's/dgemv/sgemv/g' ${prefix}_float.${extension}
+sed -i.bak 's/dsyr/ssyr/g' ${prefix}_float.${extension}
+sed -i.bak 's/dsyr2/ssyr2/g' ${prefix}_float.${extension}
+sed -i.bak 's/ddot/sdot/g' ${prefix}_float.${extension}
+sed -i.bak 's/dger/sger/g' ${prefix}_float.${extension}
+sed -i.bak 's/dsyrk/ssyrk/g' ${prefix}_float.${extension}
+sed -i.bak 's/daxpy/saxpy/g' ${prefix}_float.${extension}
rm ${prefix}_float.${extension}.bak
done
done