android-riscv64
android-riscv64 copied to clipboard
Issues and discussions around RISC-V support in AOSP.
we (via bionic) already test that `__riscv_hwprobe()` claims fast misaligned accesses, but https://github.com/llvm/llvm-project/issues/88029 is a case where hardware [correctly] claims fast misaligned accesses ... but mutters "scalar" under its breath...
The instructions on [crsovm doc](https://crosvm.dev/book/appendix/rutabaga_gfx.html) seems kinda outdated. I am having linking issues during the final stage when building QEMU : ``` /usr/bin/ld: /data_ssd_2t/ruinland_aosp/cuttlefish/qemu_rutabaga/build/deps/prefix/lib/librutabaga_gfx_ffi.so: undefined reference to `gfxstream::vk::EmulatedPhysicalDeviceMemoryProperties::tr ansformToGuestMemoryRequirements(VkMemoryRequirements*) const'...
This issues seems once be brought up by @nylon7 in #85 . I am encountering it yet again with the latest code base without the rutabaga device. After switching the...
Hi @enh-google and all, After the Android SIG meeting last week, I tried to construct a clean sync of the latest tip-of-tree. Yet I still have a weird wrong color...
Maybe we can add this to clang driver once we have tested it?
There are some `String` intrinsics to implement, most importantly `StringCompareTo` and `StringEquals`. The question is whether we want to bother with scalar implementations or implement them with the "V" extension...
see here for an up to date list of unimplemented intrinsics: https://cs.android.com/android/platform/superproject/main/+/main:art/compiler/optimizing/code_generator_riscv64.h;l=58?q=UNIMPLEMENTED_INTRINSIC_LIST_RISCV64%20file:risc (though it's worth comparing with arm64/x86-64 too, since they don't implement all of them either!)
Linux doesn't have optimized crypto implementations for RISC-V. Storage encryption and dm/fs-verity are going to be unusably slow without optimized versions of AES and SHA-2 at least, preferably using [Scalar...
init can ask for more aslr bits when we have newer kernels: https://android-review.git.corp.google.com/c/platform/system/core/+/2251618/1..2/init/security.cpp#b120 TODO: find out what kernel version improves this; ToT still only has 24 in arch/riscv/Kconfig --- https://github.com/torvalds/linux/blob/master/arch/riscv/Kconfig#L150...
https://github.com/google/brotli/commit/f9b8c02673c576a3e807edbf3a9328e9e7af6d7c added basic rv64 support 6 years ago (and covers "is it 64-bit?" and "is it fine with misaligned loads?"). beyond that, there's very little that's really architecture-specific beyond the...