libfirm
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

18 years agoswitched of address mode for CondJmp temporary
Christian Würdig [Fri, 21 Apr 2006 14:22:23 +0000 (14:22 +0000)]
switched of address mode for CondJmp temporary

18 years agofixed address mode optimization
Christian Würdig [Fri, 21 Apr 2006 14:19:05 +0000 (14:19 +0000)]
fixed address mode optimization

18 years agoBugFix: qsort compare function for soill slots
Michael Beck [Fri, 21 Apr 2006 13:14:00 +0000 (13:14 +0000)]
BugFix: qsort compare function for soill slots
PhiM is now constructed without Unknown nodes
added doxygen docu

18 years agofixed addressmode
Christian Würdig [Fri, 21 Apr 2006 13:02:05 +0000 (13:02 +0000)]
fixed addressmode

18 years agoremoved unnecessary header dependency
Michael Beck [Fri, 21 Apr 2006 12:39:33 +0000 (12:39 +0000)]
removed unnecessary header dependency

18 years agomade address mode optimizer more modular
Christian Würdig [Fri, 21 Apr 2006 11:50:26 +0000 (11:50 +0000)]
made address mode optimizer more modular

18 years agoadded nolea option to switch of LEA optimization
Christian Würdig [Fri, 21 Apr 2006 11:50:03 +0000 (11:50 +0000)]
added nolea option to switch of LEA optimization

18 years agoFixed creation of Copy before Call
Michael Beck [Fri, 21 Apr 2006 11:30:16 +0000 (11:30 +0000)]
Fixed creation of Copy before Call

18 years agoused foreach_pset() for clarification
Michael Beck [Fri, 21 Apr 2006 09:12:23 +0000 (09:12 +0000)]
used foreach_pset() for clarification

18 years agofixed mappings for Load and Store nodes
Michael Beck [Thu, 20 Apr 2006 16:42:24 +0000 (16:42 +0000)]
fixed mappings for Load and Store nodes

18 years agoremoved unnecessary functions handle the slots
Michael Beck [Thu, 20 Apr 2006 16:29:37 +0000 (16:29 +0000)]
removed unnecessary functions handle the slots
st registers are allocated by the x87 simulator and don't need a noreg

18 years agoenambled the BUGGY_REMAT simple rematerializer: only nodes with arity == 0
Michael Beck [Thu, 20 Apr 2006 16:27:04 +0000 (16:27 +0000)]
enambled the BUGGY_REMAT simple rematerializer: only nodes with arity == 0
are rematerialized ...

18 years agoused foreach_pset() for clearness
Michael Beck [Thu, 20 Apr 2006 16:25:45 +0000 (16:25 +0000)]
used foreach_pset() for clearness

18 years agoput the debug module into a DEBUG_ONLY()
Michael Beck [Thu, 20 Apr 2006 16:24:45 +0000 (16:24 +0000)]
put the debug module into a DEBUG_ONLY()

18 years agosubstituted copymin ilp option with ilp1 and ilp2
Christian Würdig [Thu, 20 Apr 2006 16:06:32 +0000 (16:06 +0000)]
substituted copymin ilp option with ilp1 and ilp2
use copymin ilp when specified on command line

18 years agocommented out DEBUG line
Christian Würdig [Thu, 20 Apr 2006 16:05:26 +0000 (16:05 +0000)]
commented out DEBUG line

18 years agoregister slots are now automatically allocated together with the $ARCH_attribute
Michael Beck [Thu, 20 Apr 2006 15:37:16 +0000 (15:37 +0000)]
register slots are now automatically allocated together with the $ARCH_attribute
No more extra allocation needed, but must be last in the attribute structure

18 years agoImplemented basic FPA support
Michael Beck [Thu, 20 Apr 2006 13:40:30 +0000 (13:40 +0000)]
Implemented basic FPA support

18 years agoimproved documentation
Michael Beck [Thu, 20 Apr 2006 13:39:03 +0000 (13:39 +0000)]
improved documentation

18 years agoadded option to set the GAS mode
Michael Beck [Thu, 20 Apr 2006 08:22:22 +0000 (08:22 +0000)]
added option to set the GAS mode

18 years agoBugFix:
Michael Beck [Wed, 19 Apr 2006 15:46:08 +0000 (15:46 +0000)]
BugFix:
 - Phi nodes are not in-block users of a node
 - return result 0 if a node is not schedules in the verifier

18 years agofixed output for local uninitialized entities in MinGW mode
Michael Beck [Wed, 19 Apr 2006 12:20:30 +0000 (12:20 +0000)]
fixed output for local uninitialized entities in MinGW mode

18 years agoadded additional option for copymin (can be switched off now)
Christian Würdig [Wed, 19 Apr 2006 12:09:25 +0000 (12:09 +0000)]
added additional option for copymin (can be switched off now)

18 years agoremoved paramter for perm lowering
Christian Würdig [Wed, 19 Apr 2006 11:52:48 +0000 (11:52 +0000)]
removed paramter for perm lowering

18 years agomoved statitics to bestat
Christian Würdig [Wed, 19 Apr 2006 11:44:42 +0000 (11:44 +0000)]
moved statitics to bestat
perm statistics is now done by firmstat module

18 years agoHandle CondJmp' with memory Proj's right
Michael Beck [Wed, 19 Apr 2006 11:40:32 +0000 (11:40 +0000)]
Handle CondJmp' with memory Proj's right

18 years agotypo fixed
Michael Beck [Wed, 19 Apr 2006 11:19:36 +0000 (11:19 +0000)]
typo fixed

18 years agoMerged
Sebastian Hack [Wed, 19 Apr 2006 11:14:26 +0000 (11:14 +0000)]
Merged

18 years agoSmall changes
Sebastian Hack [Wed, 19 Apr 2006 11:14:11 +0000 (11:14 +0000)]
Small changes

18 years agoremoved MIN/MAX macros (in irtools.h now)
Christian Würdig [Tue, 18 Apr 2006 17:10:05 +0000 (17:10 +0000)]
removed MIN/MAX macros (in irtools.h now)

18 years agocopy result mode on final transformations (lea->add and sub->neg-add)
Christian Würdig [Fri, 14 Apr 2006 21:04:42 +0000 (21:04 +0000)]
copy result mode on final transformations (lea->add and sub->neg-add)

18 years agofixed mode suffix emitter
Christian Würdig [Fri, 14 Apr 2006 21:04:02 +0000 (21:04 +0000)]
fixed mode suffix emitter

18 years agoMB fixed HeapSort algorithm
Christian Würdig [Wed, 12 Apr 2006 13:50:35 +0000 (13:50 +0000)]
MB fixed HeapSort algorithm

18 years agoignore .txt
Christian Würdig [Wed, 12 Apr 2006 13:49:32 +0000 (13:49 +0000)]
ignore .txt

18 years agofactor out: ia32_emit_align()
Michael Beck [Wed, 12 Apr 2006 13:16:11 +0000 (13:16 +0000)]
factor out: ia32_emit_align()

18 years agodeactivate IncSP peephole optimization, crashes HeapSort
Michael Beck [Wed, 12 Apr 2006 12:10:12 +0000 (12:10 +0000)]
deactivate IncSP peephole optimization, crashes HeapSort

18 years agodefine IS_P6_ARCH
Michael Beck [Wed, 12 Apr 2006 12:09:14 +0000 (12:09 +0000)]
define IS_P6_ARCH

18 years agouse push for CPU's older that P6, always use leave
Michael Beck [Wed, 12 Apr 2006 12:08:53 +0000 (12:08 +0000)]
use push for CPU's older that P6, always use leave

18 years agofixed define
Christian Würdig [Wed, 12 Apr 2006 08:59:34 +0000 (08:59 +0000)]
fixed define

18 years agoadd processor specific gas alignment instructions for Labels and Functions
Christian Würdig [Tue, 11 Apr 2006 19:28:59 +0000 (19:28 +0000)]
add processor specific gas alignment instructions for Labels and Functions

18 years agoadded missing source files
Christian Würdig [Tue, 11 Apr 2006 18:42:34 +0000 (18:42 +0000)]
added missing source files

18 years agoremoved MIN marc
Christian Würdig [Tue, 11 Apr 2006 18:30:35 +0000 (18:30 +0000)]
removed MIN marc

18 years agoadded missing include
Christian Würdig [Tue, 11 Apr 2006 17:18:25 +0000 (17:18 +0000)]
added missing include

18 years agoremoved MIN/MAX macros (in irtools.h now)
Christian Würdig [Tue, 11 Apr 2006 17:18:05 +0000 (17:18 +0000)]
removed MIN/MAX macros (in irtools.h now)

18 years agofixed inc generation/emitter
Christian Würdig [Tue, 11 Apr 2006 17:17:26 +0000 (17:17 +0000)]
fixed inc generation/emitter

18 years agoadded blank lines
Christian Würdig [Tue, 11 Apr 2006 17:17:14 +0000 (17:17 +0000)]
added blank lines

18 years agoInc (a misused Add :-) is not commutative
Michael Beck [Tue, 11 Apr 2006 16:44:33 +0000 (16:44 +0000)]
Inc (a misused Add :-) is not commutative

18 years agoFixed Push with immediate creation
Michael Beck [Tue, 11 Apr 2006 16:43:33 +0000 (16:43 +0000)]
Fixed Push with immediate creation
enabled Push peephole optimization

18 years agoMIN is now in irtools.h
Michael Beck [Tue, 11 Apr 2006 16:41:37 +0000 (16:41 +0000)]
MIN is now in irtools.h

18 years agofixed missing include/crash if not scheduled
Michael Beck [Tue, 11 Apr 2006 16:40:16 +0000 (16:40 +0000)]
fixed missing include/crash if not scheduled

18 years agoadd -b help option
Michael Beck [Tue, 11 Apr 2006 16:39:26 +0000 (16:39 +0000)]
add -b help option

18 years agofixed creation of sequential stores (again :-( )
Michael Beck [Tue, 11 Apr 2006 16:37:37 +0000 (16:37 +0000)]
fixed creation of sequential stores (again :-( )

18 years agofixed am optimizer
Christian Würdig [Tue, 11 Apr 2006 15:44:47 +0000 (15:44 +0000)]
fixed am optimizer

18 years agofixed gen_Store: take immediate addresses
Christian Würdig [Tue, 11 Apr 2006 15:44:38 +0000 (15:44 +0000)]
fixed gen_Store: take immediate addresses

18 years agofixed dumper
Christian Würdig [Tue, 11 Apr 2006 15:44:12 +0000 (15:44 +0000)]
fixed dumper

18 years agoAdded MRIS flag
Sebastian Hack [Tue, 11 Apr 2006 15:21:25 +0000 (15:21 +0000)]
Added MRIS flag

18 years agoChanged interface
Sebastian Hack [Tue, 11 Apr 2006 15:21:06 +0000 (15:21 +0000)]
Changed interface

18 years agoAdded MRIS scheduling preprocessor
Sebastian Hack [Tue, 11 Apr 2006 15:20:55 +0000 (15:20 +0000)]
Added MRIS scheduling preprocessor

18 years agoMinor changes
Sebastian Hack [Tue, 11 Apr 2006 15:20:34 +0000 (15:20 +0000)]
Minor changes

18 years agoBugFixes:
Michael Beck [Tue, 11 Apr 2006 14:49:37 +0000 (14:49 +0000)]
BugFixes:
 - replace the pnc code by its R^-1 one
 - fixed CJmpAM optmization

18 years agoset add with immediate commutative
Christian Würdig [Tue, 11 Apr 2006 13:48:51 +0000 (13:48 +0000)]
set add with immediate commutative

18 years agofixed am optimizer
Christian Würdig [Tue, 11 Apr 2006 13:48:25 +0000 (13:48 +0000)]
fixed am optimizer

18 years agoadded cast to avoid warning
Christian Würdig [Tue, 11 Apr 2006 13:48:07 +0000 (13:48 +0000)]
added cast to avoid warning

18 years agofixed copy insertion
Christian Würdig [Tue, 11 Apr 2006 13:47:50 +0000 (13:47 +0000)]
fixed copy insertion

18 years agofixed Source AM
Christian Würdig [Tue, 11 Apr 2006 12:41:56 +0000 (12:41 +0000)]
fixed Source AM

18 years agoremoved ident stuff
Christian Würdig [Tue, 11 Apr 2006 12:31:27 +0000 (12:31 +0000)]
removed ident stuff