diff options
author | eschnett <eschnett@105869f7-3296-0410-a4ea-f4349344b45a> | 2012-02-05 19:50:39 +0000 |
---|---|---|
committer | eschnett <eschnett@105869f7-3296-0410-a4ea-f4349344b45a> | 2012-02-05 19:50:39 +0000 |
commit | beddbd6b87f50dca87b9462bf3c02320470db257 (patch) | |
tree | b1ef2a571d13580690999aba82716a08c97c42c4 | |
parent | 746a81a4430a69c5a09a509f8e5a85fbffb17305 (diff) |
Correct partial vector stores
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/Vectors/trunk@48 105869f7-3296-0410-a4ea-f4349344b45a
-rw-r--r-- | src/vectors-8-SSE2.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) \ ({ \ |