From 97ee4acfa1cd2c1ce9fec183500afadb9f99300a Mon Sep 17 00:00:00 2001 From: eb Date: Tue, 2 Oct 2007 21:32:19 +0000 Subject: 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 --- gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnuradio-core/src/lib/general') 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; -- cgit