Skip to content

Commit

Permalink
Update missing simd instructions
Browse files Browse the repository at this point in the history
Signed-off-by: HyukWoo Park <[email protected]>
  • Loading branch information
clover2123 authored and ksh8281 committed Jun 12, 2024
1 parent 28fe509 commit 80fa005
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/interpreter/ByteCode.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ class FunctionType;
F(I8X16MinU, intMin, uint8_t, uint8_t) \
F(I8X16MaxS, intMax, int8_t, int8_t) \
F(I8X16MaxU, intMax, uint8_t, uint8_t) \
F(I8X16AvgrU, intAvgr, uint8_t, uint8_t) \
F(I16X8Eq, eqMask, uint16_t, uint16_t) \
F(I16X8Ne, neMask, uint16_t, uint16_t) \
F(I16X8LtS, ltMask, int16_t, int16_t) \
Expand All @@ -302,6 +303,7 @@ class FunctionType;
F(I16X8MinU, intMin, uint16_t, uint16_t) \
F(I16X8MaxS, intMax, int16_t, int16_t) \
F(I16X8MaxU, intMax, uint16_t, uint16_t) \
F(I16X8AvgrU, intAvgr, uint16_t, uint16_t) \
F(I32X4Eq, eqMask, uint32_t, uint32_t) \
F(I32X4Ne, neMask, uint32_t, uint32_t) \
F(I32X4LtS, ltMask, int32_t, int32_t) \
Expand Down Expand Up @@ -385,6 +387,7 @@ class FunctionType;
#define FOR_EACH_BYTECODE_SIMD_UNARY_OP(F) \
F(I8X16Neg, intNeg, uint8_t) \
F(I8X16Abs, intAbs, uint8_t) \
F(I8X16Popcnt, intPopcnt, uint8_t) \
F(I16X8Neg, intNeg, uint16_t) \
F(I16X8Abs, intAbs, uint16_t) \
F(I32X4Neg, intNeg, uint32_t) \
Expand Down
1 change: 1 addition & 0 deletions src/jit/ByteCodeParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1863,6 +1863,7 @@ static void compileFunction(JITCompiler* compiler)
break;
}
default: {
ASSERT_NOT_REACHED();
break;
}
}
Expand Down

0 comments on commit 80fa005

Please sign in to comment.