sorear[m] changed the topic of #riscv to: Matrix users: #riscv:libera.chat will be ending operation NET Jul 25; please test #riscv:catircservices.org as a replacement | RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv
<Guest53>
Hi, wanted to ask whether it's correct to use `add` over `addi`. For me, both compile fine using GCC. E.g., `add t0, t0, 10` and `addi t0, t0, 10` both compile fine and to the same machine code.
<jrtc27>
gcc doesn't compile them, gnu as, from binutils, assembles them
<jrtc27>
is it correct? well, binutils has it as an alias, as does llvm
<jrtc27>
but it's not great practice to do IMO
<jrtc27>
people will dispute that though
<Guest53>
Alright, my biggest concern is actually having an inconsistent codebase. Thanks though! Let's see what other folks say
<Guest53>
I have not tried with clang/llvm, but I expect similar behaviour
junaid_ has quit [Ping timeout: 245 seconds]
Guest53 has quit [Quit: Client closed]
Guest53 has joined #riscv
madge has quit [Quit: madge]
Guest53 has quit [Quit: Client closed]
junaid_ has joined #riscv
Wickram has joined #riscv
junaid_ has quit [Quit: leaving]
junaid_ has joined #riscv
BootLayer has quit [Quit: Leaving]
Tenkawa has quit [Quit: Was I really ever here?]
davidlt has joined #riscv
alexghiti has quit [Ping timeout: 246 seconds]
madge has joined #riscv
Guest32 has joined #riscv
<Guest32>
hi, what's the preferred way of allocating memory? should i use the linker script (adding a heap region) or just the device tree?
<Guest32>
thanks!
BootLayer has joined #riscv
dipankar has joined #riscv
dipankar has joined #riscv
dipankar has quit [Changing host]
marinaro has joined #riscv
jm___ has joined #riscv
marinaro has quit [Ping timeout: 260 seconds]
junaid_ has quit [Ping timeout: 245 seconds]
marinaro has joined #riscv
jm___ has quit [Ping timeout: 240 seconds]
Guest32 has quit [Ping timeout: 246 seconds]
marinaro has quit [Ping timeout: 240 seconds]
madge1 has joined #riscv
madge has quit [Ping timeout: 240 seconds]
madge1 is now known as madge
alexghiti has joined #riscv
heat has joined #riscv
simpl_e has quit [Remote host closed the connection]