Michael Beck [Sat, 10 Apr 2010 05:31:32 +0000 (05:31 +0000)]
Probably compute_Cmp() can ge removed at all, compute_Proj_Cmp() does the interesting work.
[r27368]
Michael Beck [Fri, 9 Apr 2010 15:34:33 +0000 (15:34 +0000)]
Bugfix: add missing NaN handling for Cmp nodes inside combo.
This fixes testsuite/backend/floatset.c ...
[r27367]
Matthias Braun [Fri, 9 Apr 2010 14:17:17 +0000 (14:17 +0000)]
another case fo missing statistics/missing outedge invalidation in confirm construction
[r27366]
Matthias Braun [Fri, 9 Apr 2010 14:03:51 +0000 (14:03 +0000)]
fix consconfirm missing nodes in its statistics and worse not invalidating out-edges because of that
[r27365]
Michael Beck [Fri, 9 Apr 2010 12:40:01 +0000 (12:40 +0000)]
Partly undo r27277 and add a prototype for (formally undocumented) find_value(), needed by the edgjfe FE.
[r27363]
Michael Beck [Fri, 9 Apr 2010 12:38:55 +0000 (12:38 +0000)]
Add a type_dbg_info_ptr type, just like all others.
[r27362]
Matthias Braun [Wed, 7 Apr 2010 16:11:51 +0000 (16:11 +0000)]
NEWS update
[r27360]
Matthias Braun [Wed, 7 Apr 2010 16:11:36 +0000 (16:11 +0000)]
allocate memory for peephole values on heap; us DB instead of DBG
[r27359]
Matthias Braun [Wed, 7 Apr 2010 14:20:34 +0000 (14:20 +0000)]
fix the sub esp,4 => push peephole optimisation
[r27356]
Michael Beck [Wed, 7 Apr 2010 06:45:26 +0000 (06:45 +0000)]
C99 feature removed.
[r27352]
Matthias Braun [Tue, 6 Apr 2010 14:53:06 +0000 (14:53 +0000)]
revert accidental commit which disable node number and index dumping
[r27350]
Matthias Braun [Tue, 6 Apr 2010 14:37:06 +0000 (14:37 +0000)]
add a bitset_copy_into function and use it in belive.c to avoid assertion failures
[r27348]
Matthias Braun [Tue, 6 Apr 2010 13:33:13 +0000 (13:33 +0000)]
model Unknowns as own nodes (but not in form of an unknown register)
[r27347]
Matthias Braun [Tue, 6 Apr 2010 13:32:33 +0000 (13:32 +0000)]
remove get_XXX_attr type functions
[r27346]
Sebastian Buchwald [Wed, 31 Mar 2010 08:13:27 +0000 (08:13 +0000)]
Fixed typo
[r27333]
Sebastian Buchwald [Wed, 31 Mar 2010 07:25:48 +0000 (07:25 +0000)]
ir_node already has a loop field
[r27332]
Matthias Braun [Tue, 30 Mar 2010 12:42:39 +0000 (12:42 +0000)]
debug output wasn't always initialized properly
[r27330]
Matthias Braun [Mon, 29 Mar 2010 16:19:56 +0000 (16:19 +0000)]
automatically generate most getter/setter functions of firm nodes
[r27328]
Michael Beck [Mon, 29 Mar 2010 14:13:30 +0000 (14:13 +0000)]
remove _GNU_SOURCE define again and add AC_FUNC_STRTOLD autoconf macro
[r27325]
Christian Helmer [Fri, 26 Mar 2010 15:24:12 +0000 (15:24 +0000)]
loop inversion: Fixed bug, that prevented compilation of SPEC/perlbmk.
[r27324]
Sebastian Buchwald [Thu, 25 Mar 2010 13:50:14 +0000 (13:50 +0000)]
Reverted r27289, since it brokes a lot of tests on some architectures.
[r27323]
Christian Helmer [Wed, 24 Mar 2010 10:11:50 +0000 (10:11 +0000)]
Loop inversion is more elegant and cleaned up now by using phases. Testsuite runs successfully with loop inversion.
[r27321]
Jonas Fietz [Thu, 18 Mar 2010 01:32:07 +0000 (01:32 +0000)]
set a few more variables to const to prevent bugs
[r27318]
Jonas Fietz [Thu, 18 Mar 2010 01:32:07 +0000 (01:32 +0000)]
fix warning about unused variable
[r27317]
Jonas Fietz [Thu, 18 Mar 2010 01:32:06 +0000 (01:32 +0000)]
Add temporary fix for conv-problems
[r27316]
Jonas Fietz [Thu, 18 Mar 2010 01:32:05 +0000 (01:32 +0000)]
remove ir_printf and replace with DBG
[r27315]
Jonas Fietz [Thu, 18 Mar 2010 01:32:04 +0000 (01:32 +0000)]
fix a few subtle bugs in vrp
[r27314]
Jonas Fietz [Thu, 18 Mar 2010 01:32:04 +0000 (01:32 +0000)]
VRP: Adapt meaning of bits_not_set
now, a 0 means that a 0 is set for sure
[r27313]
Jonas Fietz [Thu, 18 Mar 2010 01:32:03 +0000 (01:32 +0000)]
Fix bug left over from seperating merging and derivation of info
[r27312]
Jonas Fietz [Wed, 17 Mar 2010 20:16:29 +0000 (20:16 +0000)]
Fix bug, where only partial information was set for confirm nodes
[r27311]
Matthias Braun [Wed, 17 Mar 2010 15:14:59 +0000 (15:14 +0000)]
invalidate phase info before starting the code selection; temporary disable freeing of old phases in dead code elimination to avoid problems
[r27309]
Michael Beck [Tue, 16 Mar 2010 22:50:42 +0000 (22:50 +0000)]
Set svn:keywords property.
[r27308]
Michael Beck [Tue, 16 Mar 2010 22:49:24 +0000 (22:49 +0000)]
Fixed immediate range (hint: never use decimals for that ...).
[r27307]
Michael Beck [Tue, 16 Mar 2010 22:45:46 +0000 (22:45 +0000)]
C99 feature removed, svn properties added.
[r27306]
Michael Beck [Tue, 16 Mar 2010 22:41:30 +0000 (22:41 +0000)]
C99 feature removed, fixed indentation.
[r27305]
Jonas Fietz [Tue, 16 Mar 2010 22:18:51 +0000 (22:18 +0000)]
Fix coding style
[r27304]
Matthias Braun [Tue, 16 Mar 2010 15:59:39 +0000 (15:59 +0000)]
allow unnamed structs
[r27303]
Sebastian Buchwald [Mon, 15 Mar 2010 15:39:30 +0000 (15:39 +0000)]
Fixed some warnings related to FIRM_KAPS.
[r27302]
Matthias Braun [Mon, 15 Mar 2010 15:23:03 +0000 (15:23 +0000)]
I accidentally committed my minir hooks, oh well let's add the unfinished dumper too
[r27301]
Matthias Braun [Mon, 15 Mar 2010 15:17:41 +0000 (15:17 +0000)]
fix various warnings reported by cparser
[r27300]
Matthias Braun [Mon, 15 Mar 2010 14:29:13 +0000 (14:29 +0000)]
kill the concept of an unknown register - it just heavily complicates code for nearly no gain
[r27297]
Matthias Braun [Mon, 15 Mar 2010 08:32:26 +0000 (08:32 +0000)]
remove unused vars
[r27295]
Matthias Braun [Fri, 12 Mar 2010 19:04:19 +0000 (19:04 +0000)]
rework bitset to use raw_bitset
[r27293]
Matthias Braun [Fri, 12 Mar 2010 12:38:02 +0000 (12:38 +0000)]
rename popcnt to popcount; avoid inline assembly in favor of gcc builtin functions
[r27291]
Matthias Braun [Fri, 12 Mar 2010 12:36:56 +0000 (12:36 +0000)]
update jinja version
[r27290]
Matthias Braun [Thu, 11 Mar 2010 17:40:59 +0000 (17:40 +0000)]
no need for obstack_printf from libc (we provide our own); no need to explicitely check for C89 function strerror
[r27289]
Michael Beck [Thu, 11 Mar 2010 09:00:23 +0000 (09:00 +0000)]
- fixed off-by-one error after phase refactoring
- deleted header file of already gone irdump_grgen.c
[r27287]
Matthias Braun [Wed, 10 Mar 2010 17:45:14 +0000 (17:45 +0000)]
fix stupid error in my last commit
[r27286]
Matthias Braun [Wed, 10 Mar 2010 17:25:21 +0000 (17:25 +0000)]
- fix most of the -Wunreachable-code and -Wlogical-op warnings
- rework ir_phase API
(sorry for mixing these 2 things into 1 commit)
[r27285]
Matthias Braun [Tue, 9 Mar 2010 21:14:15 +0000 (21:14 +0000)]
make firm (mostly) -Wmissing-prototypes clean
[r27277]
Matthias Braun [Tue, 9 Mar 2010 19:54:04 +0000 (19:54 +0000)]
not used anymore (you can revive it from svn if needed)
[r27276]
Matthias Braun [Tue, 9 Mar 2010 19:51:50 +0000 (19:51 +0000)]
noone was using these _verbose flags
[r27275]
Matthias Braun [Tue, 9 Mar 2010 15:38:51 +0000 (15:38 +0000)]
fix doxygen errors and warnings; add some missing declarations
[r27274]
Matthias Braun [Sun, 7 Mar 2010 22:21:24 +0000 (22:21 +0000)]
merge common graph copying code; move dead code elimination into an own file
[r27271]
Matthias Braun [Sun, 7 Mar 2010 22:20:43 +0000 (22:20 +0000)]
exchange (brain damaged) defines with inline functions
[r27270]
Matthias Braun [Sun, 7 Mar 2010 20:21:31 +0000 (20:21 +0000)]
forgot to check for dead blocks in 1 case
[r27268]
Matthias Braun [Sun, 7 Mar 2010 20:16:41 +0000 (20:16 +0000)]
merge similar Load von non-null address optimisations and make it a localopt only
[r27267]
Matthias Braun [Sun, 7 Mar 2010 17:28:47 +0000 (17:28 +0000)]
the walking strategy in the dominance calculation doesn't always find all dead blocks - try to ignore them
[r27266]
Matthias Braun [Sun, 7 Mar 2010 15:13:00 +0000 (15:13 +0000)]
- cleanup and simplify inlining code
- remove a bunch of code which unexpectedly dependent on current_ir_graph being
set to something
- fix unnecessary double creation of backedge arrays in some cases
[r27265]
Matthias Braun [Sun, 7 Mar 2010 11:29:17 +0000 (11:29 +0000)]
label start and end block in dumps
[r27264]
Matthias Braun [Sat, 6 Mar 2010 17:39:38 +0000 (17:39 +0000)]
fix warning
[r27259]
Christoph Mallon [Sat, 6 Mar 2010 10:49:06 +0000 (10:49 +0000)]
Minor cleanup.
[r27257]
Christoph Mallon [Sat, 6 Mar 2010 10:49:03 +0000 (10:49 +0000)]
Correct a subtle bug in the ia32 backend: Sub(x, x) triggered that the Neg+Add trick was used, which resulted in incorrect code.
[r27256]
Michael Beck [Sat, 6 Mar 2010 02:29:41 +0000 (02:29 +0000)]
BugFix: allow method entities to be initialized by an const_initializer.
[r27255]
Matthias Braun [Wed, 3 Mar 2010 14:51:41 +0000 (14:51 +0000)]
alloc has a count not a size argument, reflect this in method names
[r27254]
Matthias Braun [Mon, 1 Mar 2010 13:38:45 +0000 (13:38 +0000)]
- remove block parameter from new_r_Proj and new_rd_Proj
- cleanup ir_spec generation a bit
[r27251]
Matthias Braun [Mon, 1 Mar 2010 11:48:24 +0000 (11:48 +0000)]
fix for my last commit
[r27250]
Matthias Braun [Mon, 1 Mar 2010 11:44:57 +0000 (11:44 +0000)]
raw_bitset dependes on bitfiddle and other internals and isn't useful for public API
[r27249]
Michael Beck [Sat, 27 Feb 2010 10:27:58 +0000 (10:27 +0000)]
Removed useless forward declaration of ir_phase.
[r27248]
Michael Beck [Sat, 27 Feb 2010 10:21:12 +0000 (10:21 +0000)]
- removed C99 features
- kicked some superflous calls
- set svn properties
[r27247]
Michael Beck [Sat, 27 Feb 2010 10:19:24 +0000 (10:19 +0000)]
- add missing include
- removed C99 feature
[r27246]
Michael Beck [Sat, 27 Feb 2010 09:55:22 +0000 (09:55 +0000)]
- removed C99 features
- removed useless Id-node creation
- reordered conditions from cheap to expensive
[r27245]
Michael Beck [Sat, 27 Feb 2010 09:40:48 +0000 (09:40 +0000)]
Undo wrong r27240 and fix an off-by-one bug when a phase is enlarged.
[r27244]
Jonas Fietz [Sat, 27 Feb 2010 04:41:21 +0000 (04:41 +0000)]
remove doubly included config.h
Thanks to intelligent merging...
[r27243]
Jonas Fietz [Sat, 27 Feb 2010 04:38:39 +0000 (04:38 +0000)]
Copy phase information in DCE to preserve it over index defragmentation
We copy over the information for alive nodes so that it is not lost. The
alternative would be deleting it, otherwise the information is wrong as
the indices change.
[r27242]
Jonas Fietz [Sat, 27 Feb 2010 01:32:37 +0000 (01:32 +0000)]
Remove code for range_node and bits_node
Remove support for relative ranges and relative bitsets
[r27241]
Jonas Fietz [Sat, 27 Feb 2010 01:32:36 +0000 (01:32 +0000)]
fix an offset bug in allocating memory for irg phases
[r27240]
Jonas Fietz [Sat, 27 Feb 2010 01:32:35 +0000 (01:32 +0000)]
rewrite vrp scanning to use a phase instead of attrs in ir_node
[r27239]
Jonas Fietz [Sat, 27 Feb 2010 01:32:34 +0000 (01:32 +0000)]
Fix documentation for init_irg_phase
[r27238]
Jonas Fietz [Sat, 27 Feb 2010 01:32:33 +0000 (01:32 +0000)]
Code cleanup in VRP code
Move declarations in blocks for each case
[r27237]
Jonas Fietz [Sat, 27 Feb 2010 01:32:33 +0000 (01:32 +0000)]
Replace the workqueue list with a waitq in vrp.c
[r27236]
Jonas Fietz [Sat, 27 Feb 2010 01:32:32 +0000 (01:32 +0000)]
set private functions to static in ir/ana/vrp.c
[r27235]
Jonas Fietz [Sat, 27 Feb 2010 01:32:32 +0000 (01:32 +0000)]
add some documentation to vrp.h
[r27234]
Jonas Fietz [Sat, 27 Feb 2010 01:32:31 +0000 (01:32 +0000)]
Replace if/else if cascade with switch(opcode)
[r27233]
Jonas Fietz [Sat, 27 Feb 2010 01:32:30 +0000 (01:32 +0000)]
Fix extraneous space and add config.h to vrp.c
[r27232]
Jonas Fietz [Sat, 27 Feb 2010 01:32:30 +0000 (01:32 +0000)]
Fix comments according to C89
Replace //-comments with traditional /*comments*/
[r27231]
Michael Beck [Sat, 27 Feb 2010 00:15:25 +0000 (00:15 +0000)]
- ensure that the additional node size is struct-aligned
- reduced number of calls
- kicked C99 comment
[r27230]
Michael Beck [Sat, 27 Feb 2010 00:13:18 +0000 (00:13 +0000)]
Add missing config.h include.
[r27229]
Michael Beck [Fri, 26 Feb 2010 22:32:33 +0000 (22:32 +0000)]
Fixed inverted condition: Linux have strtold, not windows (and cygwin).
[r27227]
Matthias Braun [Fri, 26 Feb 2010 13:56:32 +0000 (13:56 +0000)]
new_Block doesn't set current_block anymore; remove some unused and strange functions
[r27226]
Matthias Braun [Fri, 26 Feb 2010 13:55:26 +0000 (13:55 +0000)]
the java frontend keeps methods in class types
[r27225]
Matthias Braun [Fri, 26 Feb 2010 13:53:23 +0000 (13:53 +0000)]
this assert seems to be wrong for the java frontend (and the C frontends never set peculiarity anyway)
[r27224]
Matthias Braun [Fri, 26 Feb 2010 13:29:27 +0000 (13:29 +0000)]
fix bug where compound_graph_pathe were consider null
[r27223]
Christoph Mallon [Thu, 25 Feb 2010 12:44:16 +0000 (12:44 +0000)]
Remove the ugly and write-only variable cur_reg_set.
[r27219]
Christoph Mallon [Wed, 24 Feb 2010 15:53:45 +0000 (15:53 +0000)]
Simplify code: Do not handle Minus when creating immediates. The middle end should handle this.
[r27216]
Matthias Braun [Wed, 24 Feb 2010 15:04:40 +0000 (15:04 +0000)]
cleanups and bugfixes in the tarval module and a new lower-level tarval interface 'new_integer_tarval_from_str'
[r27211]
Christoph Mallon [Wed, 24 Feb 2010 14:12:35 +0000 (14:12 +0000)]
Fix a gammel-bug: try_create_Immediate() dropped the negation of Minus(Const()). In practice this never occurs, because constant folding folds the Minus.
[r27209]
Christoph Mallon [Sun, 21 Feb 2010 06:46:02 +0000 (06:46 +0000)]
Put opening curly brace of functions on a separate line. Last time I missed some.
[r27195]
Christoph Mallon [Sat, 20 Feb 2010 11:58:19 +0000 (11:58 +0000)]
Prefer get_mode_all_one() over get_tarval_all_one().
[r27193]
Christoph Mallon [Sat, 20 Feb 2010 11:49:20 +0000 (11:49 +0000)]
Prefer tarval_is_negative(x) over tarval_cmp(x, get_mode_null(get_tarval_mode(x))).
[r27191]