From richard at imagecraft.com Fri Jun 26 01:16:36 2009 From: richard at imagecraft.com (Richard Man) Date: Fri Jun 26 02:26:41 2009 Subject: [Icc-announce] ICCAVR 7.22 released Message-ID: <200906260926.n5Q9QeUK088352@mail.imagecraft.com> Change Log: V7.22 - June 25th 2009 IDE - Changed -D__ICC_VERSION=XXX where XXX is the version in integer form, e.g. 722. This allows easier conditional compilation. - XM128 bootloader was not emitting -xcall due to a typo. - Modified the "checking" options, now they are "Strict Checking" (equivalent to -A command line switch). "ANSI C Portability Conformance Checking" (equivalent to -A -A). This does draconian check on conditions that exceed ANSI C minimum limits (e.g. less than 512 variables) and is usually not needed. Compiler - Now always performs constant folding even if the constants *may* overflow (e.g. clock rate calculation) - Fixed XMEGA option not turning on enhanced core code generation error. - Added #pragma warning warning message emits warning message, similar to #warning #pragma ignore_unused_var name1 name2 ... This must appear inside a function and specifies the named arguments are intentionally unused so no warning message should be generated for them. - C Interrupt handlers for M256 or above now saves and restores EIND. - Fixed a latent typo bug where incorrect registers might be used with "mulsu" and "muls" instructions (they take limited register set). - Fixed a rare error where mulsu/muls may incorrectly be used in expressions as follows: unsigned int x; unsigned char *pi; unsigned char n; x = (*pi++) * n; // should use MUL and not MULSU/MULS Header Files - many updates for XMega etc. Library - Some floating point low level routines use R20-R23, making the library incompatible with the "Do Not Use R20..R23" option. This has been fixed. - Enabled fast scaled math versions of sinf and cosf // richard blog: On-line orders, support, and listservers available on web site. [ For technical support on ImageCraft products, please include all previous replies in your msgs. ]