summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
authoreb2007-10-02 21:32:19 +0000
committereb2007-10-02 21:32:19 +0000
commit97ee4acfa1cd2c1ce9fec183500afadb9f99300a (patch)
treea9d9f5a5da76fad23dfdb6fe1a30f0702fa30d34 /gnuradio-core/src/lib/general
parent0b0f2e10fa76e6adebf669f8a7ef1c7d15d8c5d2 (diff)
downloadgnuradio-97ee4acfa1cd2c1ce9fec183500afadb9f99300a.tar.gz
gnuradio-97ee4acfa1cd2c1ce9fec183500afadb9f99300a.tar.bz2
gnuradio-97ee4acfa1cd2c1ce9fec183500afadb9f99300a.zip
Trial fix for ticket:189, gr_mpsk_receiver_cc problem.
Added checking for SIMD alignment requirement on gr_complex (must be 8-byte aligned) so that future violations will throw an exception. Modified gr_mpsk_receiver_cc.h so that delay line being passed to gri_mmse_fir_interpolator_cc is 8-byte aligned. Added QA code for gri_mmse_fir_interpolator_cc. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6575 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib/general')
-rw-r--r--gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.h b/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.h
index f718b541e..b0ecb7c93 100644
--- a/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.h
+++ b/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.h
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2004 Free Software Foundation, Inc.
+ * Copyright 2004,2007 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -297,7 +297,7 @@ protected:
static const unsigned int DLLEN = 8;
//! delay line plus some length for overflow protection
- gr_complex d_dl[2*DLLEN];
+ gr_complex d_dl[2*DLLEN] __attribute__ ((aligned(8)));
//! index to delay line
unsigned int d_dl_idx;