Blocked revisions 10396,10418-10419,10432-10433,10443,10859,10888,10904 via svnmerge
........
r10396 | jonas | 2008-02-27 16:56:40 +0100 (Wed, 27 Feb 2008) | 7 lines
* moved transformation of "mul by power-of-2" to shl from type check
pass to pass 1 (where most optimizing transformations are located,
and because the way it's written it goes wrong if left and right are
a constant, and I'm working on moving the simplify code after the
typechecking code so the resulttype for constant and non-constant
expressions can be the same)
........
r10418 | jonas | 2008-03-01 21:48:50 +0100 (Sat, 01 Mar 2008) | 13 lines
* call taddnode.simplify at the very end of taddnode.pass_typecheck, so
it doesn't have to duplicate any type checking code, and so constant
expressions get the same resultdefs as non-constant expressions
* properly fixed resultdef determination of "set + setelementn" (follows
same rules now as "set + set")
* also convert "longint or/xor cardinal" to int64 (needed for correct
results with negative numbers and Delphi-compatible) + test
* extended 64-to-32 type conversion simplification to also handle
or/xor nodes (so if the result is typecasted back to 32 bit, the
evaluation can still be done entirely in 32 bit). These changes also
enable that optimization in some extra cases (not just anymore for
expressions containing only uint32)
........
r10419 | jonas | 2008-03-02 10:44:14 +0100 (Sun, 02 Mar 2008) | 3 lines
* fixed warnings now that "longint or cardinal" gives a 64 bit result
(part of r10418, forgot to commit)
........
r10432 | peter | 2008-03-02 18:48:27 +0100 (Sun, 02 Mar 2008) | 2 lines
* cleanup and simplify the set type handling
........
r10433 | jonas | 2008-03-02 21:00:52 +0100 (Sun, 02 Mar 2008) | 2 lines
* fixed wrong check in r10432 causing an internalerror for ppc/ppc64
........
r10443 | jonas | 2008-03-05 00:21:52 +0100 (Wed, 05 Mar 2008) | 2 lines
* fixed compilation with 2.2.0 on big endian systems after r10432
........
r10859 | jonas | 2008-05-02 16:04:02 +0200 (Fri, 02 May 2008) | 2 lines
* regenerated messages
........
r10888 | micha | 2008-05-05 20:46:55 +0200 (Mon, 05 May 2008) | 1 line
* regenerate Makefiles to get armeb-linux support globally (also arm-darwin, so it seems)
........
r10904 | jonas | 2008-05-07 20:11:18 +0200 (Wed, 07 May 2008) | 3 lines
* fixed wrong internal error in case a swapped set <op> setelement
addnode was processed after r10432/10433 (mantis #11255)
........
git-svn-id: branches/fixes_2_2@10915 -