提交 ced3a055 编写于 作者: J Jubilee Young 提交者: Jubilee

Attempt to support to 64 lanes

上级 b8d6b684
......@@ -37,3 +37,6 @@ impl SupportedLaneCount for LaneCount<16> {
impl SupportedLaneCount for LaneCount<32> {
type BitMask = [u8; 4];
}
impl SupportedLaneCount for LaneCount<64> {
type BitMask = [u8; 8];
}
......@@ -376,6 +376,12 @@ fn lanes_16() {
fn lanes_32() {
implementation::<32>();
}
#[test]
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)]
fn lanes_64() {
implementation::<64>();
}
}
)*
}
......@@ -431,6 +437,12 @@ fn lanes_16() {
fn lanes_32() {
implementation::<32>();
}
#[test]
#[should_panic]
fn lanes_64() {
implementation::<64>();
}
}
)*
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册