sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv | Matrix: #riscv:catircservices.org
hightower3 has joined #riscv
hightower2 has quit [Ping timeout: 255 seconds]
pecastro has quit [Ping timeout: 272 seconds]
vagrantc has quit [Quit: leaving]
<jrtc27> jfsimon: it varies based on the immediate
<jrtc27> LLVM will apply a bunch of rules to determine what it thinks is the "best" sequence
<jrtc27> on RV32 it's pretty simple because lui+addi does everything you need, so the only question is whether you can do it in one instruction (or multiple compressed instructions)
<jrtc27> on RV64 it's a lot more complicated
<jfsimon> indeed i saw thanks, playing a bit with compiler to check how they make the pseudo to instruction
<jrtc27> e.g. LLVM takes advantage of the various SHxADD instructions from Zba(?) if present and useful
heat_ has quit [Read error: Connection reset by peer]
heat_ has joined #riscv
shamoe has quit [Quit: Connection closed for inactivity]
dh` has quit [Ping timeout: 255 seconds]
sjs has quit [Remote host closed the connection]
sjs has joined #riscv
KREYREN_ has quit [Remote host closed the connection]
shamoe has joined #riscv
heat_ has quit [Ping timeout: 252 seconds]
zBeeble42 has joined #riscv
zBeeble24 has quit [Read error: Connection reset by peer]
zBeeble42 has quit [Read error: Connection reset by peer]
zBeeble42 has joined #riscv
wingsorc has quit [Ping timeout: 258 seconds]
pabs3 has quit [Ping timeout: 260 seconds]
pabs3 has joined #riscv
sakman has quit [Quit: Leaving]
sakman has joined #riscv
raym has quit [Ping timeout: 240 seconds]
davidlt has joined #riscv
Jackneill has joined #riscv
Jackneill has quit [Ping timeout: 240 seconds]
Jackneill has joined #riscv
jacklsw has joined #riscv
shamoe has quit [Quit: Connection closed for inactivity]
psydroid has joined #riscv
BootLayer has joined #riscv
<courmisch> Say I need to load 64-bit blobs at regular interval. If the base adress and stride are multiple of 8, I can use vlse64.v.
<courmisch> But is there any remotely practical way to do it if not aligned? if I manually break it down into a series of vle8.v/add, it only occupies the bottom half (or less) of each vector :/
crabbedhaloablut has joined #riscv
davidlt has quit [Ping timeout: 260 seconds]
jfsimon1981_c has joined #riscv
jfsimon has quit [Ping timeout: 264 seconds]
___nick___ has joined #riscv
snowsauce has quit [Ping timeout: 255 seconds]
<dzaima[m]> courmisch: as I'd imagine that a strided load would perform about the same as an indexed load (except maybe for strides of 1/0/-1) for the same element size, you could also use vluxei16.v and arrange the bytes as you like. If the base isn't aligned but the stride is still a multiple of 8 bytes, it's probably be better to manually blend together two manually-aligned vlse64.v-s
hightower3 has quit [Ping timeout: 264 seconds]
notgull has quit [Ping timeout: 252 seconds]
notgull has joined #riscv
KREYREN has joined #riscv
<courmisch> dzaima[m]: so VLSE64 twice then VSLL, VSRL and VOR ? I guess that could work
<dzaima[m]> yeah
<courmisch> at least should be faster than VLUXEIE8
<dzaima[m]> right
<courmisch> thx, lets see
junaid_ has joined #riscv
Kedleston has joined #riscv
junaid_ has quit [Remote host closed the connection]
pecastro has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
junaid_ has joined #riscv
junaid_ has quit [Remote host closed the connection]
davidlt has joined #riscv
mlw has joined #riscv
snowsauce has joined #riscv
JanC has quit [Ping timeout: 240 seconds]
JanC has joined #riscv
hightower2 has joined #riscv
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #riscv
___nick___ has quit [Client Quit]
___nick___ has joined #riscv
shamoe has joined #riscv
Andre_Z has joined #riscv
wingsorc has joined #riscv
mlw has quit [Ping timeout: 258 seconds]
jfsimon1981_c has quit [Remote host closed the connection]
mlw has joined #riscv
agent314 has joined #riscv
Stat_headcrabed has joined #riscv
jfsimon1981_b has joined #riscv
Stat_headcrabed1 has joined #riscv
Stat_headcrabed has quit [Ping timeout: 248 seconds]
Stat_headcrabed1 is now known as Stat_headcrabed
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Nixkernal_ has joined #riscv
Nixkernal has quit [Ping timeout: 240 seconds]
Noisytoot has quit [Excess Flood]
Noisytoot has joined #riscv
Nixkernal_ has quit [Read error: Connection reset by peer]
Nixkernal has joined #riscv
davidlt has quit [Ping timeout: 252 seconds]
jfsimon1981_b is now known as jfsimon
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
davidlt has joined #riscv
jacklsw has quit [Ping timeout: 264 seconds]
agent314 has quit [Ping timeout: 240 seconds]
pabs3 has quit [Ping timeout: 255 seconds]
pabs3 has joined #riscv
hightower2 has quit [Ping timeout: 255 seconds]
raym has joined #riscv
shamoe has quit [Quit: Connection closed for inactivity]
shamoe has joined #riscv
_whitelogger has joined #riscv
heat has joined #riscv
dh` has joined #riscv
dh` has joined #riscv
hightower2 has joined #riscv
vagrantc has joined #riscv
davidlt has quit [Ping timeout: 240 seconds]
obrut has joined #riscv
<obrut> hi... do not own any risc-v machine yet, so I cannot check... what does 'uname -m' on linux returns for 64bit risc-v machine ? "riscv64" ?
<courmisch> yes
<obrut> thanx :)
<mps> iirc qemu and qemu-user also returns same
vagrantc has quit [Quit: leaving]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #riscv
aredridel has quit [Quit: The Lounge - https://thelounge.chat]
___nick___ has quit [Client Quit]
___nick___ has joined #riscv
aredridel has joined #riscv
BootLayer has quit [Quit: Leaving]
mlw has quit [Ping timeout: 255 seconds]
___nick___ has quit [Ping timeout: 255 seconds]
Jackneill has quit [Ping timeout: 255 seconds]
Andre_Z has quit [Quit: Leaving.]
KREYREN has quit [Remote host closed the connection]
KREYREN has joined #riscv
crabbedhaloablut has quit []
notgull has quit [Ping timeout: 255 seconds]
notgull has joined #riscv
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
iooi has joined #riscv
<muurkha> jfsimon: hmm, I feel like lui;addi;slli;addi is probably less efficient than just auipc;lw
<muurkha> with a constant pool
<muurkha> and lui;addi;slli;addi only gives you 44 bits; if you need more than that you need a longer sequence without a constant pool
markh has quit [Remote host closed the connection]
<jfsimon> Ok
<jfsimon> I just saw it from the compiler output disassembly
<muurkha> yeah, not saying it's your fault :)
<muurkha> but if you're writing RISC-V assembly code, it's a possibility to keep in mind
KREYREN has quit [Remote host closed the connection]
markh has joined #riscv
EchelonX has joined #riscv
EchelonX has quit [Remote host closed the connection]
agent314 has joined #riscv