<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C4B679.32DFC3C0">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="time"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="date"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-language:AR-SA;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EmailFormatvorlage17
        {mso-style-type:personal-compose;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Normale Tabelle";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=DE link=blue vlink=purple style='tab-interval:35.4pt'>

<div class=Section1>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>Hi </span></font><st1:PersonName><font
 size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
 "Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>Monty</span></font></st1:PersonName><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>, </span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>Obviously
you have a problem with TI DSPs and the corresponding tool chain. I just want
to state, that this is at least not the impression of everyone in this mailing
list. </span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";
mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>I
worked with TI DSPs more than a year and it's even hard for me to understand
your arguments. A C5416 DSP has only a 16bit-Core (compared to ARM 32bit) and
this is the reason for the most inefficiencies. All 32-bit variables cannot be
processed in registers (except the accumulators) and all operations on 32bit
variables were translated with calls to stdlib functions. Furthermore the
compiler itself does nothing else than translating the c-code into assembler. The
code is only optimized, if the optimizer is enabled. I had a look on the
efficiency of the assembler output in a number of cases. If the optimizer is on
(g2 or g3) and the Debug Info is disabled, in the most cases I couldn't get a
reasonable better result writing this part of code in assembler. Exceptions are
the calls to stdlib functions. Therefore it is best to start optimization work
in those parts which include a lot of calculations - e.g. IMDCT, Overlap Add
and Spectral Envelope - but I'm convinced this is nothing new for you. </span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>I do
not want to criticise you, especially not because I think you've done really a
great job by implementing Vorbis and Tremor. But I also think that it is not
fair to compare a 16bit-DSP with a 32bit-Microcontroller (which has even more
an assembler instruction set especially developed for efficient c-code
translation). Let us compare the C5416 DSP with 16-bit CPUs of other chip
producers. I have not heard from Ogg Vorbis running on another 16bit CPU. Is
there any port available?</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:
"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>I
also had similar problems that CCS does not respond after running a program. But
after digging into the sources I always found the error on my side. Once there
was a stack overflow, once the memory allocated was not available. (Then I
wished that there would have been a check on null-pointers after an alloc.) But
finally the codec works fine, even on a TI DSP (not C5416, but C5510)! Furthermore
I think that CCS has included a number of very nice and helpful features. When
you use DSP/BIOS you can display the current CPU-Load and tools are provided to
measure execution times of functions and modules. Additionally your application
is not limited to one task anymore - multitasking applications are possible. </span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span
class=SpellE><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";mso-bidi-font-family:"Courier New"'>Regards</span></font></span><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'>, Roland</span></font><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'>-----Ursprüngliche Nachricht-----</span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'>Von: tremor-bounces@xiph.org [</span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'><a href="mailto:tremor-bounces@xiph.org">mailto:tremor-bounces@xiph.org</a></span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'>] Im Auftrag von </span></font><st1:PersonName><font
 size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
 mso-bidi-font-family:"Courier New"'>Monty</span></font></st1:PersonName><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'>Gesendet: Montag, 18. Oktober 2004 21:33</span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'>An: Jochen Wolff</span></font><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>Cc: </span></font><st1:PersonName><font
 size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
 "Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>tremor@xiph.org</span></font></st1:PersonName><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>Betreff:
Re: [Tremor] TI55xx implementation: stuck</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>On </span></font><st1:date
Month="10" Day="15" Year="2004"><font size=2 face="Courier New"><span
 lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:
 "Courier New";mso-ansi-language:EN-GB'>Fri, Oct 15, 2004</span></font></st1:date><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'> at </span></font><st1:time
Hour="18" Minute="57"><font size=2 face="Courier New"><span lang=EN-GB
 style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";
 mso-ansi-language:EN-GB'>06:57:18PM</span></font></st1:time><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'> +0200, Jochen
Wolff wrote:</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";
mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
Hi all!</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";
mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt; </span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
I'm trying to implement the Tremor code on a TI55xx DSP board. As I'm </span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt; <span
class=GramE>a</span> real newbe with both the Tremor Code and DSP programming
I'm really </span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";
mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt; <span
class=GramE>a</span> bit stuck at the moment. And I'm not really good in all
the </span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";
mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
programming either. What I managed to do so far is compiling the </span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
Tremor code with GCC and the provided makefile.</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt; </span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
My main problems are:</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:
"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
- Solving the problem with 64bit variables and rewriting the basic </span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt; <span
class=GramE>math</span> functions needed. Is it necessary to do that in
assembler or <span class=GramE>can</span> </span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
I get away with it?</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:
"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>None
of the 64 bit math needs to be fast; it's only used in a few places to track 64
bit fields in the header, like granpos.</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>I
have an implementation of the basic 64 bit math needed as a header, I'll dig
that out (nudge me if I don't send it in a day or two).</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
- Spotting all commands in the code where 64bit variables cause a </span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt; <span
class=GramE>problem</span>.</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:
"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span
class=GramE><font size=2 face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:
EN-GB'>ogg_uin64</span></font></span><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:
"Courier New";mso-ansi-language:EN-GB'> should find them :-)</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
- Transporting the code into TI CCStudio:</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>First
off: I'm terribly sorry you're stuck with CCS.<span style='mso-spacerun:yes'> 
</span>CCS really drives home that fact that TI doesn't seem to actually use
any C code themselves.<span style='mso-spacerun:yes'>  </span>It is a perfectly
awful compiler.<span style='mso-spacerun:yes'>  </span>You can expect to need
to write alot of assembly to get acceptible performance.<span
style='mso-spacerun:yes'>  </span>The TI DSPs are nice chips, but they do
suffer from a low quality toolchain.</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
understand what the autogen</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:
"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt; <span
class=GramE>function</span> does, replace it and get both the library and the
program </span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";
mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt; <span
class=GramE>code</span> compiled in CCS.</span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>All
autogen does is try to automatically build a makefile that takes into account
all the quirks and requirements of a given platform, a necessity under UNIX
where you could be building on one of thousands of OS/platform/toolchain
variants.<span style='mso-spacerun:yes'>  </span>However, the autogen stuff is
useless to you as you're on an embedded platform.<span
style='mso-spacerun:yes'>  </span>It's included in Tremor mostly so that if you
have a UNIX-like environment, you can build a copy of Tremor for the general
purpose CPU and use that other working copy as a behavioral sanity check while
porting.</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";
mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
I've read in previous threads that some people have done it before. </span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
However, the hints to the solutions of my problems were not sufficient </span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'>&gt; <span class=SpellE>for</span> <span
class=SpellE>me</span>.</span></font><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>I've
ported Tremor to 5416.<span style='mso-spacerun:yes'>  </span>I'm not in a mood
to ever touch it again, assuming I even could (After a code-merge from upstream
and a recompile, CCS got its panties wedged into a state where any attempt to
touch the Tremor object code causes the IDE to crash.<span
style='mso-spacerun:yes'>  </span><span class=SpellE>TI's</span> support advice
was to 'back out the changes that cause the UI to crash'. Thanks guys, but I'd
rather just abandon your product entirely. Fortunately other engineers who were
better with the 5416 took over <span class=GramE>the <span class=SpellE>codebase</span></span>
at that time).</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";
mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
Could</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";
mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt; <span
class=GramE>someone</span> please help me! Either by detailed information or
maybe by </span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";
mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>&gt;
providing the modified source code? I would be extremely thankful!</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>I
will get you some source code goodness.<span style='mso-spacerun:yes'>  </span>I
prefer you use it as a guide and not take it as gospel; naturally, I'm good
with Tremor but I was never terribly good at working with the 5416.<span
style='mso-spacerun:yes'>  </span>For all I know, I'd been going at it all
wrong from the beginning.</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:
"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><st1:PersonName><font
 size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
 "Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>Monty</span></font></st1:PersonName><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>_______________________________________________</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>Tremor
mailing list</span></font><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Courier New";
mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'>Tremor@xiph.org</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
mso-bidi-font-family:"Courier New"'><a
href="http://lists.xiph.org/mailman/listinfo/tremor"><span lang=EN-GB
style='mso-ansi-language:EN-GB'>http://lists.xiph.org/mailman/listinfo/tremor</span></a></span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New";mso-bidi-font-family:"Courier New";mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-bidi-font-family:Arial;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>