Skip to content

[FEAT] FYI: with GCC 14.x ... sabctools uses RVV (= RISC-V "V" Vector Extension) #252

@sanderjo

Description

@sanderjo

Is this a new feature request?

  • I have searched the existing issues

Wanted change

sabctools uses SIMD. Which works on X86 and ARM. And if you use gcc 14, also on RISC-V

So this is a FYI. And thus as soon as LSIO's sabnzbd is available on RISC-V, and it uses a recent Alpine (so with GCC 14) ... RVV speeds!

$ sudo docker run -it alpine:latest /bin/sh


apk add py3-pip g++ python3-dev
pip install sabctools --break-system-packages
python3 -c "import sabctools; print(sabctools.simd)"


/ # python3 -c "import sabctools; print(sabctools.simd)"
RVV

/ # uname -a
Linux 9b110e87f0d3 6.6.63 #2.1.0.2 SMP PREEMPT Fri Jan 24 03:39:48 UTC 2025 riscv64 Linux

/ # g++ --version
g++ (Alpine 14.2.0) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Reason for change

more speed based on SIMD -> RVV

Proposed code change

Hmmm. Release LSIO's SABnzbd for RISC-V based on recent Alpine

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions