mirror of
https://github.com/gomson/TimothyLottes.github.io.git
synced 2026-08-04 14:48:49 +00:00
Add files via upload
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<html><head><link rel="stylesheet" href="style.css"></head><body><div class="page">
|
||||
<h1>20160706 - Low Cost Branching to Factoring Out Loop Exit Check</h1>
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
Threading to hide pipeline depth combined with an ISA which makes branching cheep is one goal.
|
||||
Specifically absolute branching with immediate destination in the opcode word
|
||||
(single word branch/call, no adder), and instructions which include a return flag (make returns free).
|
||||
Enables easy computed branches, both for jump tables, and loops.
|
||||
Can factor out loop check into hierarchical call tree,
|
||||
<br>
|
||||
<br><tt>
|
||||
Do4: Unroll work four times; Return;<br>
|
||||
Do16: Call Do4; Call Do4; Call Do4; Jump Do4;<br>
|
||||
Do64: Call Do16; Call Do16; Call Do16; Jump Do16;<br>
|
||||
... etc ...
|
||||
</tt><br>
|
||||
<br>
|
||||
Can use a computed branch to jump into the tree for other loop counts.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div></body></html>
|
||||
|
||||
|
||||
|
||||
@@ -71,6 +71,7 @@ Below this is active random migration (456 prior posts still to filter through)
|
||||
<a href="20160721.html">20160721 - Why Motion Blur Trivially Breaks Tone-Mapping - Part 1</a><br>
|
||||
<a href="20160720.html">20160720 - Re Twitter: Thoughts on Vulkan Command Buffers</a><br>
|
||||
<a href="20160715.html">20160715 - LED Displays</a><br>
|
||||
<a href="20160706.html">20160706 - Low Cost Branching to Factoring Out Loop Exit Check</a><br>
|
||||
<a href="20160127.html">20160127 - Temporal AA Neighborhood Clamp</a><br>
|
||||
<br>
|
||||
<b>2015</b><br>
|
||||
|
||||
Reference in New Issue
Block a user