Closed Bug 1845186 Opened 11 months ago Closed 11 months ago

Enable SIMD in Sandboxed Libraries

Categories

(Core :: Security: RLBox, enhancement)

All
Unspecified
enhancement

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: wrv, Assigned: wrv)

Details

Attachments

(1 file)

This adds the -msimd128 flag to wasm sandboxed library compilation, allowing for the autovectorization of C source to WASMSIMD. With Bug #1829765, wasm2c can convert WASMSIMD to Native SIMD intrinsics.

Adding autovectorization at this layer allows better autovectorization of code as it operates on the original C, rather than the wasm2c output.

Independently, we require this flag so future wasm libraries that use simd intrinsics work as expected when compiled with clang.

Assignee: nobody → wrv
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/85f6de42780c
Add -msimd128 flag to RLBox Wasm compilation. r=glandium
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: