libfirm
16 years agoAdd magic for better code emission of 64bit minus.
Christoph Mallon [Mon, 10 Sep 2007 12:02:53 +0000 (12:02 +0000)]
Add magic for better code emission of 64bit minus.

[r15730]

16 years agoMinus cannot be transformed into 2 Negs :-(
Michael Beck [Mon, 10 Sep 2007 11:27:52 +0000 (11:27 +0000)]
Minus cannot be transformed into 2 Negs :-(

[r15729]

16 years agoAn improved (?) version
Sebastian Hack [Sun, 9 Sep 2007 17:20:13 +0000 (17:20 +0000)]
An improved (?) version

[r15728]

16 years agoBuild immediates for 64bit subs.
Christoph Mallon [Sun, 9 Sep 2007 12:08:08 +0000 (12:08 +0000)]
Build immediates for 64bit subs.

[r15727]

16 years agoset use frame for xLoad constants
Matthias Braun [Sat, 8 Sep 2007 17:49:43 +0000 (17:49 +0000)]
set use frame for xLoad constants

[r15726]

16 years agoxStore, xLoad should have base latency 0
Matthias Braun [Sat, 8 Sep 2007 17:49:24 +0000 (17:49 +0000)]
xStore, xLoad should have base latency 0

[r15725]

16 years ago- Fix typo in commment.
Christoph Mallon [Sat, 8 Sep 2007 16:54:25 +0000 (16:54 +0000)]
- Fix typo in commment.
- Remove redundant flag set (the spec file contains this already).

[r15724]

16 years agoRewrote anything
Sebastian Hack [Sat, 8 Sep 2007 16:13:24 +0000 (16:13 +0000)]
Rewrote anything
adaption to new statev

[r15723]

16 years agoRefactor ia32_transform_lea_to_add_or_shl() a bit.
Christoph Mallon [Sat, 8 Sep 2007 13:14:05 +0000 (13:14 +0000)]
Refactor ia32_transform_lea_to_add_or_shl() a bit.

[r15722]

16 years agoBuild immediates for 64bit adds.
Christoph Mallon [Sat, 8 Sep 2007 11:16:01 +0000 (11:16 +0000)]
Build immediates for 64bit adds.

[r15721]

16 years agoFix immediate creation for sh[lr]d.
Christoph Mallon [Sat, 8 Sep 2007 10:17:14 +0000 (10:17 +0000)]
Fix immediate creation for sh[lr]d.

[r15720]

16 years agoFix a warning.
Christoph Mallon [Sat, 8 Sep 2007 09:25:45 +0000 (09:25 +0000)]
Fix a warning.

[r15719]

16 years agomake sure loops are analysid in loopana, reformatted belower
Matthias Braun [Sat, 8 Sep 2007 09:21:13 +0000 (09:21 +0000)]
make sure loops are analysid in loopana, reformatted belower

[r15718]

16 years agodon't use source AM when the Cmp has multiple users
Matthias Braun [Sat, 8 Sep 2007 09:19:07 +0000 (09:19 +0000)]
don't use source AM when the Cmp has multiple users

[r15717]

16 years agonicer indenting
Matthias Braun [Sat, 8 Sep 2007 09:18:34 +0000 (09:18 +0000)]
nicer indenting

[r15716]

16 years agonicer indenting
Matthias Braun [Sat, 8 Sep 2007 09:18:20 +0000 (09:18 +0000)]
nicer indenting

[r15715]

16 years agoAdd support for float->int conversion (no overflow handling yet)
Michael Beck [Fri, 7 Sep 2007 14:48:00 +0000 (14:48 +0000)]
Add support for float->int conversion (no overflow handling yet)

[r15709]

16 years agoAdd an xZero for generating SSE 0.0
Michael Beck [Fri, 7 Sep 2007 13:38:03 +0000 (13:38 +0000)]
Add an xZero for generating SSE 0.0

[r15707]

16 years agofixed version
Michael Beck [Fri, 7 Sep 2007 11:07:11 +0000 (11:07 +0000)]
fixed version

[r15706]

16 years agofixed ia32_transform_sub_to_neg_add() for SSE nodes: use the right mode
Michael Beck [Fri, 7 Sep 2007 10:57:25 +0000 (10:57 +0000)]
fixed ia32_transform_sub_to_neg_add() for SSE nodes: use the right mode

[r15705]

16 years agoanother more readable version
Michael Beck [Fri, 7 Sep 2007 10:18:35 +0000 (10:18 +0000)]
another more readable version

[r15704]

16 years agoalign SSE helper constants to 128 bit
Michael Beck [Thu, 6 Sep 2007 18:23:50 +0000 (18:23 +0000)]
align SSE helper constants to 128 bit

[r15703]

16 years agoupdated xStore template
Michael Beck [Thu, 6 Sep 2007 15:55:16 +0000 (15:55 +0000)]
updated xStore template

[r15702]

16 years agofixed conversion of NAN's
Michael Beck [Thu, 6 Sep 2007 15:42:13 +0000 (15:42 +0000)]
fixed conversion of NAN's

[r15701]

16 years agobug in the tarval modul ...
Michael Beck [Thu, 6 Sep 2007 15:30:23 +0000 (15:30 +0000)]
bug in the tarval modul ...

[r15700]

16 years agofixed some warnings
Michael Beck [Thu, 6 Sep 2007 14:12:13 +0000 (14:12 +0000)]
fixed some warnings

[r15699]

16 years agofixed sc_get_lowest_set_bit() for fehler73.c
Michael Beck [Thu, 6 Sep 2007 14:06:28 +0000 (14:06 +0000)]
fixed sc_get_lowest_set_bit() for fehler73.c

[r15698]

16 years agoanother bug
Matthias Braun [Thu, 6 Sep 2007 13:33:52 +0000 (13:33 +0000)]
another bug

[r15697]

16 years agoforbid the Add(x,x) -> Mul(x,2) optimization after SALS convertion
Michael Beck [Thu, 6 Sep 2007 13:09:38 +0000 (13:09 +0000)]
forbid the Add(x,x) -> Mul(x,2) optimization after SALS convertion

[r15696]

16 years ago- bugfix for Conv Float>64 signed
Michael Beck [Thu, 6 Sep 2007 11:26:23 +0000 (11:26 +0000)]
- bugfix for Conv Float>64 signed
- typos fixed
- removed some Macros generating functions

[r15695]

16 years agobugfix for Conv Float>64 signed
Michael Beck [Thu, 6 Sep 2007 11:25:13 +0000 (11:25 +0000)]
bugfix for Conv Float>64 signed

[r15694]

16 years agotypo fixed
Michael Beck [Thu, 6 Sep 2007 09:56:04 +0000 (09:56 +0000)]
typo fixed

[r15693]

16 years agoset the tarval fp_ops mode depending on the current irg fp mode before doing constant...
Michael Beck [Wed, 5 Sep 2007 22:47:43 +0000 (22:47 +0000)]
set the tarval fp_ops mode depending on the current irg fp mode before doing constant folding

[r15692]

16 years agobugfix: float cmp pnc have always ia32_pn_Cmp_Unsigned set
Michael Beck [Wed, 5 Sep 2007 21:50:39 +0000 (21:50 +0000)]
bugfix: float cmp pnc have always ia32_pn_Cmp_Unsigned set

[r15690]

16 years agomore checks
Michael Beck [Wed, 5 Sep 2007 21:49:32 +0000 (21:49 +0000)]
more checks

[r15689]

16 years agoadd svn:keywords
Michael Beck [Wed, 5 Sep 2007 17:25:08 +0000 (17:25 +0000)]
add svn:keywords

[r15685]

16 years agosvn properties added
Michael Beck [Wed, 5 Sep 2007 17:24:02 +0000 (17:24 +0000)]
svn properties added

[r15684]

16 years agoadd svn:keywords
Michael Beck [Wed, 5 Sep 2007 17:20:34 +0000 (17:20 +0000)]
add svn:keywords

[r15683]

16 years agoimproved MulC implementation
Michael Beck [Wed, 5 Sep 2007 15:04:19 +0000 (15:04 +0000)]
improved MulC implementation

[r15680]

16 years agofixed Add optimization
Michael Beck [Wed, 5 Sep 2007 15:03:13 +0000 (15:03 +0000)]
fixed Add optimization

[r15679]

16 years agoreplaced the max macro
Michael Beck [Wed, 5 Sep 2007 13:49:44 +0000 (13:49 +0000)]
replaced the max macro

[r15677]

16 years agoadd generic architecture
Michael Beck [Wed, 5 Sep 2007 13:42:44 +0000 (13:42 +0000)]
add generic architecture

[r15675]

16 years agochanged parameters for new MulC
Michael Beck [Wed, 5 Sep 2007 13:42:00 +0000 (13:42 +0000)]
changed parameters for new MulC

[r15674]

16 years agoimplement the Youfeng Wu algorithm for MulC
Michael Beck [Wed, 5 Sep 2007 13:41:02 +0000 (13:41 +0000)]
implement the Youfeng Wu algorithm for MulC

[r15673]

16 years agotest the new mul with Const
Michael Beck [Wed, 5 Sep 2007 13:40:13 +0000 (13:40 +0000)]
test the new mul with Const

[r15672]

16 years agodisables a+a => 2*a
Michael Beck [Wed, 5 Sep 2007 12:26:19 +0000 (12:26 +0000)]
disables a+a => 2*a

[r15671]

16 years agotarval_divmod added
Michael Beck [Wed, 5 Sep 2007 12:24:42 +0000 (12:24 +0000)]
tarval_divmod added

[r15670]

16 years agotarval_divmod added
Michael Beck [Wed, 5 Sep 2007 12:24:16 +0000 (12:24 +0000)]
tarval_divmod added

[r15669]

16 years agofix is_Const_Minus_1 test
Matthias Braun [Tue, 4 Sep 2007 14:18:13 +0000 (14:18 +0000)]
fix is_Const_Minus_1 test

[r15668]

16 years agofix TestSet emitter
Matthias Braun [Tue, 4 Sep 2007 14:17:57 +0000 (14:17 +0000)]
fix TestSet emitter

[r15667]

16 years agowe can't negate ConstP
Matthias Braun [Tue, 4 Sep 2007 14:13:59 +0000 (14:13 +0000)]
we can't negate ConstP

[r15666]

16 years agoHandle nodes with block predecessors.
Christoph Mallon [Tue, 4 Sep 2007 13:41:43 +0000 (13:41 +0000)]
Handle nodes with block predecessors.

[r15665]

16 years agoFix normal scheduler
Christoph Mallon [Tue, 4 Sep 2007 13:14:03 +0000 (13:14 +0000)]
Fix normal scheduler
- actually use the calculated costs for scheduling
- calculate the register use of nodes

[r15664]

16 years agoremove Load when using Cmp source AM
Matthias Braun [Mon, 3 Sep 2007 16:17:29 +0000 (16:17 +0000)]
remove Load when using Cmp source AM

[r15663]

16 years agosome fixes to profiling code (not enough to make it really working again)
Matthias Braun [Mon, 3 Sep 2007 16:16:36 +0000 (16:16 +0000)]
some fixes to profiling code (not enough to make it really working again)

[r15662]

16 years agofixed memory hole, typo
Michael Beck [Mon, 3 Sep 2007 14:46:57 +0000 (14:46 +0000)]
fixed memory hole, typo

[r15661]

16 years agoSub(x, Const) -> Add(x, -Const)
Matthias Braun [Mon, 3 Sep 2007 13:28:29 +0000 (13:28 +0000)]
Sub(x, Const) -> Add(x, -Const)

[r15660]

16 years agodon't create Inc/Dec in transform phase but delay that decision for the finish phase...
Matthias Braun [Mon, 3 Sep 2007 13:28:00 +0000 (13:28 +0000)]
don't create Inc/Dec in transform phase but delay that decision for the finish phase (of course we still create IncMem and DecMem nodes)

[r15659]

16 years agoallow general conversions between reference and interegr modes
Michael Beck [Mon, 3 Sep 2007 13:28:46 +0000 (13:28 +0000)]
allow general conversions between reference and interegr modes

[r15658]

16 years agomissing handling for CmpSet8Bit and TestSet8Bit
Matthias Braun [Mon, 3 Sep 2007 12:01:45 +0000 (12:01 +0000)]
missing handling for CmpSet8Bit and TestSet8Bit

[r15657]

16 years agomade cost double
Michael Beck [Fri, 31 Aug 2007 15:10:08 +0000 (15:10 +0000)]
made cost double

[r15651]

16 years agofixed use of uninitialised variable
Michael Beck [Fri, 31 Aug 2007 15:09:39 +0000 (15:09 +0000)]
fixed use of uninitialised variable

[r15650]

16 years agofixed warning on VC build
Michael Beck [Fri, 31 Aug 2007 15:09:17 +0000 (15:09 +0000)]
fixed warning on VC build

[r15649]

16 years agofixed uninitialised variable
Michael Beck [Fri, 31 Aug 2007 15:08:44 +0000 (15:08 +0000)]
fixed uninitialised variable

[r15648]

16 years agofixed uninitialised variable used
Michael Beck [Fri, 31 Aug 2007 14:58:13 +0000 (14:58 +0000)]
fixed uninitialised variable used

[r15646]

16 years agoC99 featurs rmoved
Michael Beck [Fri, 31 Aug 2007 14:57:34 +0000 (14:57 +0000)]
C99 featurs rmoved

[r15645]

16 years agoforgot these 2 files in my last committ
Matthias Braun [Fri, 31 Aug 2007 14:53:11 +0000 (14:53 +0000)]
forgot these 2 files in my last committ

[r15644]

16 years agomake display of node idx configurable and disable it by default
Matthias Braun [Fri, 31 Aug 2007 14:49:57 +0000 (14:49 +0000)]
make display of node idx configurable and disable it by default

[r15643]

16 years agoChanged handling of address mode:
Matthias Braun [Fri, 31 Aug 2007 14:49:22 +0000 (14:49 +0000)]
Changed handling of address mode:
- Source and Destination address mode are now constructed during the normal
  transform phase and not as a separate phase
- Remove the old ImmOp stuff
- introduce 8, 16bit cmps, tests
- still some nodes miss SourceAM handling, but generally we should be as good/better than the old code, so I'm comitting now

[r15642]

16 years agofix warning
Matthias Braun [Fri, 31 Aug 2007 14:45:48 +0000 (14:45 +0000)]
fix warning

[r15641]

16 years agoimprove/fix fehler71
Matthias Braun [Fri, 31 Aug 2007 14:45:30 +0000 (14:45 +0000)]
improve/fix fehler71

[r15640]

16 years agoimprove address mode tests
Matthias Braun [Fri, 31 Aug 2007 14:44:35 +0000 (14:44 +0000)]
improve address mode tests

[r15639]

16 years agono need for StackParam transformation anymore
Matthias Braun [Fri, 31 Aug 2007 14:44:11 +0000 (14:44 +0000)]
no need for StackParam transformation anymore

[r15638]

16 years agoimprove register pressure statistics
Matthias Braun [Fri, 31 Aug 2007 14:43:41 +0000 (14:43 +0000)]
improve register pressure statistics

[r15637]

16 years agoremove old be_get_IncSP_mem, improve be node dumping
Matthias Braun [Fri, 31 Aug 2007 14:43:25 +0000 (14:43 +0000)]
remove old be_get_IncSP_mem, improve be node dumping

[r15636]

16 years agofix spillcosts calculation
Matthias Braun [Fri, 31 Aug 2007 14:42:45 +0000 (14:42 +0000)]
fix spillcosts calculation

[r15635]

16 years agoremoved unused arch_irn_class_const classification
Michael Beck [Fri, 31 Aug 2007 12:15:17 +0000 (12:15 +0000)]
removed unused arch_irn_class_const classification

[r15634]

16 years ago- C99 features removed
Michael Beck [Fri, 31 Aug 2007 12:14:53 +0000 (12:14 +0000)]
- C99 features removed
- use xmalloc() instead of malloc

[r15633]

16 years agoadd support to print some events in a human readable format to stderr
Matthias Braun [Thu, 30 Aug 2007 13:30:09 +0000 (13:30 +0000)]
add support to print some events in a human readable format to stderr

[r15628]

16 years agoadd support to print some events in a human readable format to stderr
Matthias Braun [Thu, 30 Aug 2007 13:30:00 +0000 (13:30 +0000)]
add support to print some events in a human readable format to stderr

[r15627]

16 years agoremove arch_irn_class_const, not used and not usefull IMO
Matthias Braun [Thu, 30 Aug 2007 12:26:13 +0000 (12:26 +0000)]
remove arch_irn_class_const, not used and not usefull IMO

[r15625]

16 years agofix warning
Matthias Braun [Thu, 30 Aug 2007 12:25:47 +0000 (12:25 +0000)]
fix warning

[r15624]

16 years agoadd be_get_FrameAddr_entity
Matthias Braun [Thu, 30 Aug 2007 12:25:13 +0000 (12:25 +0000)]
add be_get_FrameAddr_entity

[r15623]

16 years agofix Proj blocks in trans helper fix_loops phase
Matthias Braun [Thu, 30 Aug 2007 12:24:50 +0000 (12:24 +0000)]
fix Proj blocks in trans helper fix_loops phase

[r15622]

16 years agofixed lowering of signed 32x32=64 multiplication
Michael Beck [Tue, 28 Aug 2007 13:07:17 +0000 (13:07 +0000)]
fixed lowering of signed 32x32=64 multiplication

[r15617]

16 years agofixed lowering of Conv from I->L (fixed fehler72.c)
Michael Beck [Tue, 28 Aug 2007 12:15:34 +0000 (12:15 +0000)]
fixed lowering of Conv from I->L (fixed fehler72.c)

[r15615]

16 years agofehler72: wrong conversion from unsigned int to long long.
Christoph Mallon [Tue, 28 Aug 2007 10:00:07 +0000 (10:00 +0000)]
fehler72: wrong conversion from unsigned int to long long.

[r15614]

16 years agoSimplify backends by removing unnecessary constructs:
Matthias Braun [Mon, 27 Aug 2007 12:28:38 +0000 (12:28 +0000)]
Simplify backends by removing unnecessary constructs:
- removed be_FrameLoad and be_FrameStore nodes which weren't used anymore
- removed be_StackParam and replace it with Load(be_FrameAddr) constructs

[r15610]

16 years agoremove unused be_FrameLoad and be_FrameStore
Matthias Braun [Mon, 27 Aug 2007 12:12:42 +0000 (12:12 +0000)]
remove unused be_FrameLoad and be_FrameStore

[r15609]

16 years agoDrastically lower the runtime of the strong normal form theorem scheduler by not...
Christoph Mallon [Sat, 25 Aug 2007 19:50:16 +0000 (19:50 +0000)]
Drastically lower the runtime of the strong normal form theorem scheduler by not putting nodes, which are in the schedule list already, in the list again.

[r15608]

16 years agomore AM tests
Matthias Braun [Sat, 25 Aug 2007 17:05:50 +0000 (17:05 +0000)]
more AM tests

[r15607]

16 years agoRemove printf()s left over from debugging.
Christoph Mallon [Sat, 25 Aug 2007 16:30:33 +0000 (16:30 +0000)]
Remove printf()s left over from debugging.

[r15606]

16 years agoIn smaller_mode() state that mode_b can be converted to every integer mode without...
Christoph Mallon [Sat, 25 Aug 2007 16:28:56 +0000 (16:28 +0000)]
In smaller_mode() state that mode_b can be converted to every integer mode without loss.

[r15605]

16 years agoRemove unnecessary conversions to wider modes as operands of Cmp.
Christoph Mallon [Sat, 25 Aug 2007 16:26:56 +0000 (16:26 +0000)]
Remove unnecessary conversions to wider modes as operands of Cmp.
Convert comparisons of boolean nodes to boolean expressions.

[r15604]

16 years agoAllow mode_b as operand mode for Cmp as comments there suggest already.
Christoph Mallon [Sat, 25 Aug 2007 16:23:45 +0000 (16:23 +0000)]
Allow mode_b as operand mode for Cmp as comments there suggest already.

[r15603]

16 years agoProtect buffer[] by #ifdef FLTCALC_TRACE_CALC. It is only used when this macro is...
Christoph Mallon [Sat, 25 Aug 2007 06:52:58 +0000 (06:52 +0000)]
Protect buffer[] by #ifdef FLTCALC_TRACE_CALC. It is only used when this macro is set.

[r15602]

16 years agoFix typos in comments.
Christoph Mallon [Sat, 25 Aug 2007 06:51:40 +0000 (06:51 +0000)]
Fix typos in comments.

[r15601]

16 years agoSome more boolopt tests.
Christoph Mallon [Sat, 25 Aug 2007 06:50:59 +0000 (06:50 +0000)]
Some more boolopt tests.

[r15600]

16 years agoextended boolopts test
Matthias Braun [Fri, 24 Aug 2007 11:54:29 +0000 (11:54 +0000)]
extended boolopts test

[r15599]

16 years agofix mode_b optimisation with compares
Matthias Braun [Thu, 23 Aug 2007 17:40:37 +0000 (17:40 +0000)]
fix mode_b optimisation with compares

[r15598]