Skip to content
Commit 72c628e8 authored by Thomas Lively's avatar Thomas Lively
Browse files

Reland "[WebAssembly] Emulate v128.const efficiently""

This reverts commit 432e4e56, which reverted 542523a6. Two issues from
the original commit have been fixed. First, MSVC does not like when std::array
is initialized with only single braces, so this commit switches to using the
more portable double braces. Second, there was a subtle endianness bug that
prevented the original commit from working correctly on big-endian machines,
which has been fixed by switching to using endianness-agnostic bit twiddling
instead of type punning.

Differential Revision: https://reviews.llvm.org/D88773
parent b3b4cda1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment