cfallin opened PR #8207 from cfallin:fix-pcc-insertlane
to bytecodealliance:main
:
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=67538.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
cfallin requested wasmtime-compiler-reviewers for a review on PR #8207.
cfallin requested wasmtime-core-reviewers for a review on PR #8207.
cfallin requested fitzgen for a review on PR #8207.
alexcrichton commented on PR #8207:
Mind adding more variants for loading floats, in addition to the variants for storing everything?
(module (memory 1) (func (param v128 i32) (result v128) local.get 0 local.get 1 f32.load f32x4.replace_lane 0) (func (param v128 i32) (result v128) local.get 0 local.get 1 f64.load f64x2.replace_lane 1) (func (param v128 i32) (result v128) local.get 0 local.get 1 f64.load f64x2.replace_lane 0) (func (param v128 i32) local.get 1 local.get 0 f64x2.extract_lane 1 f64.store) (func (param v128 i32) local.get 1 local.get 0 f32x4.extract_lane 1 f32.store) (func (param v128 i32) local.get 1 local.get 0 i8x16.extract_lane_s 1 i32.store8) (func (param v128 i32) local.get 1 local.get 0 i16x8.extract_lane_s 1 i32.store16) (func (param v128 i32) local.get 1 local.get 0 i32x4.extract_lane 1 i32.store) (func (param v128 i32) local.get 1 local.get 0 i64x2.extract_lane 1 i64.store) )
alexcrichton commented on PR #8207:
Also I'd recommend running the test with/without AVX to confirm that that all works too
cfallin updated PR #8207.
cfallin commented on PR #8207:
Sure, added additional cases, thanks! This surfaced another issue with the range-fact clamping on 128-bit values, now fixed.
The test cases already had distinct AVX and non-AVX variants; added your new cases to both.
fitzgen submitted PR review:
r=me with Alex's suggestion
fitzgen commented on PR #8207:
race
cfallin commented on PR #8207:
Yep, I imagine you'll want to review the new changes just pushed, sorry!
fitzgen submitted PR review.
fitzgen has enabled auto merge for PR #8207.
cfallin updated PR #8207.
cfallin has enabled auto merge for PR #8207.
cfallin merged PR #8207.
Last updated: Dec 23 2024 at 13:07 UTC