29.01.2015 Views

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

510 Chapter 36<br />

parameter-passing strategies are used. We per<strong>for</strong>med experiments with five<br />

different on-<strong>de</strong>mand parameter-passing strategies:<br />

Block Insertion (Default): This is our <strong>de</strong>fault on-<strong>de</strong>mand parameter-passing<br />

strategy. In this strategy, the multiple uses problem is handled using block<br />

insertion. Also, if there is a global variable problem (i.e., the case where<br />

a global variable used as part of the actual parameter is assigned in the<br />

subroutine be<strong>for</strong>e the corresponding <strong>for</strong>mal parameter is assigned in the<br />

subroutine be<strong>for</strong>e the corresponding <strong>for</strong>mal parameter is reached), this<br />

strategy computes the value of the actual parameter just be<strong>for</strong>e the global<br />

variable assignment.<br />

Path Control: While this strategy handles the global variable problem in<br />

the same fashion as the previous one, the multiple uses problem is handled<br />

using path control (i.e., using variables to keep track of dynamic execution<br />

paths).<br />

Multiple Evaluations: This version also handles the global variable problem

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!