libfirm
18 years agoRemoved old and unneeded stuff
Sebastian Hack [Wed, 31 May 2006 17:19:47 +0000 (17:19 +0000)]
Removed old and unneeded stuff

18 years agoMade it compile under vc2005
Sebastian Hack [Wed, 31 May 2006 16:16:53 +0000 (16:16 +0000)]
Made it compile under vc2005

18 years agoimplemented a function to retrieve estimated costs of an op
Adam Szalkowski [Wed, 31 May 2006 15:33:47 +0000 (15:33 +0000)]
implemented a function to retrieve estimated costs of an op

18 years agoadded check functions for the creation of the ifg
Johannes Spallek [Wed, 31 May 2006 15:19:01 +0000 (15:19 +0000)]
added check functions for the creation of the ifg

18 years agoAdded new check functions to check the correctness of an previous created ifg
Johannes Spallek [Wed, 31 May 2006 15:16:01 +0000 (15:16 +0000)]
Added new check functions to check the correctness of an previous created ifg

18 years agoadded a checker for the implementations (creation of an ifg)
Johannes Spallek [Wed, 31 May 2006 15:14:27 +0000 (15:14 +0000)]
added a checker for the implementations (creation of an ifg)

18 years agoadded new implementations to create an ifg
Johannes Spallek [Wed, 31 May 2006 15:13:05 +0000 (15:13 +0000)]
added new implementations to create an ifg

18 years agodumping inverse remats in cyan color
Adam Szalkowski [Wed, 31 May 2006 15:09:36 +0000 (15:09 +0000)]
dumping inverse remats in cyan color
modified insertion of remat2s at top of blocks

18 years agoBugFix: copy mode when creating inverse operation
Christian Würdig [Wed, 31 May 2006 14:29:03 +0000 (14:29 +0000)]
BugFix: copy mode when creating inverse operation

18 years ago- oops, debug code was in cvs
Matthias Braun [Wed, 31 May 2006 12:59:04 +0000 (12:59 +0000)]
- oops, debug code was in cvs

18 years ago- use foreach_out_edge_safe in remove_copies
Matthias Braun [Wed, 31 May 2006 12:10:13 +0000 (12:10 +0000)]
- use foreach_out_edge_safe in remove_copies

18 years agofixed Psi generation (get inversed instead of negated compare condition)
Christian Würdig [Wed, 31 May 2006 09:18:39 +0000 (09:18 +0000)]
fixed Psi generation (get inversed instead of negated compare condition)

18 years agofixed struct initializer
Christian Würdig [Wed, 31 May 2006 08:59:20 +0000 (08:59 +0000)]
fixed struct initializer
removed unsused variable

18 years agouse loop depth for computing execution frequencies by default
Adam Szalkowski [Tue, 30 May 2006 15:35:43 +0000 (15:35 +0000)]
use loop depth for computing execution frequencies by default

18 years agofixed MulS/Mulh generation
Christian Würdig [Tue, 30 May 2006 14:52:37 +0000 (14:52 +0000)]
fixed MulS/Mulh generation

18 years agofixed MulS/Mulh requirements
Christian Würdig [Tue, 30 May 2006 14:52:24 +0000 (14:52 +0000)]
fixed MulS/Mulh requirements

18 years agoadded xCondJmp emitter
Christian Würdig [Tue, 30 May 2006 14:52:02 +0000 (14:52 +0000)]
added xCondJmp emitter
fixed MulS/Mulh emit

18 years agocommitting ilp based spilling
Adam Szalkowski [Tue, 30 May 2006 14:43:54 +0000 (14:43 +0000)]
committing ilp based spilling
bespillappel not yet functional, ssa destruction moved outside of beraextern for use in bespillappel

18 years agofixed fp modes for x87 converts
Christian Würdig [Tue, 30 May 2006 13:28:08 +0000 (13:28 +0000)]
fixed fp modes for x87 converts
fixed CRLF

18 years agoadded missing % for fucom instruction
Christian Würdig [Tue, 30 May 2006 13:27:24 +0000 (13:27 +0000)]
added missing % for fucom instruction

18 years agofixed proj num mapping
Christian Würdig [Tue, 30 May 2006 12:10:46 +0000 (12:10 +0000)]
fixed proj num mapping

18 years agomris must be enabled explicitly now
Christian Würdig [Tue, 30 May 2006 12:10:10 +0000 (12:10 +0000)]
mris must be enabled explicitly now

18 years agoadded option for verifier
Christian Würdig [Tue, 30 May 2006 12:09:49 +0000 (12:09 +0000)]
added option for verifier
mris is now disabled by default

18 years agoadded option for verifier
Christian Würdig [Tue, 30 May 2006 12:08:59 +0000 (12:08 +0000)]
added option for verifier

18 years agoadded cvs id
Christian Würdig [Tue, 30 May 2006 09:05:36 +0000 (09:05 +0000)]
added cvs id
updated comments

18 years agoadded comments
Christian Würdig [Tue, 30 May 2006 09:02:35 +0000 (09:02 +0000)]
added comments
fixed indents
fixed CRLF

18 years ago* changed verfier to handle delay_slots (theoretically...)
Matthias Braun [Mon, 29 May 2006 15:46:38 +0000 (15:46 +0000)]
* changed verfier to handle delay_slots (theoretically...)
* verify functions don"t assert anymore but return int

18 years agofixed asserting on modes
Christian Würdig [Mon, 29 May 2006 14:22:18 +0000 (14:22 +0000)]
fixed asserting on modes

18 years agoadded check for some virtual fp loads
Christian Würdig [Mon, 29 May 2006 14:10:11 +0000 (14:10 +0000)]
added check for some virtual fp loads

18 years agoadded lowering for lowered intrinsic operations
Christian Würdig [Mon, 29 May 2006 14:09:47 +0000 (14:09 +0000)]
added lowering for lowered intrinsic operations

18 years agoadded nodes for intrinsic lowering
Christian Würdig [Mon, 29 May 2006 14:09:28 +0000 (14:09 +0000)]
added nodes for intrinsic lowering

18 years agoadded Div, Mod and Conv mapping
Christian Würdig [Mon, 29 May 2006 14:08:51 +0000 (14:08 +0000)]
added Div, Mod and Conv mapping

18 years agoadded new environment for intrinsic lowering
Christian Würdig [Mon, 29 May 2006 14:08:13 +0000 (14:08 +0000)]
added new environment for intrinsic lowering
fixed indents

18 years agoenable sse and x87 at the same time
Christian Würdig [Mon, 29 May 2006 14:07:36 +0000 (14:07 +0000)]
enable sse and x87 at the same time

18 years agouses bitsets to determine already visited phi nodes while spilling
Christian Würdig [Mon, 29 May 2006 14:05:34 +0000 (14:05 +0000)]
uses bitsets to determine already visited phi nodes while spilling

18 years agoswitch off firm optimization setting for certain backend phases
Christian Würdig [Mon, 29 May 2006 14:04:22 +0000 (14:04 +0000)]
switch off firm optimization setting for certain backend phases

18 years agorenamed symconst_size to symconst_type_size
Michael Beck [Mon, 29 May 2006 13:40:20 +0000 (13:40 +0000)]
renamed symconst_size to symconst_type_size
added symconst_type_align

18 years agoadded code to compile with libcore disableadded code to compile with libcore disabled
Michael Beck [Mon, 29 May 2006 13:38:00 +0000 (13:38 +0000)]
added code to compile with libcore disableadded code to compile with libcore disabled

18 years agodont stop when compilation failed
Matthias Braun [Mon, 29 May 2006 13:14:25 +0000 (13:14 +0000)]
dont stop when compilation failed

18 years agoupdate
Matthias Braun [Mon, 29 May 2006 13:12:38 +0000 (13:12 +0000)]
update

18 years agoupdated Makefile
Matthias Braun [Mon, 29 May 2006 13:09:21 +0000 (13:09 +0000)]
updated Makefile

18 years agocvsignore update
Matthias Braun [Mon, 29 May 2006 13:03:11 +0000 (13:03 +0000)]
cvsignore update

18 years agonew Makefile for test programs
Matthias Braun [Mon, 29 May 2006 13:02:40 +0000 (13:02 +0000)]
new Makefile for test programs

18 years agoupdated Makefile.in
Matthias Braun [Sun, 28 May 2006 09:12:13 +0000 (09:12 +0000)]
updated Makefile.in

18 years ago- removed code from belady spiller that removes unused reloads, we eleminate them...
Matthias Braun [Fri, 26 May 2006 14:54:54 +0000 (14:54 +0000)]
- removed code from belady spiller that removes unused reloads, we eleminate them anyway in the remove_dead_nodes_from_sched phase
- worked around a bug in out_edges stuff

18 years ago- Added a function that finds and removes dead nodes from schedule
Matthias Braun [Fri, 26 May 2006 13:38:52 +0000 (13:38 +0000)]
- Added a function that finds and removes dead nodes from schedule
- Use this function in bespill.c, simplifies it and fixes some bugs
- Renamed the misleading is_mem_phi to is_spilled_phi
- Fixed bug where the morgan spiller was invoking the belady spiller without resetting the is_spilled_phi function

18 years ago- fix wrong usage of sched_add_before
Matthias Braun [Fri, 26 May 2006 09:53:20 +0000 (09:53 +0000)]
- fix wrong usage of sched_add_before

18 years agoFixed Union/Find
Sebastian Hack [Wed, 24 May 2006 15:41:38 +0000 (15:41 +0000)]
Fixed Union/Find
Fixed MST
Garbage collection of dead functions still necessary

18 years ago- Don't use morgan spiller as default until it is as stable as belady spiller
Matthias Braun [Wed, 24 May 2006 15:18:53 +0000 (15:18 +0000)]
- Don't use morgan spiller as default until it is as stable as belady spiller

18 years agoInitial commit of morgans spilling algorithm (spill unused values that live through
Matthias Braun [Wed, 24 May 2006 15:14:20 +0000 (15:14 +0000)]
Initial commit of morgans spilling algorithm (spill unused values that live through
blocks or loops). Other small changes:

* Added some verify functions that check for register pressure or valid schedules (replaces the broken check_pressure in bechordal_main.c)
* Some style/readability improvements to the belady spill code
* Some style/readability improvements to beuses.*
* Fixed registerpressure stat dumper
* Some improvements to bespill.c: When spilling already reloaded values, don't add a 2nd spill.

18 years agochanged the way the bitset is used in several functions, removed typos
Johannes Spallek [Wed, 24 May 2006 14:30:42 +0000 (14:30 +0000)]
changed the way the bitset is used in several functions, removed typos

18 years agoadded initialization of adj_head->degree and removed typo
Johannes Spallek [Wed, 24 May 2006 14:27:53 +0000 (14:27 +0000)]
added initialization of adj_head->degree and removed typo

18 years agoalternativ methods to create a local reusable ifg
Johannes Spallek [Wed, 24 May 2006 14:23:42 +0000 (14:23 +0000)]
alternativ methods to create a local reusable ifg

18 years agoSome improvements
Sebastian Hack [Tue, 23 May 2006 14:19:14 +0000 (14:19 +0000)]
Some improvements

18 years agoproblematic 64bit test
Christian Würdig [Tue, 23 May 2006 12:23:39 +0000 (12:23 +0000)]
problematic 64bit test

18 years agoremoved redundant obstack finish
Christian Würdig [Mon, 22 May 2006 11:43:36 +0000 (11:43 +0000)]
removed redundant obstack finish

18 years agoadded callbacks to retrieve the cost of an operation and information about
Adam Szalkowski [Sat, 20 May 2006 03:48:59 +0000 (03:48 +0000)]
added callbacks to retrieve the cost of an operation and information about
memory operands

18 years agoadded missing config.h include
Michael Beck [Fri, 19 May 2006 15:21:01 +0000 (15:21 +0000)]
added missing config.h include

18 years agoadded statistic calls
Christian Würdig [Fri, 19 May 2006 15:13:50 +0000 (15:13 +0000)]
added statistic calls

18 years agois_be_irn is now public (needed for stats)
Christian Würdig [Fri, 19 May 2006 15:13:35 +0000 (15:13 +0000)]
is_be_irn is now public (needed for stats)

18 years agoadded new node statistics
Christian Würdig [Fri, 19 May 2006 15:12:43 +0000 (15:12 +0000)]
added new node statistics

18 years agoadded new irn class flags (needed for stats)
Christian Würdig [Fri, 19 May 2006 15:12:32 +0000 (15:12 +0000)]
added new irn class flags (needed for stats)

18 years agofixed debug info
Christian Würdig [Fri, 19 May 2006 15:12:13 +0000 (15:12 +0000)]
fixed debug info
return new flags

18 years agofixed memory leak
Christian Würdig [Fri, 19 May 2006 15:11:50 +0000 (15:11 +0000)]
fixed memory leak

18 years agocreate op tag, register tag for each op, use tag to determine return value of is_...
Christian Würdig [Fri, 19 May 2006 09:15:58 +0000 (09:15 +0000)]
create op tag, register tag for each op, use tag to determine return value of is_$arch_irn

18 years agoAnother version of copy elimination
Sebastian Hack [Fri, 19 May 2006 09:02:55 +0000 (09:02 +0000)]
Another version of copy elimination

18 years agoBugFix: typo fixed
Michael Beck [Thu, 18 May 2006 22:32:34 +0000 (22:32 +0000)]
BugFix: typo fixed

18 years agofix to compile WITHOUT libcore
Michael Beck [Thu, 18 May 2006 15:47:53 +0000 (15:47 +0000)]
fix to compile WITHOUT libcore

18 years agoremoved unsused variable
Christian Würdig [Thu, 18 May 2006 13:51:57 +0000 (13:51 +0000)]
removed unsused variable

18 years agofixed lea->add conversion
Christian Würdig [Thu, 18 May 2006 13:45:21 +0000 (13:45 +0000)]
fixed lea->add conversion
fixed psi conversion

18 years agoset Lea type to O if addressmode const found
Christian Würdig [Thu, 18 May 2006 13:44:54 +0000 (13:44 +0000)]
set Lea type to O if addressmode const found

18 years agofixed PsiCondCMov emitter
Christian Würdig [Thu, 18 May 2006 13:43:52 +0000 (13:43 +0000)]
fixed PsiCondCMov emitter

18 years agoSMUL and UMUL added
Michael Beck [Thu, 18 May 2006 11:57:28 +0000 (11:57 +0000)]
SMUL and UMUL added

18 years agoAdded -b ra-chordal-copymin=park switch
Sebastian Hack [Wed, 17 May 2006 14:01:02 +0000 (14:01 +0000)]
Added -b ra-chordal-copymin=park switch

18 years agoadded support for 64bit ABS
Christian Würdig [Wed, 17 May 2006 09:22:22 +0000 (09:22 +0000)]
added support for 64bit ABS

18 years agoRemoved old stuff
Sebastian Hack [Tue, 16 May 2006 15:23:19 +0000 (15:23 +0000)]
Removed old stuff

18 years agoCO options registration
Sebastian Hack [Tue, 16 May 2006 15:22:40 +0000 (15:22 +0000)]
CO options registration

18 years agoTiny changes
Sebastian Hack [Tue, 16 May 2006 15:22:19 +0000 (15:22 +0000)]
Tiny changes

18 years agoCosmetic changes
Sebastian Hack [Tue, 16 May 2006 15:21:14 +0000 (15:21 +0000)]
Cosmetic changes

18 years agoSet dumping to none as default
Sebastian Hack [Tue, 16 May 2006 15:20:44 +0000 (15:20 +0000)]
Set dumping to none as default

18 years agoA tiny bug
Sebastian Hack [Tue, 16 May 2006 15:19:04 +0000 (15:19 +0000)]
A tiny bug

18 years agoAdded stub for calling Kimon's Park/Moon module
Sebastian Hack [Tue, 16 May 2006 14:13:23 +0000 (14:13 +0000)]
Added stub for calling Kimon's Park/Moon module

18 years agoAdded Park/Moon Flag
Sebastian Hack [Tue, 16 May 2006 14:12:18 +0000 (14:12 +0000)]
Added Park/Moon Flag

18 years agoAdded Park/Moon copyopt
Sebastian Hack [Tue, 16 May 2006 14:11:56 +0000 (14:11 +0000)]
Added Park/Moon copyopt

18 years agoadded support for 64bit Minus lowering
Christian Würdig [Tue, 16 May 2006 11:52:11 +0000 (11:52 +0000)]
added support for 64bit Minus lowering

18 years agoadded monster testfile :)
Christian Würdig [Tue, 16 May 2006 11:43:33 +0000 (11:43 +0000)]
added monster testfile :)

18 years agoadded transformation of lowered intrinsic ops l_Mul, l_MulS, and all Shift operations
Christian Würdig [Tue, 16 May 2006 11:27:49 +0000 (11:27 +0000)]
added transformation of lowered intrinsic ops l_Mul, l_MulS, and all Shift operations

18 years agoadded support for Shl, Shr, Shrs and Mul
Christian Würdig [Mon, 15 May 2006 16:52:48 +0000 (16:52 +0000)]
added support for Shl, Shr, Shrs and Mul

18 years agoadded new nodes to support 64bit intrinsic lowering
Christian Würdig [Mon, 15 May 2006 16:52:28 +0000 (16:52 +0000)]
added new nodes to support 64bit intrinsic lowering

18 years agofixed bug: keep %% instead of translating it into a function
Christian Würdig [Mon, 15 May 2006 16:50:16 +0000 (16:50 +0000)]
fixed bug: keep %% instead of translating it into a function

18 years agoadded missing source file
Christian Würdig [Mon, 15 May 2006 14:05:32 +0000 (14:05 +0000)]
added missing source file

18 years agoadded missing include path
Christian Würdig [Mon, 15 May 2006 14:03:35 +0000 (14:03 +0000)]
added missing include path

18 years agofixed include
Christian Würdig [Mon, 15 May 2006 14:02:49 +0000 (14:02 +0000)]
fixed include

18 years agofixed error message
Christian Würdig [Mon, 15 May 2006 12:48:47 +0000 (12:48 +0000)]
fixed error message

18 years agoadded new nodes for intrinsic lowering
Christian Würdig [Mon, 15 May 2006 12:40:38 +0000 (12:40 +0000)]
added new nodes for intrinsic lowering
added transformation of those nodes into "real" ia32 nodes

18 years agofixed handling of add and sub
Christian Würdig [Mon, 15 May 2006 12:39:52 +0000 (12:39 +0000)]
fixed handling of add and sub

18 years agofixed comment
Christian Würdig [Mon, 15 May 2006 12:39:28 +0000 (12:39 +0000)]
fixed comment

18 years agofixed arity and node attribute init when reg_req missing
Christian Würdig [Mon, 15 May 2006 12:38:41 +0000 (12:38 +0000)]
fixed arity and node attribute init when reg_req missing

18 years agoadded context parameter for create_intrinsic_fkt
Michael Beck [Mon, 15 May 2006 12:04:06 +0000 (12:04 +0000)]
added context parameter for create_intrinsic_fkt

18 years agoadd context parameter for create_intrinsic_fkt
Michael Beck [Mon, 15 May 2006 11:58:42 +0000 (11:58 +0000)]
add context parameter for create_intrinsic_fkt