From beddbd6b87f50dca87b9462bf3c02320470db257 Mon Sep 17 00:00:00 2001 From: eschnett Date: Sun, 5 Feb 2012 19:50:39 +0000 Subject: Correct partial vector stores git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/Vectors/trunk@48 105869f7-3296-0410-a4ea-f4349344b45a --- src/vectors-8-SSE2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vectors-8-SSE2.h b/src/vectors-8-SSE2.h index fe231b7..9856920 100644 --- a/src/vectors-8-SSE2.h +++ b/src/vectors-8-SSE2.h @@ -142,7 +142,7 @@ // Store a partial vector (aligned and non-temporal) #define vec8_store_partial_prepare(i,imin,imax) \ bool const v8stp_lo = (i)>=(imin); \ - bool const v8stp_hi = (i)+CCTK_REAL_VEC_SIZE<(imax) + bool const v8stp_hi = (i)+CCTK_REAL_VEC_SIZE-1<(imax) #if VECTORISE_STREAMING_STORES && defined(__SSE4A__) # define vec8_store_nta_partial(p,x) \ ({ \ -- cgit v1.2.3