Fprox’s Substack

Fprox's Substack focuses on advancements and technical aspects of RISC-V, including its vector extension, cryptographic enhancements, and computer arithmetic. It covers implementation details, new profiles, programming techniques, and the addition of new instructions, emphasizing RISC-V's role in modern computing and its support for complex operations and machine learning.

RISC-V Architecture Computer Arithmetic Vector Processing Cryptography Programming with RISC-V Floating-Point Operations Software Development Tools Mathematical Libraries Machine Learning

The hottest Substack posts of Fprox’s Substack

And their main takeaways
0 implied HN points 26 Dec 22
  1. RISC-V base instructions are 32-bit wide and follow a standard encoding pattern, making decoding easier
  2. RISC-V C extension introduces 16-bit wide compressed instructions for code size improvements
  3. Compressed instructions use reduced immediate ranges and register indices, providing code size reduction at the cost of expressiveness
0 implied HN points 17 Aug 22
  1. Most operations in RVV 1.0 can be masked by providing an extra mask operand through v0.
  2. The mask size of a mask in RVV 1.0 is VLEN, even for the largest possible vector group.
  3. Specific instructions in RVV 1.0 can produce masks for non-mask operands, and there are operations on masks like standard bitwise logic and population count.
0 implied HN points 06 Sep 22
  1. RISC-V Vector extension defines different memory operation families like unit-strided load/store and strided load/store
  2. Effective element width for most loads and stores is determined by the opcode, not SEW
  3. RVV 1.0 introduces segmented loads and stores to transform AoS in memory to SoA in vector registers
Get a weekly roundup of the best Substack posts, by hacker news affinity:
0 implied HN points 04 Sep 21
  1. ASMDE tool helps in assembly program development for RISC-V RV32 by automating register allocation
  2. Example program demonstrates how to implement a basic vector add routine using ASMDE template and main.c file
  3. ASMDE provides specific constructs like asmde macro and assembly variables to simplify assembly programming
0 implied HN points 12 May 19
  1. Erasure coding can be accelerated using Galois Field arithmetic.
  2. Multiplication by a constant can be achieved through vector by matrix multiplication.
  3. Parallelization can be used to implement multiple multiplications by the same constant simultaneously.