Skip to content

Commit a7f86d6

Browse files
committed
raspberry pi alignment crash
1 parent a5c5979 commit a7f86d6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

jsrc/va1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,4 +247,4 @@ DF2(jtdeadband){A zz;
247247
)
248248
RETF(zz);
249249
}
250-
#endif
250+
#endif

jsrc/va2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ DF2(jtatomic2){A z;
11981198
// singleton. we need the rank of the result
11991199
ar-=af; wr-=wf; ar=ar>wr?ar:wr; af=af>wf?af:wf; af+=ar; // set af to max len of frame, ar to max cell rank; then af=max framelen + max rank = resultrank
12001200
forcess:; // branch point for rank-0 singletons from above, always with atomic result
1201-
z=jtssingleton(jt,a,w,af+((I)FAV(self)->lc<<RANKTX)+(((I)jtinplace&3)<<24)+((3*(at>>INTX)+(wt>>INTX))<<26)); // create portmanteau parm reg
1201+
z=jtssingleton(jt,a,w,af|((I)FAV(self)->lc<<RANKTX)|(((I)jtinplace&3)<<24)|((3*(at>>INTX)+(wt>>INTX))<<26)); // create portmanteau parm reg
12021202
if(likely(z!=0)){RETF(z);} // normal case is good return; the rest is retry for singletons
12031203
if(unlikely(jt->jerr<=NEVM)){RETF(z);} // if error is unrecoverable, don't retry
12041204
// if retryable error, fall through. The retry will not be through the singleton code

0 commit comments

Comments
 (0)