Skip to content

Commit

Permalink
Simplify ARM32 float simd emulation
Browse files Browse the repository at this point in the history
Byte code is aligned now, so no conversion is needed.

Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
  • Loading branch information
Zoltan Herczeg committed Nov 6, 2023
1 parent a899ce5 commit bf80e67
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 262 deletions.
3 changes: 2 additions & 1 deletion src/interpreter/ByteCode.h
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,9 @@ class Const128 : public ByteCode {
#endif

protected:
ByteCodeStackOffset m_dstOffset;
// Value should be the first member to ensure pointer alignment.
uint8_t m_value[16];
ByteCodeStackOffset m_dstOffset;
};

// dummy ByteCode for binary operation
Expand Down
Loading

0 comments on commit bf80e67

Please sign in to comment.