libfirm
16 years agoSome tweaks
Sebastian Hack [Fri, 16 Nov 2007 12:56:59 +0000 (12:56 +0000)]
Some tweaks

[r16554]

16 years agoChanges to the Appel dumper
Sebastian Hack [Fri, 16 Nov 2007 12:56:40 +0000 (12:56 +0000)]
Changes to the Appel dumper

[r16553]

16 years agoSmaller changes in statistic output bechordal_main.c
Sebastian Hack [Fri, 16 Nov 2007 12:56:15 +0000 (12:56 +0000)]
Smaller changes in statistic output bechordal_main.c
Added name of translation unit to be environment

[r16552]

16 years agoThe tables can now also have other names.
Sebastian Hack [Fri, 16 Nov 2007 12:52:28 +0000 (12:52 +0000)]
The tables can now also have other names.
Needed when you want to put multiple experiments in one database.

[r16551]

16 years agofehler001 problem with endless loops
Matthias Braun [Thu, 15 Nov 2007 13:18:09 +0000 (13:18 +0000)]
fehler001 problem with endless loops

[r16543]

16 years agodump consts local and keepalive by default
Matthias Braun [Wed, 14 Nov 2007 20:29:51 +0000 (20:29 +0000)]
dump consts local and keepalive by default

[r16542]

16 years agoassert that no entity with wrong mode is used as initializer
Matthias Braun [Wed, 14 Nov 2007 19:44:06 +0000 (19:44 +0000)]
assert that no entity with wrong mode is used as initializer

[r16540]

16 years ago- added mapper for hyperbolic functions
Michael Beck [Wed, 14 Nov 2007 15:44:41 +0000 (15:44 +0000)]
- added mapper for hyperbolic functions
- restructured code

[r16532]

16 years ago- added more classification functions for floating point tarvals
Michael Beck [Wed, 14 Nov 2007 14:41:08 +0000 (14:41 +0000)]
- added more classification functions for floating point tarvals
- speed up some functions
- more comments added

[r16531]

16 years ago- i_mapper_cbrt added
Michael Beck [Wed, 14 Nov 2007 11:12:31 +0000 (11:12 +0000)]
- i_mapper_cbrt added
- more test cases added

[r16528]

16 years agofix handling of default pns in the backend (they don't need table entries)
Matthias Braun [Tue, 13 Nov 2007 20:18:29 +0000 (20:18 +0000)]
fix handling of default pns in the backend (they don't need table entries)

[r16526]

16 years agoi_mapper_log() added
Michael Beck [Tue, 13 Nov 2007 16:27:48 +0000 (16:27 +0000)]
i_mapper_log() added

[r16523]

16 years agofix my last commit
Matthias Braun [Sun, 11 Nov 2007 21:58:01 +0000 (21:58 +0000)]
fix my last commit

[r16516]

16 years agono need to include iroptimize.h in be.h
Matthias Braun [Sun, 11 Nov 2007 21:39:58 +0000 (21:39 +0000)]
no need to include iroptimize.h in be.h

[r16515]

16 years agoinclude iroptimize.h
Matthias Braun [Sun, 11 Nov 2007 21:39:36 +0000 (21:39 +0000)]
include iroptimize.h

[r16514]

16 years agouse set_using_irn_link and set_using_visited
Matthias Braun [Sun, 11 Nov 2007 21:39:09 +0000 (21:39 +0000)]
use set_using_irn_link and set_using_visited

[r16513]

16 years agoAdd crude tests for bool simplifications.
Christoph Mallon [Fri, 9 Nov 2007 11:28:18 +0000 (11:28 +0000)]
Add crude tests for bool simplifications.

[r16494]

16 years agoAdd a phase for bool optimisation.
Christoph Mallon [Fri, 9 Nov 2007 10:09:58 +0000 (10:09 +0000)]
Add a phase for bool optimisation.

[r16493]

16 years agoadd an get_irg_idx
Matthias Braun [Thu, 8 Nov 2007 17:48:33 +0000 (17:48 +0000)]
add an get_irg_idx

[r16490]

16 years agoadd support for graph_idx
Matthias Braun [Thu, 8 Nov 2007 17:07:46 +0000 (17:07 +0000)]
add support for graph_idx

[r16489]

16 years agoSupport ignore nodes
Sebastian Hack [Thu, 8 Nov 2007 07:33:36 +0000 (07:33 +0000)]
Support ignore nodes

[r16486]

16 years agomore tests added
Michael Beck [Thu, 8 Nov 2007 00:33:53 +0000 (00:33 +0000)]
more tests added

[r16485]

16 years agoGet rid of some get_irn_node_nr() which are still there.
Sebastian Hack [Wed, 7 Nov 2007 11:36:30 +0000 (11:36 +0000)]
Get rid of some get_irn_node_nr() which are still there.

[r16482]

16 years agoFixed a bug with ofg iteration.
Sebastian Hack [Wed, 7 Nov 2007 10:44:21 +0000 (10:44 +0000)]
Fixed a bug with ofg iteration.
The ..._break functions are no longer needed to close the iteration but were still present

[r16480]

16 years ago- removed useless spaces
Michael Beck [Wed, 7 Nov 2007 06:42:41 +0000 (06:42 +0000)]
- removed useless spaces
- add const specifier where possible

[r16477]

16 years agoadd missing \n at end
Michael Beck [Tue, 6 Nov 2007 23:04:19 +0000 (23:04 +0000)]
add missing \n at end

[r16476]

16 years agofixed svn properties
Michael Beck [Tue, 6 Nov 2007 22:55:29 +0000 (22:55 +0000)]
fixed svn properties

[r16475]

16 years agosimplified code
Michael Beck [Tue, 6 Nov 2007 22:51:22 +0000 (22:51 +0000)]
simplified code

[r16474]

16 years agotype finalization added
Michael Beck [Tue, 6 Nov 2007 22:49:18 +0000 (22:49 +0000)]
type finalization added

[r16473]

16 years agocleanup a bit: remove unnecessary calculations
Michael Beck [Tue, 6 Nov 2007 22:40:29 +0000 (22:40 +0000)]
cleanup a bit: remove unnecessary calculations

[r16472]

16 years ago- added missing skip_tid()
Michael Beck [Tue, 6 Nov 2007 22:03:03 +0000 (22:03 +0000)]
- added missing skip_tid()
- removed wrong const specifier

[r16471]

16 years agomore libc mapper functions added
Michael Beck [Tue, 6 Nov 2007 00:34:56 +0000 (00:34 +0000)]
more libc mapper functions added

[r16457]

16 years ago- made some arguments const
Michael Beck [Tue, 6 Nov 2007 00:04:45 +0000 (00:04 +0000)]
- made some arguments const
- is_strictConv() added

[r16456]

16 years agorename RELNOTES to the more gnuish NEWS
Matthias Braun [Mon, 5 Nov 2007 20:03:50 +0000 (20:03 +0000)]
rename RELNOTES to the more gnuish NEWS

[r16452]

16 years agoadd RELNOTES file
Matthias Braun [Mon, 5 Nov 2007 20:03:32 +0000 (20:03 +0000)]
add RELNOTES file

[r16451]

16 years agoadd missing files
Matthias Braun [Mon, 5 Nov 2007 20:03:27 +0000 (20:03 +0000)]
add missing files

[r16450]

16 years agoanother fix for disable statistics
Matthias Braun [Mon, 5 Nov 2007 19:23:54 +0000 (19:23 +0000)]
another fix for disable statistics

[r16446]

16 years agowe can't be sure that phis aren't used anymore when they're disposed
Matthias Braun [Mon, 5 Nov 2007 16:05:11 +0000 (16:05 +0000)]
we can't be sure that phis aren't used anymore when they're disposed

[r16437]

16 years agomore people were including bespillbelady.h
Matthias Braun [Mon, 5 Nov 2007 15:53:25 +0000 (15:53 +0000)]
more people were including bespillbelady.h

[r16436]

16 years agofix after bespillbelady.h is removed
Matthias Braun [Mon, 5 Nov 2007 15:50:41 +0000 (15:50 +0000)]
fix after bespillbelady.h is removed

[r16435]

16 years agoprefer rematerializable values when spilling, fix bug where displace spills values...
Matthias Braun [Mon, 5 Nov 2007 15:45:04 +0000 (15:45 +0000)]
prefer rematerializable values when spilling, fix bug where displace spills values that just got reloaded

[r16434]

16 years agocopy the belady3 changes to belady (only cleanups so far, no new functionality yet)
Matthias Braun [Mon, 5 Nov 2007 14:03:41 +0000 (14:03 +0000)]
copy the belady3 changes to belady (only cleanups so far, no new functionality yet)

[r16431]

16 years agofix warning
Matthias Braun [Mon, 5 Nov 2007 14:02:56 +0000 (14:02 +0000)]
fix warning

[r16430]

16 years agomore libc mapper functions added
Michael Beck [Mon, 5 Nov 2007 10:29:12 +0000 (10:29 +0000)]
more libc mapper functions added

[r16427]

16 years agofixed a bunch of warnings (in OPTIMIZE mode)
Matthias Braun [Sun, 4 Nov 2007 13:00:20 +0000 (13:00 +0000)]
fixed a bunch of warnings (in OPTIMIZE mode)

[r16424]

16 years agoremoved unfinished and unused code (we don't want that in the release)
Matthias Braun [Sun, 4 Nov 2007 12:19:16 +0000 (12:19 +0000)]
removed unfinished and unused code (we don't want that in the release)

[r16423]

16 years agostarted updating the automake files
Matthias Braun [Sat, 3 Nov 2007 17:19:56 +0000 (17:19 +0000)]
started updating the automake files

[r16420]

16 years agofix compilation with statistics disabled
Matthias Braun [Sat, 3 Nov 2007 14:22:03 +0000 (14:22 +0000)]
fix compilation with statistics disabled

[r16419]

16 years agomake get_Block_matured get_Block_cfgpred_block accept const ir_nodes, add a hash_irn...
Matthias Braun [Sat, 3 Nov 2007 14:15:18 +0000 (14:15 +0000)]
make get_Block_matured get_Block_cfgpred_block accept const ir_nodes, add a hash_irn function

[r16418]

16 years agoget rid of benodesets (in favour of ir_nodeset), report nextuse place in beuses
Matthias Braun [Sat, 3 Nov 2007 14:14:07 +0000 (14:14 +0000)]
get rid of benodesets (in favour of ir_nodeset), report nextuse place in beuses

[r16417]

16 years agoreport nextuse place in beuses, add a function which reports normal reload costs...
Matthias Braun [Sat, 3 Nov 2007 14:13:54 +0000 (14:13 +0000)]
report nextuse place in beuses, add a function which reports normal reload costs (not weighted with execfreqs) as integer number

[r16416]

16 years agoAdd missing return 0 in the Pow mapper.
Christoph Mallon [Sat, 3 Nov 2007 13:08:12 +0000 (13:08 +0000)]
Add missing return 0 in the Pow mapper.

[r16415]

16 years agoHandle mode_b Unknowns in the mode_b lowerer.
Christoph Mallon [Thu, 1 Nov 2007 21:04:13 +0000 (21:04 +0000)]
Handle mode_b Unknowns in the mode_b lowerer.

[r16414]

16 years agoremoved unused variable
Michael Beck [Thu, 1 Nov 2007 20:34:08 +0000 (20:34 +0000)]
removed unused variable

[r16413]

16 years agoAdd mapper for strcmp and memcpy
Michael Beck [Thu, 1 Nov 2007 20:27:22 +0000 (20:27 +0000)]
Add mapper for strcmp and memcpy

[r16411]

16 years agouse putchar so the thing links
Matthias Braun [Thu, 1 Nov 2007 15:46:12 +0000 (15:46 +0000)]
use putchar so the thing links

[r16410]

16 years agoexit with 0 so makereport is green
Matthias Braun [Thu, 1 Nov 2007 15:43:57 +0000 (15:43 +0000)]
exit with 0 so makereport is green

[r16409]

16 years agouse is_Const_0 not is_Const_null in fucom creation
Matthias Braun [Thu, 1 Nov 2007 15:19:48 +0000 (15:19 +0000)]
use is_Const_0 not is_Const_null in fucom creation

[r16408]

16 years agoclear the tarval buffer before fc_val_from_ieee754() fills bits in. There seems to...
Michael Beck [Thu, 1 Nov 2007 14:49:38 +0000 (14:49 +0000)]
clear the tarval buffer before fc_val_from_ieee754() fills bits in. There seems to be uninitialized bytes ...

[r16407]

16 years agocheck that Psi flags input doesn't depend on load when creating AM (fix fehler002)
Matthias Braun [Thu, 1 Nov 2007 13:25:54 +0000 (13:25 +0000)]
check that Psi flags input doesn't depend on load when creating AM (fix fehler002)

[r16404]

16 years agoanother fehler
Matthias Braun [Thu, 1 Nov 2007 11:51:49 +0000 (11:51 +0000)]
another fehler

[r16403]

16 years agofixed one testcase
Michael Beck [Wed, 31 Oct 2007 17:55:00 +0000 (17:55 +0000)]
fixed one testcase

[r16401]

16 years agoadd i_mapper_Sqrt() and i_mapper_Pow() for some constants
Michael Beck [Wed, 31 Oct 2007 17:48:56 +0000 (17:48 +0000)]
add i_mapper_Sqrt() and i_mapper_Pow() for some constants

[r16400]

16 years agoConv_A(Unknown_B) -> Unknown_A.
Christoph Mallon [Wed, 31 Oct 2007 17:18:13 +0000 (17:18 +0000)]
Conv_A(Unknown_B) -> Unknown_A.

[r16399]

16 years agotarval_is_minus_one() added
Michael Beck [Wed, 31 Oct 2007 17:06:12 +0000 (17:06 +0000)]
tarval_is_minus_one() added

[r16398]

16 years agotarval_is_minus_one() added
Michael Beck [Wed, 31 Oct 2007 17:05:06 +0000 (17:05 +0000)]
tarval_is_minus_one() added

[r16397]

16 years agoadd doxygen comments
Michael Beck [Wed, 31 Oct 2007 16:50:31 +0000 (16:50 +0000)]
add doxygen comments

[r16396]

16 years agofix remove_empty_blocks (don't use a generic walker it will get confused)
Matthias Braun [Mon, 29 Oct 2007 20:47:33 +0000 (20:47 +0000)]
fix remove_empty_blocks (don't use a generic walker it will get confused)

[r16393]

16 years agopeephole optimisation: reuse zero flag from previous ops if possible
Matthias Braun [Mon, 29 Oct 2007 20:21:06 +0000 (20:21 +0000)]
peephole optimisation: reuse zero flag from previous ops if possible

[r16392]

16 years agofix bugs when exchanging nodes to projs in bepeephole
Matthias Braun [Mon, 29 Oct 2007 20:20:15 +0000 (20:20 +0000)]
fix bugs when exchanging nodes to projs in bepeephole

[r16391]

16 years agofehler103: Unusual 64bit shift triggers assert in constraint handler.
Christoph Mallon [Mon, 29 Oct 2007 19:08:23 +0000 (19:08 +0000)]
fehler103: Unusual 64bit shift triggers assert in constraint handler.

[r16390]

16 years agoadd special case for lowering: x==/!=0 ==> l|h ==/!=0
Michael Beck [Mon, 29 Oct 2007 13:53:46 +0000 (13:53 +0000)]
add special case for lowering: x==/!=0 ==> l|h ==/!=0

[r16385]

16 years agotestcase for rts library call optimization
Michael Beck [Sun, 28 Oct 2007 23:43:39 +0000 (23:43 +0000)]
testcase for rts library call optimization

[r16380]

16 years agofix bug introduces in last commit
Matthias Braun [Sun, 28 Oct 2007 15:51:20 +0000 (15:51 +0000)]
fix bug introduces in last commit

[r16379]

16 years agocompile without warnings when WITH_JVM is not set
Matthias Braun [Sun, 28 Oct 2007 15:19:17 +0000 (15:19 +0000)]
compile without warnings when WITH_JVM is not set

[r16378]

16 years agocompile without warnings when WITH_JVM is not set
Matthias Braun [Sun, 28 Oct 2007 15:19:06 +0000 (15:19 +0000)]
compile without warnings when WITH_JVM is not set

[r16377]

16 years agoremove (x*A + A -> (x+1) * A) optimisation. As reassoc should produce as good/better...
Matthias Braun [Sun, 28 Oct 2007 13:39:03 +0000 (13:39 +0000)]
remove (x*A + A -> (x+1) * A) optimisation. As reassoc should produce as good/better code and leas prefer Mul before Add

[r16376]

16 years agomore interesting lea problems
Matthias Braun [Sun, 28 Oct 2007 12:57:59 +0000 (12:57 +0000)]
more interesting lea problems

[r16375]

16 years agoend block can also have 0 predecessors
Matthias Braun [Sun, 28 Oct 2007 12:51:17 +0000 (12:51 +0000)]
end block can also have 0 predecessors

[r16374]

16 years agoimprove asm test
Matthias Braun [Sun, 28 Oct 2007 12:30:51 +0000 (12:30 +0000)]
improve asm test

[r16373]

16 years agofixed handling of pn_Call_X_regular
Michael Beck [Fri, 26 Oct 2007 22:39:13 +0000 (22:39 +0000)]
fixed handling of pn_Call_X_regular

[r16372]

16 years agoC99 constructs removed
Michael Beck [Fri, 26 Oct 2007 22:38:32 +0000 (22:38 +0000)]
C99 constructs removed

[r16371]

16 years agomoved ia32 architecture configuration to a separate file and clean it up a bit
Matthias Braun [Fri, 26 Oct 2007 18:44:11 +0000 (18:44 +0000)]
moved ia32 architecture configuration to a separate file and clean it up a bit

[r16370]

16 years agosmall optimisation and cleanup
Matthias Braun [Fri, 26 Oct 2007 18:43:20 +0000 (18:43 +0000)]
small optimisation and cleanup

[r16369]

16 years agomake IS_ macros return 0 or 1
Matthias Braun [Fri, 26 Oct 2007 14:10:03 +0000 (14:10 +0000)]
make IS_ macros return 0 or 1

[r16368]

16 years agoadded some comments, don't make backedges fallthrough (we still could do better by...
Matthias Braun [Fri, 26 Oct 2007 12:55:57 +0000 (12:55 +0000)]
added some comments, don't make backedges fallthrough (we still could do better by choosing a good loop header/backedges, but this seems to be better than nothing)

[r16367]

16 years agoupdated cpu architectures
Michael Beck [Thu, 25 Oct 2007 23:27:07 +0000 (23:27 +0000)]
updated cpu architectures

[r16363]

16 years ago- invalidate loop info if graph was changed
Michael Beck [Thu, 25 Oct 2007 21:31:04 +0000 (21:31 +0000)]
- invalidate loop info if graph was changed
- changed indentation

[r16361]

16 years agoinvalidate analysis info only if graph was changed
Michael Beck [Thu, 25 Oct 2007 21:07:58 +0000 (21:07 +0000)]
invalidate analysis info only if graph was changed

[r16360]

16 years agoSet the outs to inconsistent at the end of transform_irg().
Christoph Mallon [Thu, 25 Oct 2007 20:41:54 +0000 (20:41 +0000)]
Set the outs to inconsistent at the end of transform_irg().

[r16359]

16 years agoC99 constructs removed
Michael Beck [Thu, 25 Oct 2007 20:07:07 +0000 (20:07 +0000)]
C99 constructs removed

[r16358]

16 years agofixed typo in Phi optimization
Michael Beck [Thu, 25 Oct 2007 20:06:49 +0000 (20:06 +0000)]
fixed typo in Phi optimization

[r16357]

16 years agoFixed Sub(Conv, Conv) optimization
Michael Beck [Thu, 25 Oct 2007 20:05:21 +0000 (20:05 +0000)]
Fixed Sub(Conv, Conv) optimization

[r16356]

16 years agoFix debug output.
Christoph Mallon [Thu, 25 Oct 2007 18:21:25 +0000 (18:21 +0000)]
Fix debug output.

[r16354]

16 years agoSmall cleanups.
Christoph Mallon [Thu, 25 Oct 2007 18:20:06 +0000 (18:20 +0000)]
Small cleanups.

[r16353]

16 years agoUse add_ia32_flags() instead of set_ia32_flags(), which was probably intended in...
Christoph Mallon [Thu, 25 Oct 2007 17:38:53 +0000 (17:38 +0000)]
Use add_ia32_flags() instead of set_ia32_flags(), which was probably intended in r16350.

[r16352]

16 years agofix parameter loads not being rematerialized
Matthias Braun [Thu, 25 Oct 2007 17:04:44 +0000 (17:04 +0000)]
fix parameter loads not being rematerialized

[r16350]

16 years agobugfix: the Op(Phi,Phi) optimization require both Phis in the same block
Michael Beck [Thu, 25 Oct 2007 16:25:54 +0000 (16:25 +0000)]
bugfix: the Op(Phi,Phi) optimization require both Phis in the same block

[r16349]

16 years agoHandle integer Abs for modes which are not 32bits wide.
Christoph Mallon [Thu, 25 Oct 2007 15:32:33 +0000 (15:32 +0000)]
Handle integer Abs for modes which are not 32bits wide.

[r16348]

16 years agofehler102: ia32 backend cannot handle integer Abs with modes which are not 32bit...
Christoph Mallon [Thu, 25 Oct 2007 15:31:35 +0000 (15:31 +0000)]
fehler102: ia32 backend cannot handle integer Abs with modes which are not 32bit wide.

[r16347]