Comment

Comment by kragen

That's a fun idea! RV32E is 512 bits of general-purpose registers, RV32I is 1024, and RV64I is 2048. AVX-512's ZMM registers total 16384 bits. So you could have, say, a 4096-bit register which you could access as any of 13 different sizes, from 1 bit up to 4096.

I think the on-chip bus interconnect and ALU are probably going to have some finite width, though. Above that number of bits in an operation, your instructions will get slower. Maybe that's what you have in mind, and you just want to abstract that away?

parent kragen 4 hours ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton