diff options
author | Barry Wardell <barry.wardell@gmail.com> | 2011-06-18 23:46:31 +0200 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-06-19 22:22:28 +0200 |
commit | 5aabf352af333e3ef20c031f42beeafee2c4f07c (patch) | |
tree | 46c9485eaf06940e84bd70d9459c5784022ca4e2 /Tools/CodeGen/Kranc.m | |
parent | dc3d67b7737e12fae5a9102b0980fbdba37878b1 (diff) |
Add Scalar[] which can be used to prevent vectorisation and use it for tests in conditionals. Also add a couple more simplification rules for the vectorisation.
Diffstat (limited to 'Tools/CodeGen/Kranc.m')
-rw-r--r-- | Tools/CodeGen/Kranc.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/CodeGen/Kranc.m b/Tools/CodeGen/Kranc.m index a9c9a0d..3606a74 100644 --- a/Tools/CodeGen/Kranc.m +++ b/Tools/CodeGen/Kranc.m @@ -22,7 +22,7 @@ BeginPackage["Kranc`"]; (* CodeGen.m *) -{INV, SQR, CUB, QAD, IfThen, ToReal, sqrt, exp, pow, fmax, fmin, +{INV, SQR, CUB, QAD, IfThen, Scalar, ToReal, sqrt, exp, pow, fmax, fmin, kmadd, kmsub, knmadd, knmsub, kpos, kneg, kadd, ksub, kmul, kdiv, kfabs, kfmax, kfmin, ksqrt, kexp, klog, kpow, dir1, dir2, dir3, dt, dx, dy, dz, |