android-riscv64 icon indicating copy to clipboard operation
android-riscv64 copied to clipboard

external/libvpx: missing optimized assembler

Open enh-google opened this issue 2 years ago • 4 comments

external/libvpx (https://android-review.googlesource.com/c/platform/external/libvpx/+/2168948) is missing optimized assembler (present for arm/arm64/x86/x86-64), using C fallback for now.

enh-google avatar Jan 31 '23 20:01 enh-google

@rbosetti Hi, could you share with us any insights about the ways and progress around this optimization work.

I'd like to help optimize this library too.

So far, It is challenging to just prepare a environment to test these V related functions.

Does the toolchain clang or simulator cuttlefish support the V extension already?

Thanks !

sunmin89 avatar Jun 13 '23 04:06 sunmin89

Does the toolchain clang or simulator cuttlefish support the V extension already?

the AOSP clang does, yes, but the AOSP kernel does not yet (we need the next AOSP clang to be able to compile kernels that have V support, and we need to cherrypick the V support from 6.5 back to 6.4 which is what we're currently using).

enh-google avatar Jun 13 '23 14:06 enh-google

Adding some more color here. We're currently using custom kernels for testing, and AOSP clang for builds.

For folks not plugged directly into the AOSP environment, there are some instructions on the RISE Wiki on producing a test environment

rbosetti avatar Jun 15 '23 21:06 rbosetti

For folks not plugged directly into the AOSP environment, there are some instructions on the RISE Wiki on producing a test environment

seems like you need to create an account and sign in to see that? worth having something on this wiki for easier access?

enh-google avatar Jun 15 '23 22:06 enh-google