tiny-skia icon indicating copy to clipboard operation
tiny-skia copied to clipboard

SIMD on AArch64 is now available on stable Rust

Open Shnatsel opened this issue 2 years ago • 3 comments

The README states:

Skia also supports ARM NEON instructions, which are unavailable in a stable Rust at the moment. Therefore a fallback scalar implementation will be used instead on ARM and other non-x86 targets. So if you're targeting ARM, you better stick with Skia.

However, Rust now supports AArch64 SIMD intrinsics on stable starting with v1.59; see https://github.com/rust-lang/stdarch/pull/1266 for details.

Note that documentation still displays the intrinsics as unstable due to a rustdoc bug: https://github.com/rust-lang/stdarch/issues/1268

Shnatsel avatar Feb 25 '22 05:02 Shnatsel

Yeah I have an open PR for it: https://github.com/RazrFalcon/tiny-skia/pull/39

I'll try to pick it up again.

CryZe avatar Feb 25 '22 07:02 CryZe

Oh, and I see you've been working on adding it to safe_arch and bytemuck as well! Amazing! Thank you so much!

Shnatsel avatar Feb 25 '22 07:02 Shnatsel

@CryZe Thank you for your efforts. Looking forward to the completion of PR https://github.com/RazrFalcon/tiny-skia/pull/39.

yisibl avatar Mar 08 '22 05:03 yisibl