summaryrefslogtreecommitdiff
path: root/volk/lib/qa_16s_permute_and_scalar_add_aligned16.cc
diff options
context:
space:
mode:
authorJohnathan Corgan2011-07-08 10:23:31 -0700
committerJohnathan Corgan2011-07-08 10:23:31 -0700
commit666cd2dd6818fb66e538fa52957f3a23d68e7b94 (patch)
tree93a5240422a410d380cf11488097a2a871b8a2be /volk/lib/qa_16s_permute_and_scalar_add_aligned16.cc
parent5938a37512ec66872adf28b260cb1d2bfefa9602 (diff)
parent9bfe75fd7c6a7069db2d2a98195faabf6ba248e2 (diff)
downloadgnuradio-666cd2dd6818fb66e538fa52957f3a23d68e7b94.tar.gz
gnuradio-666cd2dd6818fb66e538fa52957f3a23d68e7b94.tar.bz2
gnuradio-666cd2dd6818fb66e538fa52957f3a23d68e7b94.zip
Merged jblum/new_volk into master
Diffstat (limited to 'volk/lib/qa_16s_permute_and_scalar_add_aligned16.cc')
-rw-r--r--volk/lib/qa_16s_permute_and_scalar_add_aligned16.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/volk/lib/qa_16s_permute_and_scalar_add_aligned16.cc b/volk/lib/qa_16s_permute_and_scalar_add_aligned16.cc
index 819b2256b..3cd4e906d 100644
--- a/volk/lib/qa_16s_permute_and_scalar_add_aligned16.cc
+++ b/volk/lib/qa_16s_permute_and_scalar_add_aligned16.cc
@@ -23,15 +23,15 @@ void qa_16s_permute_and_scalar_add_aligned16::t1() {
clock_t start, end;
double total;
- short target[vlen] __attribute__ ((aligned (16)));
- short target2[vlen] __attribute__ ((aligned (16)));
- short src0[vlen] __attribute__ ((aligned (16)));
- short permute_indexes[vlen] __attribute__ ((aligned (16)));
- short cntl0[vlen] __attribute__ ((aligned (16)));
- short cntl1[vlen] __attribute__ ((aligned (16)));
- short cntl2[vlen] __attribute__ ((aligned (16)));
- short cntl3[vlen] __attribute__ ((aligned (16)));
- short scalars[4] __attribute__ ((aligned (16))) = {1, 2, 3, 4};
+ __VOLK_ATTR_ALIGNED(16) short target[vlen];
+ __VOLK_ATTR_ALIGNED(16) short target2[vlen];
+ __VOLK_ATTR_ALIGNED(16) short src0[vlen];
+ __VOLK_ATTR_ALIGNED(16) short permute_indexes[vlen];
+ __VOLK_ATTR_ALIGNED(16) short cntl0[vlen];
+ __VOLK_ATTR_ALIGNED(16) short cntl1[vlen];
+ __VOLK_ATTR_ALIGNED(16) short cntl2[vlen];
+ __VOLK_ATTR_ALIGNED(16) short cntl3[vlen];
+ __VOLK_ATTR_ALIGNED(16) short scalars[4] = {1, 2, 3, 4};
for(int i = 0; i < vlen; ++i) {
src0[i] = i;