SV: [Icc-avr] V7.16A BETA0

Richard Man richard-lists at imagecraft.com
Tue Feb 26 03:52:07 PST 2008


The "number" issue indicates that you are using the MIO global 
optimizer which has not changed for a while. Actually, the devteam is 
feverishly working on MIO V2, hopefully we will have good news soon - 
anyway, please email me offlist with compilable example and I will 
take a look. Thanks.

At 03:34 AM 2/26/2008, Steven Lose wrote:
>Hi Richard.
>
>I still have problems with floats after updating to 7.16A from 7.14B
>
>Listed below is something odd, the variables fToPi and fStep does 
>not init to the values?
>There is not generated any code for those lines?!
>
>Some other thing, the variables have a number attached to them, 
>apparently added by the compiler!
>
>
>
>_LcdCirkel:
>   ucY1                 --> R10
>   ucX1                 --> R12
>   fPosY1               --> Y,+41
>   fPosX1               --> Y,+37
>   fYsin1               --> Y,+33
>   fXcos1               --> Y,+29
>   fDegree0             --> Y,+25
>   fRadius0             --> Y,+21
>   fY0                  --> Y,+17
>   fX0                  --> Y,+13
>   ucGlY0               --> R22
>   ucGlX0               --> R20
>   DrawClr              --> Y,+55
>   Radius               --> Y,+53
>   Y                    --> R10
>   X                    --> R12
>     A194 940E E160 CALL push_xgsetF03C
>     A196 2EA2      MOV  R10,R18
>     A197 2EC0      MOV  R12,R16
>     A198 97AD      SBIW R28,0x2D
>(0737) }
>(0738)
>(0739) void LcdCirkel(unsigned char X,unsigned char Y,unsigned char 
>Radius,unsigned char DrawClr)
>(0740) {
>(0741)  float fXcos,fYsin;
>(0742)  float fDegree;
>(0743)  float fRadius;
>(0744)  float fX,fY;
>(0745)  float fPosX,fPosY;
>(0746)  float fToPi = 6.28318530718;
>(0747)  float fStep = 0.01745329252;
>(0748)  unsigned char ucX;
>(0749)  unsigned char ucY;
>(0750)  unsigned char ucGlX = 255;
>     A199 EF4F      LDI  R20,0xFF
>(0751)  unsigned char ucGlY = 255;
>

// richard (This email is for mailing lists. To reach me directly, 
please use richard at imagecraft.com) 



More information about the Icc-avr mailing list