brook has joined #beagle
brook has quit [Remote host closed the connection]
vagrantc has joined #beagle
brook has joined #beagle
vagrantc has quit [Quit: leaving]
brook has quit [Remote host closed the connection]
Epakai has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
Epakai has joined #beagle
brook has joined #beagle
buzzmarshall has quit [Quit: Konversation terminated!]
Shadyman has joined #beagle
brook has quit [Remote host closed the connection]
set_ has joined #beagle
brook has joined #beagle
brook has quit [Ping timeout: 268 seconds]
ikarso has joined #beagle
outrageous has quit [Read error: Connection reset by peer]
florian_kc has joined #beagle
set_ has quit [Remote host closed the connection]
Shadyman has quit [Quit: Leaving.]
_whitelogger has joined #beagle
buckket has quit [Quit: buckket]
buckket has joined #beagle
starblue has quit [Ping timeout: 252 seconds]
starblue has joined #beagle
set_ has joined #beagle
josmiranda has joined #beagle
Posterdati has quit [Remote host closed the connection]
Posterdati has joined #beagle
behanw has joined #beagle
darkapex has quit [Ping timeout: 252 seconds]
xet7 has joined #beagle
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
Stat_headcrabed has joined #beagle
Stat_headcrabed has quit [Client Quit]
ikarso has quit [Quit: Connection closed for inactivity]
brook has quit [Remote host closed the connection]
xet7 has quit [Remote host closed the connection]
brook_ has joined #beagle
darkapex has joined #beagle
jfsimon1981 has joined #beagle
Steve_ has quit [Quit: Leaving]
SJFriedl has joined #beagle
av500 has quit [Ping timeout: 260 seconds]
<dinuxbg> zmatt: GCC's ABI is largely compatible with clpru but no 100%. It will likely stay that way. See https://github.com/dinuxbg/gnupru/wiki/ABI
<dinuxbg> zmatt: How would you write lt3_u16 more efficiently in assembly?
brook has joined #beagle
brook has quit [Read error: Connection reset by peer]
brook has joined #beagle
Stat_headcrabed has joined #beagle
brook_ has quit [Ping timeout: 260 seconds]
florian_kc has quit [Quit: Ex-Chat]
ikarso has joined #beagle
av500 has joined #beagle
Stat_headcrabed has quit [Quit: Stat_headcrabed]
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Read error: Connection reset by peer]
brook_ has joined #beagle
jfsimon1981 has quit [Read error: Connection reset by peer]
jfsimon1981_c has joined #beagle
jfsimon1981_c has quit [Max SendQ exceeded]
jfsimon1981 has joined #beagle
vagrantc has joined #beagle
josmiranda has quit [Quit: Client closed]
ikarso has quit [Quit: Connection closed for inactivity]
<zmatt> dinuxbg: ((u32)x - 3) >> 31
<zmatt> i.e.: sub tmp, r14.w0, 3 ; lsr r14.b0, tmp, 31 ; ret
<zmatt> (where tmp may be r14)
<zmatt> this works in general for (a < b) whenever the exact (non-wrapping) result of (a - b) is within INT_MIN .. INT_MAX
xet7 has joined #beagle
buzzmarshall has joined #beagle
brook_ has quit [Read error: Connection reset by peer]
brook has joined #beagle
brook has quit [Read error: Connection reset by peer]
brook_ has joined #beagle
<zmatt> dinuxbg: also, for unsigned a,b (or more generally a,b known to be non-negative) you can use "sub" to set the carry-flag to (a >= b) and use that in various ways: https://pastebin.com/hcGqGv2L
<zmatt> that yields a 4-instruction lt3_u16 (including ret) so less efficient than the above but still more efficient than gcc's version using a branch
<zmatt> (hopefully I got this right, I didn't test it ;)
comicry has joined #beagle
comicry is now known as CrazyEddy
outrageous has joined #beagle
bryanb has quit [Remote host closed the connection]
bryanb has joined #beagle