<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Jean-Marc,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Last week I tried the SVN code (build 11700) on the 
TI C55x DSP, and found that operation was broken again.  I traced this to 
build 11522, committed on 5 June.  The problem is in lsp.c, function 
lsp_to_lpc().  The line (lsp.c line 461 in build 11700):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>    xin = 1<<(QIMP-1); /* 0.5 
in QIMP format */<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>evaluates to zero.  The following change 
corrects the problem:</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2>    xin = SHL32(EXTEND32(1), 
(QIMP-1)); /* 0.5 in QIMP format */<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jim Crichton</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>