RISC-V

879 readers
3 users here now

RISC-V (pronounced "risk-five") is a license-free, modular, extensible instruction set architecture (ISA).

riscv.org

Youtube | Twitter

Matrix space

Other RISC-V communities on Lemmy

founded 3 years ago
MODERATORS
1
 
 

The goal of this text is to provide an overview of RISC-V Vector extension (RVV), and compare — when applicable — with widespread SIMD vector instruction sets: SSE, AVX, AVX-512, ARM Neon and SVE.

The RISC-V architecture defines four basic modes (32-bit, 32-bit for embedded systems, 64-bit, 128-bit) and several extensions. For instance, the support for single precision floating-point numbers is added by the F extension.

The vector extension is quite a huge addition. It adds 302 instructions plus four highly configurable load & store operations. The RVV instructions can be split into three groups:

  • related to masks,
  • integer operations,
  • and floating-point operations.

When a CPU does not support floating-point instructions, it still may provide the integer subset.

RVV introduces 32 vector registers v0, ..., v31, a concept of mask (similar to AVX-512), and nine control registers.

Unlike other SIMD ISAs, RVV does not explicitly define size of vector register. It is an implementation parameter (called VLEN): the size has to be a power of two, but not greater than 216 bits. Likewise, the maximum vector element size is an implementation parameter (called ELEN, also a power of two and not less than 8 bits). For example, a 32-bit CPU might not support vectors of 64-bit values.

But generally, we may expect that a decent 64-bit CPU would support elements having 8, 16, 32 or 64-bit, interpreted as integers or floats.

2
 
 

Hi there! I'm still trying to build alternative OSs on the DC-ROMA PAD II and I have successfully built spacemit's u-boot but the board used in the ROMA PAD does not seem to be supported. I asked deepcomputing about it but since people might already have that config somewhere I thought I'd ask.

3
 
 

It looks like the upcoming Linux 6.13 cycle will be adding RISC-V support for user-space pointer masking and tagged address ABI. RISC-V pointer masking can be used for implementing memory tagging akin to the Arm Memory Tagging Extension (MTE) by way of ignoring various bits of the effective address on RISC-V platforms. Memory tagging can help with the memory safety state of user-space applications.

4
5
 
 

Spacemit advertises their K1 soc as compliant with the RVA22 but this table suggests it might not be: https://mastodon.giftedmc.com/@haui/113372897786006093

What am I missing?

6
 
 

Hi folks! I got my order of the now out of stock RISCV tablet DC-ROMA PAD II today.

Hardware It is decently manufactured, about 11 inches in size, has wifi, a small keyboard (ordered on top), headphone jack, 8 cores spacemit cpu, usbc connector and sd card slot (and maybe sim but unsure).

Operating System The device comes with ubuntu 24.04 on the internal storage and a micro sd card with debian. Both run decent oob but what comes next is rather peculiar

What happened so far The devices run patched everything as far as I can see. upgrading ubuntu bricked gnome shell so that it permanently maxxes out one core and makes the device unusable. Maybe I should have made a backup first but I didnt think it would go unusable asap. Pretty much the same happened to the debian system, which I did backup before updating. The real issue is that there are barely any riscv images out there and building them is quite the endeavor.

So for now I'll use the backup of the debian system until I have familiarized myself with the hardware enough to know what I can and cant do.

Fair warning To those thinking of purchasing this device, be careful. It is marketed as a developer device and even as a dev, it is very rough to use at this point. there is an online manual with 7 pages which explains how to turn the device on, thats it. no info about debugging tools AT ALL. You have been warned.

Future Of course I'm not done with it and will attempt to port postmarketOS to it as well as learn how to make reproducible images for other OSs. Let me know if you have any questions. Feel free to give advice if you are experienced. This is my first riscv device.

7
 
 

cross-posted from: https://lemmy.zip/post/25094802

Nvidia quietly adopts RISC-V and replaces proprietary microcontrollers.

8
 
 

cross-posted from: https://lemmy.ml/post/21673583

RISC-V International, the global standards organization, today announced that the RVA23 Profile is now ratified. RVA Profiles align implementations of RISC-V 64-bit application processors that will run rich operating systems (OS) stacks from standard binary OS distributions. RVA Profiles are essential to software portability across many hardware implementations and help to avoid vendor lock-in. The newly ratified RVA23 Profile is a major release for the RISC-V software ecosystem and will help accelerate widespread implementation among toolchains and operating systems.

Each Profile specifies which ISA features are mandatory or optional, providing a common target for software developers. Mandatory extensions can be assumed to be present, and optional extensions can be discovered at runtime and leveraged by optimized middleware, libraries, and applications.

Key Components of RVA23 Include:

  • Vector Extension: The Vector extension accelerates math-intensive workloads, including AI/ML, cryptography, and compression / decompression. Vector extensions yield better performance in mobile and computing applications with RVA23 as the baseline requirement for the Android RISC-V ABI.
  • Hypervisor Extension: The Hypervisor extension will enable virtualization for enterprise workloads in both on-premises server and cloud computing applications. This will accelerate the development of RISC-V-based enterprise hardware, operating systems, and software workloads. The Hypervisor extension will also provide better security for mobile applications by separating secure and non-secure components.
9
 
 

SiFive announced the availability of its state-of-the-art HiFive Premier P550 development board. An initial pre-release batch of 100 Yocto Linux-based boards, called the "Early Access Edition," is available for purchase through Arrow Electronics. A broader release with Canonical Ubuntu 24.04 pre-installed is scheduled for December, providing developers with an unparalleled out-of-box experience.

The quad-core SiFive Performance P550 processor, running at 1.4GHz, makes the HiFive Premier P550 the highest-performing RISC-V development board available. Its out-of-order core architecture delivers exceptional compute density and performance, all within an energy-efficient footprint.

HiFive Premier P550 Key Features:

  • The world’s highest performing commercially available RISC-V CPU- SiFive P550
  • 16-32GB LPDDR5 / 128GB eMMC
  • Robust PC connectivity: SATA, PCIe, SD, M.2, USB 3
  • Integrated Imagination GPU and ESWIN NPU
10
11
12
 
 

The Godbolt Compiler Explorer is a fantastic tool for assembler programmers. In this post, I show you how to use Compiler Explorer to generate RISC-V assembly code and offer some ideas to make best use of this tool.

In the last few years, we’ve seen an explosion of RISC-V CPU designs on FPGA and ASIC, including the RP2350 found on the Raspberry Pi Pico 2. Thankfully, RISC-V is ideal for assembly programming with its compact, easy-to-learn instruction set. This series will help you learn and understand 32-bit RISC-V instructions and programming.

13
 
 

I'm not totally sure if I'm just hyped up but i wanted to share that I ordered a device and am (im)patiently awaiting the shipment.

does anyone already have the device? hows your experience? what do you do with it?

i might get around to make a video or just a post about it in detail.

have a good one

14
15
 
 
16
17
18
 
 
19
20
21
22
 
 

Huge fan of risk-v and massively overwhelmed by analysis paralysis. I‘m in the market for risc-v hardware to develop on and play around with.

After some consideration, I will get an sbc for the hard tinkering and low level stuff and I‘m thinking of getting a tablet for regular use (browing, ebook reading, controlling smart home devices) as well as development and packaging stuff.

My reasoning for using dev hardware on a daily basis is that for myself to be able to use features, I need apps which I am incentivised to compile and package for risc-v.

I‘ve seen very promising risc-v videos but I‘m not sure what to expect from a tablet. To add to that the pinetab v is out of stock which was a strong candidate.

I know there is the new tablet from deepcomputing but its in preorder and the shipping to germany is pretty expensive. (100$ plus). The HD display is pretty awesome compared to the pinetab v but afaik the pinetab comes with accessories.

Any experience with risc-v tablets and which other offers do you consider good?

23
24
25
29
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 
 

Incredibly impressive for a platform that hasn't even hit Debian stable yet.

This is using box64, an ARM/RISCV translation layer for x86 apps on Linux, not unlike "Rosetta" on MacOS.

view more: next ›