Bug 248639

Summary: [WebAssembly SIMD] Support bitwise operations on Intel
Product: WebKit Reporter: David Degazio <d_degazio>
Component: WebAssemblyAssignee: David Degazio <d_degazio>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=248995
Bug Depends on:    
Bug Blocks: 246345    

Description David Degazio 2022-12-01 16:41:35 PST
We should add support for SIMD bitwise logic, shift, and boolean operations on Intel. This means support for the following instructions:

 - i8x16.shl, i16x8.shl, i32x4.shl, i64x2.shl
 - i8x16.shr_s, i16x8.shr_s, i32x4.shr_s, i64x2.shr_s, i8x16.shr_u, i16x8.shr_u, i32x4.shr_u, i64x2.shr_u
 - v128.and
 - v128.or
 - v128.xor
 - v128.andnot
 - v128.bitselect
 - i8x16.popcnt
 - v128.any_true
 - i8x16.all_true, i16x8.all_true, i32x4.all_true, i64x2.all_true
Comment 1 David Degazio 2022-12-07 14:24:09 PST
rdar://103089683
Comment 2 David Degazio 2022-12-08 17:06:32 PST
Pull request: https://github.com/WebKit/WebKit/pull/7365
Comment 3 EWS 2022-12-09 11:50:09 PST
Committed 257640@main (4dea5d54cd4a): <https://commits.webkit.org/257640@main>

Reviewed commits have been landed. Closing PR #7365 and removing active labels.