Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 10fce329c3429e56c662b9bb8997512ba076fede
      
https://github.com/WebKit/WebKit/commit/10fce329c3429e56c662b9bb8997512ba076fede
  Author: Dan Hecht <[email protected]>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M JSTests/wasm/stress/simd-select.js
    M Source/JavaScriptCore/llint/InPlaceInterpreter64.asm

  Log Message:
  -----------
  [JSC] WASM IPInt SIMD: support v128 in select and select_t instructions
https://bugs.webkit.org/show_bug.cgi?id=300772
rdar://162653641

Reviewed by Yusuke Suzuki.

select and select_t should copy 16-bytes now that IPInt supports v128.

The pre-existing test didn't catch this issue because pushQuad pushes
the same register twice and the test used the same value in all lanes,
so the final result was correct in this case. Adjust the test so that
it can catch this bug. Also add select_t testcases.

* JSTests/wasm/stress/simd-select.js:
(from.string_appeared_here.import.as.assert.from.string_appeared_here.let.wat.module.func.export.string_appeared_here.param.i32.i32.result.i32.local.v128.v128.v128.const.i32x4.1.2.3.4.local.2.v128.const.i32x4.5.6.7.8.local.3.local.2.local.3.local.0.local.1.i32.eq.select.i32x4.extract_lane.0.func.export.string_appeared_here.param.i32.i32.result.i32.local.v128.v128.v128.const.i32x4.1.2.3.4.local.2.v128.const.i32x4.5.6.7.8.local.3.local.2.local.3.local.0.local.1.i32.eq.select.i32x4.extract_lane.3.func.export.string_appeared_here.param.i32.i32.result.i32.local.v128.v128.v128.const.i32x4.10.20.30.40.local.2.v128.const.i32x4.50.60.70.80.local.3.local.2.local.3.local.0.local.1.i32.eq.select.result.v128.i32x4.extract_lane.0.func.export.string_appeared_here.param.i32.i32.result.i32.local.v128.v128.v128.const.i32x4.10.20.30.40.local.2.v128.const.i32x4.50.60.70.80.local.3.local.2.local.3.local.0.local.1.i32.eq.select.result.v128.i32x4.extract_lane.3.async
 test):
(from.string_appeared_here.import.as.assert.from.string_appeared_here.let.wat.module.func.export.string_appeared_here.param.i32.i32.result.i32.local.v128.v128.v128.const.i32x4.1.1.1.1.local.2.v128.const.i32x4.2.2.2.2.local.3.local.2.local.3.local.0.local.1.i32.eq.select.i32x4.extract_lane.0.func.export.string_appeared_here.param.i32.i32.result.i32.local.v128.v128.v128.const.i32x4.1.1.1.1.local.2.v128.const.i32x4.2.2.2.2.local.3.local.2.local.3.local.0.local.1.i32.eq.select.i32x4.extract_lane.3.async
 test): Deleted.
* Source/JavaScriptCore/llint/InPlaceInterpreter64.asm:

Canonical link: https://commits.webkit.org/301558@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to