<ashln>
hey, I'm just popping in to ask if there are any quick resources that introduce RISC-V's registers, instructions, &c? I'm passably familiar with x86 and would like to just get up and running with RISC-V :)
<muurkha>
ashln: if you want to know the registers and instructions you should read the RISC-V Instruction Set Manual, chapter 2: RV32I Base Integer Instruction Set
<muurkha>
it's 18 pages
<muurkha>
so you can read it in about 10 minutes
<ashln>
I was expecting /much/ worse, that sounds great
<muurkha>
at least in version riscv-spec-20191213.pdf
<muurkha>
other versions are a little shorter or a little longer
<ashln>
The first result on $search_engine is v2.2, is that applicable/relatively recent?
<muurkha>
I think v2.2 is a little older and also a little longer than the 20191213 version
<muurkha>
it's 2½ years older
<muurkha>
you may want to read other chapters as well depending on what you're doing, probably at least the introduction (12 pages) and maybe the RV64I chapter (6 pages)
<muurkha>
the reason RV32I is three times as long as the RV64I chapter is that the RV64I chapter only describes the differences from RV32I
<ashln>
seems straightforward enough, thanks!
<muurkha>
DF floating-point is chapters 11 and 12 (16 pages), integer multiply and divide (M) is chapter 7 (4 pages), and compressed instructions (C) which you definitely want to read if you're writing a compiler or comparing efficiency is chapter 16 (18 pages)
<muurkha>
riscvbook is mostly a repackaging of the information in the instruction set manual with more color (good!) and a bunch of tiresome rhetoric about how great RISC-V is (bad)
<ashln>
is spec first/color later a good study strategy then?
<muurkha>
I'm not really qualified to say because I still haven't written anything interesting for RISC-V, not even a compiler or a hello-world in assembly
<muurkha>
but I'm inclined to prefer spec first, riscvbook never :)
<ashln>
and yeah, I'm writing a compiler but only in the weakest of senses (tiny lang, little-to-no optimizations, all that) for *very practical and pragmatic reasons i swear*
<muurkha>
haha
<ashln>
hopefully i'll have some fun with this neat little architecture :))
<muurkha>
if you want to write an OS check out the privileged ISA spec
<muurkha>
though keep in mind that the most easily available RISC-V hardware is microcontrollers that don't implement it
<ashln>
oh good to know
peeps[zen] has quit [Ping timeout: 276 seconds]
<conchuod>
every time I see visionfive discussion I realise I forgot to chase mine up but am never in a position to do so :/
BootLayer has quit [Quit: Leaving]
peepsalot has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
stephano has joined #riscv
littlebobeep has joined #riscv
littlebobeep has quit [Ping timeout: 240 seconds]
littlebobeep has joined #riscv
littlebobeep has quit [Remote host closed the connection]
littlebobeep has joined #riscv
compscipunk has quit [Quit: WeeChat 2.8]
davidlt has quit [Ping timeout: 246 seconds]
wingsorc has joined #riscv
mahmutov has quit [Ping timeout: 258 seconds]
aerkiaga has joined #riscv
mechaniputer has quit [Quit: leaving]
frkazoid333 has quit [Read error: Connection reset by peer]
jimwilson_ has joined #riscv
The_Decryptor4 has joined #riscv
frkazoid333 has joined #riscv
ddevault_ has joined #riscv
shreyasminocha_ has joined #riscv
sm2n_ has joined #riscv
sumoon_ has joined #riscv
raghavgururajan_ has joined #riscv
jleightcap_ has joined #riscv
Sofia_ has joined #riscv
zapb__ has joined #riscv
englishm_ has joined #riscv
JSharp_ has joined #riscv
NishanthMenon_ has joined #riscv
arnd_ has joined #riscv
pavel_odintsov_ has joined #riscv
cwebber` has joined #riscv
octav1a_ has joined #riscv
Ultrasauce has joined #riscv
koorogi1 has joined #riscv
englishm has quit [Ping timeout: 250 seconds]
sm2n has quit [Ping timeout: 250 seconds]
ddevault has quit [Ping timeout: 250 seconds]
JSharp has quit [Ping timeout: 250 seconds]
NishanthMenon has quit [Ping timeout: 250 seconds]
Raito_Bezarius has quit [Ping timeout: 250 seconds]
pavel_odintsov has quit [Ping timeout: 250 seconds]
arnd has quit [Ping timeout: 250 seconds]
Sofia has quit [Ping timeout: 250 seconds]
jimwilson has quit [Ping timeout: 250 seconds]
Starfoxxes has quit [Ping timeout: 250 seconds]
jljusten1 has quit [Ping timeout: 250 seconds]
octav1a has quit [Ping timeout: 250 seconds]
sumoon has quit [Ping timeout: 250 seconds]
raghavgururajan has quit [Ping timeout: 250 seconds]
shreyasminocha has quit [Ping timeout: 250 seconds]
jleightcap has quit [Ping timeout: 250 seconds]
koorogi has quit [Ping timeout: 250 seconds]
sauce has quit [Ping timeout: 250 seconds]
cwebber has quit [Ping timeout: 250 seconds]
The_Decryptor has quit [Ping timeout: 250 seconds]
agraf has quit [Ping timeout: 250 seconds]
zapb_ has quit [Ping timeout: 250 seconds]
Sofia_ is now known as Sofia
zv has quit [Ping timeout: 250 seconds]
ddevault_ is now known as ddevault
The_Decryptor4 is now known as The_Decryptor
shreyasminocha_ is now known as shreyasminocha
raghavgururajan_ is now known as raghavgururajan
NishanthMenon_ is now known as NishanthMenon
zv_ has joined #riscv
arnd_ is now known as arnd
jleightcap_ is now known as jleightcap
englishm_ is now known as englishm
sumoon_ is now known as sumoon
sm2n_ is now known as sm2n
Sofia is now known as Guest4623
JSharp_ is now known as JSharp
littlebobeep has quit [Remote host closed the connection]
Starfoxxes has joined #riscv
littlebobeep has joined #riscv
zv_ has quit [Client Quit]
Raito_Bezarius has joined #riscv
zv has joined #riscv
agraf has joined #riscv
jljusten1 has joined #riscv
EchelonX has quit [Ping timeout: 256 seconds]
jljusten1 is now known as jljusten
stephano is now known as stephano[away]
octav1a_ is now known as octav1a
dh` has joined #riscv
dh` has quit [Changing host]
aerkiaga has quit [Remote host closed the connection]