2021-05-24
00:06gruetzko- is now known as gruetzkopf
02:29PhilippvK has joined #asahi-gpu
02:33phiologe has quit [Ping timeout: 480 seconds]
03:06_whitelogger has joined #asahi-gpu
03:19aquijoule_ has joined #asahi-gpu
03:25richbridger has quit [Ping timeout: 480 seconds]
09:55manawyrm has joined #asahi-gpu
10:19_whitelogger has joined #asahi-gpu
11:40yrlfbloom: yeah, checking the condition on the tail end of the loop saves you one branch in most instruction sets
11:41yrlfthen you can just do a conditional branch to the top instead of doing an unconditional one to the top and having the conditional branch there
11:44yrlfare there any situations where a `while (x) { ... }` loop would be beneficial in asm? I currently don't see a reason to generate one, ever, and I have the feeling I'm overlooking something here
11:44yrlf(then again: I have no GPU experience, that is all transferred knowledge from regular CPU asm stuff)
12:26minimaul is now known as mini
12:34jixyrlf: I think if the loop condition is complex, the loop usually has a low iteration count and the whole loop is executed frequently, in that case not wasting icache on the duplicated condition might make things faster
14:19yrlfon non-structured architectures you can avoid the duplicated condition by just jumping forward into the condition part of the loop (at the cost of an additional branch)
14:19yrlfon something with structured control-flow just jumping into the middle of something won't work I presume
15:00choozy has joined #asahi-gpu
15:01m42uko has joined #asahi-gpu
16:49choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
17:23choozy has joined #asahi-gpu
18:31choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
19:53Matt_B has quit [Remote host closed the connection]
21:04choozy has joined #asahi-gpu
22:08emptynine has joined #asahi-gpu
22:31choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
23:42balrog has quit [Quit: Bye]
23:50balrog has joined #asahi-gpu