Skip to content

Commit 8f3def1

Browse files
committed
WIP: test using only long path on arm mac too
Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
1 parent 72c541b commit 8f3def1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/jit/SimdArm64Inl.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -608,13 +608,13 @@ static void simdEmitNarrowUnsigned(sljit_compiler* compiler, sljit_s32 rd, sljit
608608
static void simdEmitDot(sljit_compiler* compiler, uint32_t type, sljit_s32 rd, sljit_s32 rn, sljit_s32 rm)
609609
{
610610
// The rd can be tmpReg1
611-
#ifdef __ARM_FEATURE_DOTPROD
612-
fprintf(stdout, "SimdArm64Inl.h: simdEmitDot: using short path\n");
613-
ASSERT_NOT_REACHED();
614-
simdEmitOp(compiler, SimdOp::sdot | type, rd, rn, rm);
615-
#else
611+
// #ifdef __ARM_FEATURE_DOTPROD
612+
// fprintf(stdout, "SimdArm64Inl.h: simdEmitDot: using short path\n");
613+
// ASSERT_NOT_REACHED();
614+
// simdEmitOp(compiler, SimdOp::sdot | type, rd, rn, rm);
615+
// #else
616616
fprintf(stdout, "SimdArm64Inl.h: simdEmitDot: using long path\n");
617-
ASSERT_NOT_REACHED();
617+
// ASSERT_NOT_REACHED();
618618
sljit_s32 tmpReg1 = SLJIT_TMP_FR0;
619619
sljit_s32 tmpReg2 = SLJIT_TMP_FR1;
620620
uint32_t lowType = type - (0x1 << SimdOp::sizeOffset);
@@ -629,7 +629,7 @@ static void simdEmitDot(sljit_compiler* compiler, uint32_t type, sljit_s32 rd, s
629629
// Combine + narrow
630630
simdEmitOp(compiler, SimdOp::xtn | type, rd, tmpReg1, 0);
631631
simdEmitOp(compiler, SimdOp::xtn | type | (0x1 << 30), rd, tmpReg2, 0);
632-
#endif
632+
// #endif
633633
}
634634

635635
static void emitBinarySIMD(sljit_compiler* compiler, Instruction* instr)

0 commit comments

Comments
 (0)