It just occurred to me that for OpenShader-CPU, calculating the return
address should require adding TWO to the PC, in order to skip over the
delay slot of the original call instruction on returning.

The GPU won't have delay slots, however.

-- 
Timothy Normand Miller, PhD
Assistant Professor of Computer Science, Binghamton University
http://www.cs.binghamton.edu/~millerti/
Open Graphics Project
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to