libfirm
18 years agoupdated commments
Christian Würdig [Thu, 11 May 2006 10:02:53 +0000 (10:02 +0000)]
updated commments

18 years agoupdated comments
Christian Würdig [Thu, 11 May 2006 10:02:43 +0000 (10:02 +0000)]
updated comments
adapted to arch_irn_ops changes

18 years agocheck for iro in is_NODE functions (saves a Load)
Christian Würdig [Thu, 11 May 2006 09:41:34 +0000 (09:41 +0000)]
check for iro in is_NODE functions (saves a Load)

18 years agoupdated ignore list
Christian Würdig [Thu, 11 May 2006 09:09:27 +0000 (09:09 +0000)]
updated ignore list

18 years agoadded cast to stop moaning
Christian Würdig [Wed, 10 May 2006 15:12:25 +0000 (15:12 +0000)]
added cast to stop moaning

18 years agofixed perm emitter
Christian Würdig [Wed, 10 May 2006 15:11:58 +0000 (15:11 +0000)]
fixed perm emitter

18 years agoset default in to bad when spilling phis
Christian Würdig [Wed, 10 May 2006 15:10:49 +0000 (15:10 +0000)]
set default in to bad when spilling phis

18 years agoplace loads for stack parameters in the correct block
Christian Würdig [Wed, 10 May 2006 15:01:13 +0000 (15:01 +0000)]
place loads for stack parameters in the correct block

18 years agoadded cast to stop moaning
Christian Würdig [Wed, 10 May 2006 14:59:49 +0000 (14:59 +0000)]
added cast to stop moaning

18 years agocompute dominance information because they are used in transform
Christian Würdig [Wed, 10 May 2006 14:59:33 +0000 (14:59 +0000)]
compute dominance information because they are used in transform

18 years agochanged name of debug module
Christian Würdig [Wed, 10 May 2006 14:58:49 +0000 (14:58 +0000)]
changed name of debug module

18 years agofixed indent
Christian Würdig [Wed, 10 May 2006 14:58:16 +0000 (14:58 +0000)]
fixed indent

18 years agodisable buggy code
Michael Beck [Wed, 10 May 2006 12:21:20 +0000 (12:21 +0000)]
disable buggy code

18 years agomoved get_inverse_op to bearch
Adam Szalkowski [Wed, 10 May 2006 10:58:04 +0000 (10:58 +0000)]
moved get_inverse_op to bearch

18 years agoAdded a comment
Sebastian Hack [Tue, 9 May 2006 14:51:45 +0000 (14:51 +0000)]
Added a comment

18 years agoadded cvs id tag
Christian Würdig [Mon, 8 May 2006 16:24:27 +0000 (16:24 +0000)]
added cvs id tag

18 years agoinitial checkin
Adam Szalkowski [Mon, 8 May 2006 16:10:19 +0000 (16:10 +0000)]
initial checkin
a prototype of a struct and function to interface with the machine dependent
backend to yield an inverse operation for a given irn

18 years agoIn-Array in be_new_IncSP was too small.
Sebastian Hack [Mon, 8 May 2006 12:20:07 +0000 (12:20 +0000)]
In-Array in be_new_IncSP was too small.

18 years agoused new assure_doms() function
Michael Beck [Mon, 8 May 2006 09:37:19 +0000 (09:37 +0000)]
used new assure_doms() function

18 years agodded another if conversion test file; this on inlcude floating point psi as well
Christian Würdig [Fri, 5 May 2006 15:20:42 +0000 (15:20 +0000)]
dded another if conversion test file; this on inlcude floating point psi as well

18 years agoadded special nodes for Psi condition trees, so we can omit compare with 0 for Psi
Christian Würdig [Fri, 5 May 2006 15:18:49 +0000 (15:18 +0000)]
added special nodes for Psi condition trees, so we can omit compare with 0 for Psi

18 years agofixed address mode for CmpSet and xCmpSet
Christian Würdig [Fri, 5 May 2006 14:04:20 +0000 (14:04 +0000)]
fixed address mode for CmpSet and xCmpSet

18 years agofixed Psi condition tree transformation (int Psi but FP compares were broken)
Christian Würdig [Fri, 5 May 2006 13:31:44 +0000 (13:31 +0000)]
fixed Psi condition tree transformation (int Psi but FP compares were broken)

18 years agorenamed Set to CmpSet and CMov to CmpCMov
Christian Würdig [Fri, 5 May 2006 13:05:15 +0000 (13:05 +0000)]
renamed Set to CmpSet and CMov to CmpCMov
CmpSet nodes are AM capable now
fixed emitters
fixed Psi transformation

18 years agoadded transformation of psi condition trees
Christian Würdig [Fri, 5 May 2006 12:17:24 +0000 (12:17 +0000)]
added transformation of psi condition trees

18 years agomake use of generated proj nums
Christian Würdig [Fri, 5 May 2006 09:16:32 +0000 (09:16 +0000)]
make use of generated proj nums

18 years agoemit comments in header
Christian Würdig [Fri, 5 May 2006 08:55:17 +0000 (08:55 +0000)]
emit comments in header

18 years agoadded vfp CMov (x87) node
Christian Würdig [Fri, 5 May 2006 08:43:38 +0000 (08:43 +0000)]
added vfp CMov (x87) node

18 years agoAdapted to changes in irphase
Sebastian Hack [Thu, 4 May 2006 16:14:09 +0000 (16:14 +0000)]
Adapted to changes in irphase

18 years agoA little bit more efficient
Sebastian Hack [Thu, 4 May 2006 16:13:49 +0000 (16:13 +0000)]
A little bit more efficient

18 years agofixed psi transform (use negated instead of inverted pnc in set 1 0)
Christian Würdig [Thu, 4 May 2006 13:18:36 +0000 (13:18 +0000)]
fixed psi transform (use negated instead of inverted pnc in set 1 0)

18 years agoadded addtional nodes needed for psi transformation
Christian Würdig [Thu, 4 May 2006 12:43:33 +0000 (12:43 +0000)]
added addtional nodes needed for psi transformation
fixed psi transformation but x87 support still missing

18 years agofixed indent
Christian Würdig [Thu, 4 May 2006 12:42:18 +0000 (12:42 +0000)]
fixed indent

18 years ago*** empty log message ***
Sven Polk [Thu, 4 May 2006 12:40:18 +0000 (12:40 +0000)]
*** empty log message ***

18 years agosupress warnung under GCC
Michael Beck [Wed, 3 May 2006 16:12:50 +0000 (16:12 +0000)]
supress warnung under GCC

18 years ago*** empty log message ***
Sven Polk [Wed, 3 May 2006 16:04:33 +0000 (16:04 +0000)]
*** empty log message ***

18 years agoadded xCmp node (SSE compare with result in register)
Christian Würdig [Wed, 3 May 2006 15:40:58 +0000 (15:40 +0000)]
added xCmp node (SSE compare with result in register)
added xAndNot (SSE And Not)
added SSE support for Psi nodes (transform and emit)

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

18 years agoadded Set node
Christian Würdig [Wed, 3 May 2006 13:57:53 +0000 (13:57 +0000)]
added Set node
transform Psi to Set if possible

18 years agofixed CMov emit again
Christian Würdig [Wed, 3 May 2006 13:57:26 +0000 (13:57 +0000)]
fixed CMov emit again
added Set emitter

18 years agochanged return type to const
Christian Würdig [Wed, 3 May 2006 13:57:08 +0000 (13:57 +0000)]
changed return type to const

18 years agodo not emit contraint copy for set
Christian Würdig [Wed, 3 May 2006 13:30:05 +0000 (13:30 +0000)]
do not emit contraint copy for set

18 years agofixed unknown handling
Christian Würdig [Wed, 3 May 2006 11:56:02 +0000 (11:56 +0000)]
fixed unknown handling

18 years agofixed CMov emitter
Christian Würdig [Wed, 3 May 2006 11:55:35 +0000 (11:55 +0000)]
fixed CMov emitter

18 years agodo not insert copy CMov in finish walker
Christian Würdig [Wed, 3 May 2006 11:55:11 +0000 (11:55 +0000)]
do not insert copy CMov in finish walker

18 years agoCode for emitting cmov for Psi nodes by chriswue
Christoph Mallon [Wed, 3 May 2006 08:25:50 +0000 (08:25 +0000)]
Code for emitting cmov for Psi nodes by chriswue

18 years agoadded conversion const -> non-const
Christian Würdig [Tue, 2 May 2006 16:22:26 +0000 (16:22 +0000)]
added conversion const -> non-const

18 years agofixed set compare fucntion arguments
Christian Würdig [Tue, 2 May 2006 16:22:01 +0000 (16:22 +0000)]
fixed set compare fucntion arguments
fixed variable type

18 years agofixed typedef
Christian Würdig [Tue, 2 May 2006 16:21:08 +0000 (16:21 +0000)]
fixed typedef

18 years agoAdded modify_sp flag for (Add|Inc|Set)SP
Sebastian Hack [Tue, 2 May 2006 15:31:10 +0000 (15:31 +0000)]
Added modify_sp flag for (Add|Inc|Set)SP

18 years agoUse height phase
Sebastian Hack [Tue, 2 May 2006 12:04:03 +0000 (12:04 +0000)]
Use height phase

18 years agoSpecial handling for Bad nodes
Sebastian Hack [Tue, 2 May 2006 12:02:24 +0000 (12:02 +0000)]
Special handling for Bad nodes

18 years agoAdded dumping of interference graphs
Sebastian Hack [Tue, 2 May 2006 12:01:59 +0000 (12:01 +0000)]
Added dumping of interference graphs

18 years agoAdded Appel dumping
Sebastian Hack [Tue, 2 May 2006 12:01:04 +0000 (12:01 +0000)]
Added Appel dumping

18 years agoBeta version
Sebastian Hack [Tue, 2 May 2006 12:00:37 +0000 (12:00 +0000)]
Beta version

18 years agoSmall changes
Sebastian Hack [Tue, 2 May 2006 11:57:38 +0000 (11:57 +0000)]
Small changes

18 years agoSmall changes
Sebastian Hack [Tue, 2 May 2006 11:57:26 +0000 (11:57 +0000)]
Small changes

18 years agoAdded modify_sp flag
Sebastian Hack [Tue, 2 May 2006 11:54:26 +0000 (11:54 +0000)]
Added modify_sp flag
Fixed a buf in ABI stack pointer handling

18 years agocast added to supress gcc warning
Michael Beck [Tue, 2 May 2006 09:02:34 +0000 (09:02 +0000)]
cast added to supress gcc warning

18 years agoupdated command line help for copymin
Christian Würdig [Tue, 2 May 2006 08:50:18 +0000 (08:50 +0000)]
updated command line help for copymin
bugfix: create missing data structure for copymin heuristic 2

18 years agofixed comment
Christian Würdig [Tue, 2 May 2006 08:49:25 +0000 (08:49 +0000)]
fixed comment

18 years agocopyopt statistics is now a commandline switch instead of a compile time define
Christian Würdig [Tue, 2 May 2006 08:10:37 +0000 (08:10 +0000)]
copyopt statistics is now a commandline switch instead of a compile time define
it compares the two heuristics and the ilps if configured WITH_ILP

18 years agoadded additional source (new copymin heuristic)
Christian Würdig [Mon, 1 May 2006 15:11:42 +0000 (15:11 +0000)]
added additional source (new copymin heuristic)

18 years agoadded copy min heuristic 2 to options
Christian Würdig [Mon, 1 May 2006 15:11:21 +0000 (15:11 +0000)]
added copy min heuristic 2 to options

18 years agoremoved ununsed function
Christian Würdig [Mon, 1 May 2006 15:10:53 +0000 (15:10 +0000)]
removed ununsed function

18 years agofixed definition of phase init function
Christian Würdig [Mon, 1 May 2006 14:31:03 +0000 (14:31 +0000)]
fixed definition of phase init function
added missing return type for an inlined function

18 years agoremoved const from first parameter for phase init data function as some init functions
Christian Würdig [Mon, 1 May 2006 14:28:47 +0000 (14:28 +0000)]
removed const from first parameter for phase init data function as some init functions
change the object, so it's obviously not const

18 years agofixed something that took me 1 hour to find
Adam Szalkowski [Sat, 29 Apr 2006 15:59:21 +0000 (15:59 +0000)]
fixed something that took me 1 hour to find

18 years agofixed initialization
Michael Beck [Fri, 28 Apr 2006 16:01:31 +0000 (16:01 +0000)]
fixed initialization

18 years agochanged from pset to set for phi-spill assoc
Christian Würdig [Fri, 28 Apr 2006 11:11:25 +0000 (11:11 +0000)]
changed from pset to set for phi-spill assoc

18 years agofixed (?) be_spill_phi
Christian Würdig [Fri, 28 Apr 2006 11:03:40 +0000 (11:03 +0000)]
fixed (?) be_spill_phi

18 years agoWorks with max.c and eliminates some copies.
Sebastian Hack [Thu, 27 Apr 2006 17:13:23 +0000 (17:13 +0000)]
Works with max.c and eliminates some copies.
Some assumably simple to optimize are left, why is that???

18 years agoadditional programms produce assembler code
Christian Würdig [Thu, 27 Apr 2006 13:21:30 +0000 (13:21 +0000)]
additional programms produce assembler code

18 years agofixed am
Christian Würdig [Thu, 27 Apr 2006 13:20:48 +0000 (13:20 +0000)]
fixed am

18 years agoperform statitics only if firmstats are active
Christian Würdig [Thu, 27 Apr 2006 11:36:34 +0000 (11:36 +0000)]
perform statitics only if firmstats are active

18 years agomerged psets for constraints
Christian Würdig [Thu, 27 Apr 2006 11:26:39 +0000 (11:26 +0000)]
merged psets for constraints

18 years agotemporary disabled lea->add transformation
Christian Würdig [Thu, 27 Apr 2006 11:13:33 +0000 (11:13 +0000)]
temporary disabled lea->add transformation

18 years agofixed am candidate function
Christian Würdig [Thu, 27 Apr 2006 11:13:06 +0000 (11:13 +0000)]
fixed am candidate function

18 years agorecaluclate liveness just to be on the save side
Christian Würdig [Thu, 27 Apr 2006 11:12:31 +0000 (11:12 +0000)]
recaluclate liveness just to be on the save side

18 years agoadded quick 'n dirty hack
Christian Würdig [Thu, 27 Apr 2006 11:11:53 +0000 (11:11 +0000)]
added quick 'n dirty hack

18 years agofixed assure_constraints, needs schedule now
Christian Würdig [Thu, 27 Apr 2006 11:11:32 +0000 (11:11 +0000)]
fixed assure_constraints, needs schedule now

18 years agoadded Lea statistics
Christian Würdig [Wed, 26 Apr 2006 11:39:40 +0000 (11:39 +0000)]
added Lea statistics

18 years ago*** empty log message ***
Sven Polk [Tue, 25 Apr 2006 16:28:48 +0000 (16:28 +0000)]
*** empty log message ***

18 years agoFixed output for x87 instructions with Const input (which is a load)
Michael Beck [Tue, 25 Apr 2006 08:56:43 +0000 (08:56 +0000)]
Fixed output for x87 instructions with Const input (which is a load)
Fixed output for be_Return

18 years agocreate copy opt structures only when needed
Christian Würdig [Tue, 25 Apr 2006 08:27:23 +0000 (08:27 +0000)]
create copy opt structures only when needed

18 years agoadd missing include
Michael Beck [Tue, 25 Apr 2006 07:56:18 +0000 (07:56 +0000)]
add missing include

18 years agoFixed operation with address mode (hopefully)
Michael Beck [Tue, 25 Apr 2006 07:55:31 +0000 (07:55 +0000)]
Fixed operation with address mode (hopefully)

18 years agoFixed xConst
Michael Beck [Mon, 24 Apr 2006 14:28:22 +0000 (14:28 +0000)]
Fixed xConst

18 years agoDo not create be_Return for "dead" ends
Michael Beck [Mon, 24 Apr 2006 13:11:34 +0000 (13:11 +0000)]
Do not create be_Return for "dead" ends

18 years agoFixed that buggy thing :-)
Michael Beck [Mon, 24 Apr 2006 13:07:13 +0000 (13:07 +0000)]
Fixed that buggy thing :-)

18 years agoupdated listings
Christian Würdig [Mon, 24 Apr 2006 09:29:54 +0000 (09:29 +0000)]
updated listings

18 years agofixed addressmode
Christian Würdig [Mon, 24 Apr 2006 09:24:17 +0000 (09:24 +0000)]
fixed addressmode

18 years agoadded listings for:
Christian Würdig [Mon, 24 Apr 2006 08:34:23 +0000 (08:34 +0000)]
added listings for:
  - good tests (produce an asm file)
  - broken tests (compilation fails with assert)
  - bad test (running endless, eating up whole memory)

18 years agoBugFix: creation of Div/Mod nodes
Michael Beck [Fri, 21 Apr 2006 15:55:43 +0000 (15:55 +0000)]
BugFix: creation of Div/Mod nodes

18 years agoAdded new version of copy heuristic (still very alpha!)
Sebastian Hack [Fri, 21 Apr 2006 15:38:00 +0000 (15:38 +0000)]
Added new version of copy heuristic (still very alpha!)

18 years agocheck if load/store can cosume the lea before consuming it
Christian Würdig [Fri, 21 Apr 2006 15:21:45 +0000 (15:21 +0000)]
check if load/store can cosume the lea before consuming it

18 years agoadded new flag to indicate if node already consumed a lea
Christian Würdig [Fri, 21 Apr 2006 15:21:21 +0000 (15:21 +0000)]
added new flag to indicate if node already consumed a lea

18 years agolowercase modifiers
Michael Beck [Fri, 21 Apr 2006 14:38:46 +0000 (14:38 +0000)]
lowercase modifiers

18 years agoFixed some emitters
Michael Beck [Fri, 21 Apr 2006 14:37:59 +0000 (14:37 +0000)]
Fixed some emitters

18 years agouse arm_fprintf_format() in all emitter functions
Michael Beck [Fri, 21 Apr 2006 14:37:26 +0000 (14:37 +0000)]
use arm_fprintf_format() in all emitter functions