Skip to content

Commit 7bf4b2e

Browse files
committed
Merge branch 'master' of jsoftware.com:jsource
2 parents 48261ad + f379f4c commit 7bf4b2e

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

jsrc/ve.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ F2(jtintdiv){A z;B b,flr;I an,ar,*as,*av,c,d,j,k,m,n,p,p1,r,*s,wn,wr,*ws,*wv,*zv
475475
_mm512_add_epi64(y,_mm512_set1_epi64(1ull<<53))),\
476476
_mm512_set1_epi64(1ull<<54))
477477
#define DIVRN(vn,vd,mode) ({ __m512d quot=_mm512_div_round_pd(_mm512_cvtepi64_pd(vn),_mm512_cvtepi64_pd(vd),_MM_FROUND_NO_EXC); /*must suppress exceptions here*/\
478-
quot=_mm512_fixupimm_pd(quot,quot,_mm512_castsi128_si512(_mm_cvtsi32_si128(0x00550088)),0xa0); /*convert nan to 0 (because we want 0%0 to be 0). Trap on -inf and inf*/\
478+
quot=_mm512_fixupimm_pd(quot,quot,_mm512_set1_epi64(0x00550088),0xa0); /*convert nan to 0 (because we want 0%0 to be 0). Trap on -inf and inf. Pass everything else through.*/\
479479
_mm512_cvt_roundpd_epi64(quot, mode|_MM_FROUND_NO_EXC); })
480480
if(1==n){
481481
#define EVEN(mode,div) \

script/testga.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ fi
7777
if [ "$(cat /proc/cpuinfo | grep -c avx512)" -ne 0 ] && [ -f "j64/libjavx512.$ext" ] ; then
7878
j64/jconsole -lib libjavx512.$ext testga.ijs
7979
elif [ -f "$SDE_PATH/sde" ] && [ -f "j64/libjavx512.$ext" ] ; then
80-
$SDE_PATH/sde -skl -- j64/jconsole -lib libjavx512.$ext testga.ijs
80+
# don't know why complaint illegal instruction for skylake
81+
# $SDE_PATH/sde -skl -- j64/jconsole -lib libjavx512.$ext testga.ijs
82+
$SDE_PATH/sde -- j64/jconsole -lib libjavx512.$ext testga.ijs
8183
fi
8284
if [ -f "j32/libj.$ext" ] ; then
8385
j32/jconsole -lib libj.$ext testga.ijs

test/gxco1.ijs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ f=: 3 : 0
849849

850850
f !20x
851851
f !30x
852-
f (QKTEST{12345678901234567890x 12345678901234x)
852+
f (QKTEST{12345678901234567890x 1234567890x)
853853

854854
18 8 4 2 1 1 1 1 -: _ q: !20x
855855
(!20x) -: */ (p: i.#x)^x:x=: _ q: !20x

0 commit comments

Comments
 (0)