summaryrefslogtreecommitdiff
path: root/test/example/cpp-threads.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-07-31 15:45:47 -0700
committerGitHub <noreply@github.com>2020-07-31 15:45:47 -0700
commitae56f9919a7263c7f8df00f0552ee0f302f8d286 (patch)
treea9e970b286be3ab20fa8bd8e4e418e81582a2320 /test/example/cpp-threads.cpp
parentd09c607ff2f2c264546b7d4ea3593ae75a037750 (diff)
downloadbinaryen-ae56f9919a7263c7f8df00f0552ee0f302f8d286.tar.gz
binaryen-ae56f9919a7263c7f8df00f0552ee0f302f8d286.tar.bz2
binaryen-ae56f9919a7263c7f8df00f0552ee0f302f8d286.zip
AlignmentLowering: Handle all possible cases for i64, f32, f64 (#3008)
Previously we only handled i32. That was enough for all real-world code people have run through wasm2js apparently (which is the only place the pass is needed - it lowers unaligned loads to individual loads etc., as unaligned operations fail in JS). Apparently it's pretty rare to have unaligned f32 loads for example. This will be useful in fuzzing wasm2js, as without this we can't compare results to the interpreter (which does alignment properly).
Diffstat (limited to 'test/example/cpp-threads.cpp')
0 files changed, 0 insertions, 0 deletions