21.01.2013 Views

Lecture Notes in Computer Science 4917

Lecture Notes in Computer Science 4917

Lecture Notes in Computer Science 4917

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

158 T.T. Hahn et al.<br />

Code size ratio (C64+/C64) no -ms<br />

100%<br />

95%<br />

90%<br />

85%<br />

80%<br />

75%<br />

70%<br />

65%<br />

60%<br />

Reed Sol<br />

ac3<br />

aes<br />

basicmath<br />

bitcnt<br />

blowfish<br />

des<br />

dhry21<br />

dijkstra<br />

estone<br />

evrc<br />

g.723.1<br />

g729<br />

gsmAMR<br />

gsmefr<br />

jpeg<br />

modem<br />

mp3<br />

mpeg4<br />

tcpip<br />

wbamr<br />

zlib<br />

Fig. 7. Comparison of code size between C64x and C64+ at maximum performance<br />

Code size ratio (C64+/C64) -ms2<br />

100%<br />

95%<br />

90%<br />

85%<br />

80%<br />

75%<br />

70%<br />

65%<br />

60%<br />

Reed Sol<br />

ac3<br />

aes<br />

basicmath<br />

bitcnt<br />

blowfish<br />

des<br />

dhry21<br />

dijkstra<br />

estone<br />

evrc<br />

g.723.1<br />

g729<br />

gsmAMR<br />

gsmefr<br />

jpeg<br />

modem<br />

mp3<br />

mpeg4<br />

tcpip<br />

wbamr<br />

zlib<br />

Fig. 8. Comparison of code size between C64x and C64+ at “-ms2”<br />

the figure shows, when compil<strong>in</strong>g for maximum performance, the <strong>in</strong>struction set<br />

extensions yield an average 11.5 percent code size sav<strong>in</strong>gs with no reduction <strong>in</strong><br />

performance (po<strong>in</strong>ts on the middle l<strong>in</strong>e). The po<strong>in</strong>ts on the leftmost l<strong>in</strong>e <strong>in</strong>dicate<br />

the performance and code size with the addition of the software pipel<strong>in</strong>ed loop<br />

buffer (SPLOOP). When compil<strong>in</strong>g for maximum performance, the use of the<br />

<strong>in</strong>struction set extensions and the software pipel<strong>in</strong>ed loop buffer result <strong>in</strong> an<br />

average 17.4 percent code size reduction with no change <strong>in</strong> performance.<br />

As shown <strong>in</strong> fig. 9, the <strong>in</strong>struction set extensions create a larger code size and<br />

performance tradeoff range. When a developer’s primary desire is to control code<br />

size, this additional range can be useful <strong>in</strong> balanc<strong>in</strong>g performance and code size<br />

<strong>in</strong> a memory-constra<strong>in</strong>ed application common <strong>in</strong> embedded systems.

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

Saved successfully!

Ooh no, something went wrong!