Thanks to all for the typo lesson. Looks like the >>= operator actually results in less code.
-Mark -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of David Brown Sent: Tuesday, December 03, 2002 10:40 AM To: [email protected] Subject: Re: [Mspgcc-users] Shift Operators? > Example code attached. > Note line 45 has no resulting assembly. This was compiled w/ no > optimizations. > -Mark > That's because line 45 doesn't do anything: i >> 4; Try replacing it with i >>= 4; and see if that works better. It's these sort of small typos that make C such a joy to use... You might also want to use the -W and -Wall flags to let the compiler warn you about such things. mvh. David > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Dmitry > Sent: Tuesday, December 03, 2002 9:44 AM > To: [email protected] > Subject: Re: [Mspgcc-users] Shift Operators? > > > sources? example code? > ~d > > On Tuesday 03 December 2002 17:41, Mark Stokes wrote: > > Looks like shift operators are just being ignored. The easy > workaround > > is to multiply or divide by a power of 2. > > Am I missing something? Is this support planned? > > -Mark > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Get the new Palm Tungsten T > > handheld. Power & Color in a compact size! > > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > > _______________________________________________ > > Mspgcc-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > > -- > /******************************************************************** > ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ > `6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys > (_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44 > _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia > (il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314 > ********************************************************************/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > ------------------------------------------------------- This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at: http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en _______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users
