libfirm
15 years agoalways emit push/pop in statev
Matthias Braun [Fri, 19 Sep 2008 14:20:03 +0000 (14:20 +0000)]
always emit push/pop in statev

[r22126]

15 years agoexperimental load-store improvement
Matthias Braun [Fri, 19 Sep 2008 11:40:22 +0000 (11:40 +0000)]
experimental load-store improvement

[r22124]

15 years agoadd example for constant load replacementx
Michael Beck [Fri, 19 Sep 2008 00:52:27 +0000 (00:52 +0000)]
add example for constant load replacementx

[r22110]

15 years ago- BugFix: transform_polymorph_Load() returns the original load, not NULL
Michael Beck [Fri, 19 Sep 2008 00:49:58 +0000 (00:49 +0000)]
- BugFix: transform_polymorph_Load() returns the original load, not NULL
- removed useless code

[r22109]

15 years ago- fixed equal_path()
Michael Beck [Fri, 19 Sep 2008 00:48:53 +0000 (00:48 +0000)]
- fixed equal_path()
- removed #if 0 code

[r22108]

15 years agofixed indentation
Michael Beck [Thu, 18 Sep 2008 23:21:43 +0000 (23:21 +0000)]
fixed indentation

[r22107]

15 years agoadd missing svn:keywords properties
Michael Beck [Thu, 18 Sep 2008 23:04:59 +0000 (23:04 +0000)]
add missing svn:keywords properties

[r22106]

15 years ago- add missing prototype
Michael Beck [Thu, 18 Sep 2008 23:01:39 +0000 (23:01 +0000)]
- add missing prototype

[r22105]

15 years agoMore refactoring:
Michael Beck [Thu, 18 Sep 2008 22:58:10 +0000 (22:58 +0000)]
More refactoring:
 - replaced old non-safe code
 - handle polymorph optimization and const_load code equally
 - renamed transform_node_Load() into more logical
   transform_polymorph_Load()

[r22104]

15 years ago- factor out and simplify some code
Michael Beck [Thu, 18 Sep 2008 22:32:28 +0000 (22:32 +0000)]
- factor out and simplify some code

[r22103]

15 years ago- simplify the code, check atomic entities for reinterpret casts
Michael Beck [Thu, 18 Sep 2008 22:25:26 +0000 (22:25 +0000)]
- simplify the code, check atomic entities for reinterpret casts

[r22100]

15 years ago- can handle some hidden reinterpret casts when doing const load replacement
Michael Beck [Thu, 18 Sep 2008 22:16:47 +0000 (22:16 +0000)]
- can handle some hidden reinterpret casts when doing const load replacement

[r22099]

15 years ago- removed redundant checks
Michael Beck [Thu, 18 Sep 2008 20:12:37 +0000 (20:12 +0000)]
- removed redundant checks

[r22094]

15 years ago- improved rec_find_compound_ent_value(): handle missing [0] access
Michael Beck [Thu, 18 Sep 2008 20:08:47 +0000 (20:08 +0000)]
- improved rec_find_compound_ent_value(): handle missing [0] access
- improved rec_get_accessed_path(): checks bounds before building the compound graph path

[r22093]

15 years agoimplemented constant load access for pointer arithmetic for new initializers
Michael Beck [Thu, 18 Sep 2008 16:32:15 +0000 (16:32 +0000)]
implemented constant load access for pointer arithmetic for new initializers

[r22090]

15 years agoimplemented constant load access for pointer arithmetic (old initializers only)
Michael Beck [Thu, 18 Sep 2008 15:07:09 +0000 (15:07 +0000)]
implemented constant load access for pointer arithmetic (old initializers only)

[r22088]

15 years ago- add get_compound_graph_path_type()
Michael Beck [Thu, 18 Sep 2008 14:36:03 +0000 (14:36 +0000)]
- add get_compound_graph_path_type()
- add some doxygen comments

[r22086]

15 years agoC99 feature removed
Michael Beck [Thu, 18 Sep 2008 13:58:43 +0000 (13:58 +0000)]
C99 feature removed

[r22082]

15 years agoimprove debug output, increase depth limit to 7
Matthias Braun [Thu, 18 Sep 2008 13:30:27 +0000 (13:30 +0000)]
improve debug output, increase depth limit to 7

[r22081]

15 years agoadd a bunch of commandline options for easier benchmarking of different belady optimi...
Matthias Braun [Thu, 18 Sep 2008 13:30:00 +0000 (13:30 +0000)]
add a bunch of commandline options for easier benchmarking of different belady optimisations

[r22080]

15 years agoShift with const 4.
Sebastian Buchwald [Wed, 17 Sep 2008 12:36:11 +0000 (12:36 +0000)]
Shift with const 4.

[r22034]

15 years agoremoved unused var
Michael Beck [Tue, 16 Sep 2008 18:55:32 +0000 (18:55 +0000)]
removed unused var

[r22021]

15 years ago- fixed tarval_add() and tarval_sub() support for arithmetic with reference modes
Michael Beck [Tue, 16 Sep 2008 18:25:39 +0000 (18:25 +0000)]
- fixed tarval_add() and tarval_sub() support for arithmetic with reference modes

[r22019]

15 years agoFix possible loop in DAG while building start Barrier.
Christoph Mallon [Tue, 16 Sep 2008 10:37:24 +0000 (10:37 +0000)]
Fix possible loop in DAG while building start Barrier.

[r22000]

15 years agoFix comments.
Christoph Mallon [Tue, 16 Sep 2008 10:34:41 +0000 (10:34 +0000)]
Fix comments.

[r21999]

15 years ago- preliminary support for loads from constant entities using new style initializers
Michael Beck [Mon, 15 Sep 2008 13:24:16 +0000 (13:24 +0000)]
- preliminary support for loads from constant entities using new style initializers

[r21970]

15 years agoadd some doxygen comments
Michael Beck [Mon, 15 Sep 2008 13:21:26 +0000 (13:21 +0000)]
add some doxygen comments

[r21969]

15 years ago- C99 features removed
Michael Beck [Fri, 12 Sep 2008 21:35:33 +0000 (21:35 +0000)]
- C99 features removed

[r21913]

15 years agoadjustements
Matthias Braun [Fri, 12 Sep 2008 11:13:23 +0000 (11:13 +0000)]
adjustements

[r21893]

15 years ago- BugFix: fc_get_plusinf()/fc_get_minusinf() must set INF class
Michael Beck [Fri, 12 Sep 2008 00:41:03 +0000 (00:41 +0000)]
- BugFix: fc_get_plusinf()/fc_get_minusinf() must set INF class
- BugFix: fixed printing of Inf values

[r21869]

15 years agoImproved handling of fc_exact: NaN and Inf results are NOT exact
Michael Beck [Fri, 12 Sep 2008 00:33:22 +0000 (00:33 +0000)]
Improved handling of fc_exact: NaN and Inf results are NOT exact

[r21868]

15 years agoreverted r21775: too restrictive because ieee 754 uses binary representation for...
Michael Beck [Fri, 12 Sep 2008 00:14:14 +0000 (00:14 +0000)]
reverted r21775: too restrictive because ieee 754 uses binary representation for the mantissa

[r21867]

15 years ago- reset the default stack alignment to 2^2
Michael Beck [Thu, 11 Sep 2008 23:20:54 +0000 (23:20 +0000)]
- reset the default stack alignment to 2^2

[r21864]

15 years ago- fix for r21852: do not remove ALL Conv optimizations,
Michael Beck [Thu, 11 Sep 2008 23:06:30 +0000 (23:06 +0000)]
- fix for r21852: do not remove ALL Conv optimizations,
  yust those that causing a problem (Conv to mode_b leading to Phib)

[r21863]

15 years agoFix return value.
Christoph Mallon [Thu, 11 Sep 2008 13:42:59 +0000 (13:42 +0000)]
Fix return value.

[r21853]

15 years agoRemoving conv-on-Phi local opt
Andreas Zwinkau [Thu, 11 Sep 2008 13:00:56 +0000 (13:00 +0000)]
Removing conv-on-Phi local opt

It leads to remaining Phib nodes later, because
the conv_b_lower operation is instantly reverted, when
it tries to insert a Convb.

[r21852]

15 years agoResolve race condition: First set handler, then call alarm().
Christoph Mallon [Thu, 11 Sep 2008 12:38:18 +0000 (12:38 +0000)]
Resolve race condition: First set handler, then call alarm().

[r21851]

15 years agoIn be_get_Proj_for_pn() before getting the proj number make sure that the node really...
Christoph Mallon [Thu, 11 Sep 2008 12:13:58 +0000 (12:13 +0000)]
In be_get_Proj_for_pn() before getting the proj number make sure that the node really is a Proj (could be End due to keep alive).

[r21847]

15 years agoIndentation, braces.
Christoph Mallon [Thu, 11 Sep 2008 12:11:05 +0000 (12:11 +0000)]
Indentation, braces.

[r21846]

15 years agoTypo in comment.
Christoph Mallon [Thu, 11 Sep 2008 12:09:02 +0000 (12:09 +0000)]
Typo in comment.

[r21844]

15 years agoDo not mark functions with kept basic blocks (endless loops, dead ends) as "const...
Christoph Mallon [Thu, 11 Sep 2008 10:20:05 +0000 (10:20 +0000)]
Do not mark functions with kept basic blocks (endless loops, dead ends) as "const" or "pure".

[r21838]

15 years agoPrevent beuses from choking on basic blocks without control flow successors.
Christoph Mallon [Thu, 11 Sep 2008 10:18:22 +0000 (10:18 +0000)]
Prevent beuses from choking on basic blocks without control flow successors.

[r21837]

15 years agoAdding mini testcase for incmem
Andreas Zwinkau [Thu, 11 Sep 2008 09:27:44 +0000 (09:27 +0000)]
Adding mini testcase for incmem

[r21836]

15 years agoRemove unused variable.
Christoph Mallon [Thu, 11 Sep 2008 08:24:32 +0000 (08:24 +0000)]
Remove unused variable.

[r21833]

15 years agos/get_irn_op(x) {==,!=} op_FOO/{,!}is_FOO(x)/.
Christoph Mallon [Thu, 11 Sep 2008 08:21:51 +0000 (08:21 +0000)]
s/get_irn_op(x) {==,!=} op_FOO/{,!}is_FOO(x)/.

[r21832]

15 years agos/Block_not_block_visited(x)/!Block_block_visited(x)/.
Christoph Mallon [Thu, 11 Sep 2008 07:30:06 +0000 (07:30 +0000)]
s/Block_not_block_visited(x)/!Block_block_visited(x)/.

[r21831]

15 years agos/get_irn_op(x) == op_Block/is_Block(x)/.
Christoph Mallon [Thu, 11 Sep 2008 07:18:53 +0000 (07:18 +0000)]
s/get_irn_op(x) == op_Block/is_Block(x)/.

[r21830]

15 years agoTypo in comment.
Christoph Mallon [Thu, 11 Sep 2008 06:22:30 +0000 (06:22 +0000)]
Typo in comment.

[r21828]

15 years agoremove assert in keepalive()
Michael Beck [Wed, 10 Sep 2008 16:21:07 +0000 (16:21 +0000)]
remove assert in keepalive()

[r21824]

15 years agofix testcases, yet another endless loop test
Matthias Braun [Wed, 10 Sep 2008 15:06:03 +0000 (15:06 +0000)]
fix testcases, yet another endless loop test

[r21823]

15 years agomore tricky endless loop stuff
Matthias Braun [Wed, 10 Sep 2008 15:00:22 +0000 (15:00 +0000)]
more tricky endless loop stuff

[r21822]

15 years ago- Changed keep logic: all nodes can be keeped yet, thi is necessary to fix fehler152
Michael Beck [Wed, 10 Sep 2008 14:06:24 +0000 (14:06 +0000)]
- Changed keep logic: all nodes can be keeped yet, thi is necessary to fix fehler152

[r21820]

15 years agoanother strange endless loop failure
Michael Beck [Wed, 10 Sep 2008 11:05:37 +0000 (11:05 +0000)]
another strange endless loop failure

[r21814]

15 years agowrong endless loop handling
Michael Beck [Wed, 10 Sep 2008 10:58:08 +0000 (10:58 +0000)]
wrong endless loop handling

[r21813]

15 years agoUse Block-specific functions instead of generic get_irn_*().
Christoph Mallon [Wed, 10 Sep 2008 09:04:45 +0000 (09:04 +0000)]
Use Block-specific functions instead of generic get_irn_*().

[r21812]

15 years agoFix typo in comment.
Christoph Mallon [Wed, 10 Sep 2008 05:53:39 +0000 (05:53 +0000)]
Fix typo in comment.

[r21811]

15 years agofixed warning
Michael Beck [Wed, 10 Sep 2008 01:31:56 +0000 (01:31 +0000)]
fixed warning

[r21810]

15 years ago- use unsigned instead of int where appropriate
Michael Beck [Wed, 10 Sep 2008 01:23:54 +0000 (01:23 +0000)]
- use unsigned instead of int where appropriate
- use int instead of double for affinity edge weight

[r21809]

15 years agosimplified more
Michael Beck [Wed, 10 Sep 2008 01:09:23 +0000 (01:09 +0000)]
simplified more

[r21808]

15 years agotypo fixed
Michael Beck [Wed, 10 Sep 2008 01:08:07 +0000 (01:08 +0000)]
typo fixed

[r21807]

15 years ago- fixed comment: bs cannot be NULL anymore (and was never NULL previously)
Michael Beck [Wed, 10 Sep 2008 01:03:04 +0000 (01:03 +0000)]
- fixed comment: bs cannot be NULL anymore (and was never NULL previously)

[r21806]

15 years agoarch_register_class_put() is only used locally
Michael Beck [Wed, 10 Sep 2008 01:01:21 +0000 (01:01 +0000)]
arch_register_class_put() is only used locally

[r21805]

15 years ago- if 0'ed unused function
Michael Beck [Wed, 10 Sep 2008 00:54:33 +0000 (00:54 +0000)]
- if 0'ed unused function

[r21804]

15 years agouse panic instead of assert(0 & "...")
Michael Beck [Wed, 10 Sep 2008 00:44:04 +0000 (00:44 +0000)]
use panic instead of assert(0 & "...")

[r21803]

15 years ago- fixed typo, indentation
Michael Beck [Wed, 10 Sep 2008 00:09:45 +0000 (00:09 +0000)]
- fixed typo, indentation

[r21802]

15 years ago- made the be_stack_layout part of be_abi_irg_t to reduce indirection
Michael Beck [Wed, 10 Sep 2008 00:00:22 +0000 (00:00 +0000)]
- made the be_stack_layout part of be_abi_irg_t to reduce indirection
- if(..) -> if (...)
- removed unused dont_save set
- moved initializations of variables to first usage reducing life time

[r21801]

15 years agofix
Matthias Braun [Tue, 9 Sep 2008 15:01:16 +0000 (15:01 +0000)]
fix

[r21788]

15 years agomatch immediate for SubSP and AddSP
Matthias Braun [Tue, 9 Sep 2008 14:56:56 +0000 (14:56 +0000)]
match immediate for SubSP and AddSP

[r21787]

15 years agotest without alignment
Matthias Braun [Tue, 9 Sep 2008 14:51:49 +0000 (14:51 +0000)]
test without alignment

[r21786]

15 years agointialize initial_bias
Matthias Braun [Tue, 9 Sep 2008 14:09:43 +0000 (14:09 +0000)]
intialize initial_bias

[r21785]

15 years ago- Allowing an initial stack_bias to be transmitted from the prolog generating function
Michael Beck [Tue, 9 Sep 2008 14:02:28 +0000 (14:02 +0000)]
- Allowing an initial stack_bias to be transmitted from the prolog generating function
- reverted 21738: old_bp is again part of the between type for ia32

[r21783]

15 years agochecked in "too much"
Michael Beck [Tue, 9 Sep 2008 13:04:58 +0000 (13:04 +0000)]
checked in "too much"

[r21782]

15 years agofixed r21771
Michael Beck [Tue, 9 Sep 2008 13:00:05 +0000 (13:00 +0000)]
fixed r21771

[r21781]

15 years agoTypo in comment.
Christoph Mallon [Tue, 9 Sep 2008 12:06:26 +0000 (12:06 +0000)]
Typo in comment.

[r21780]

15 years agoAdd should_be_same constraint on second input to second output of ia32_Minus64Bit.
Christoph Mallon [Tue, 9 Sep 2008 11:13:37 +0000 (11:13 +0000)]
Add should_be_same constraint on second input to second output of ia32_Minus64Bit.

[r21778]

15 years ago- finally kicked size_t, both calls return unsigned
Michael Beck [Tue, 9 Sep 2008 10:43:30 +0000 (10:43 +0000)]
- finally kicked size_t, both calls return unsigned

[r21776]

15 years ago- even more restrictive: we only know that twos-complement can be placed into a IEEE...
Michael Beck [Tue, 9 Sep 2008 10:41:43 +0000 (10:41 +0000)]
- even more restrictive: we only know that twos-complement can be placed into a IEEE 754 mantissa

[r21775]

15 years ago- currently we support IEEE 754 only, so change the condition
Michael Beck [Tue, 9 Sep 2008 10:10:09 +0000 (10:10 +0000)]
- currently we support IEEE 754 only, so change the condition

[r21774]

15 years ago- give enums tags so MSVC debugger is happy
Michael Beck [Tue, 9 Sep 2008 10:08:01 +0000 (10:08 +0000)]
- give enums tags so MSVC debugger is happy

[r21773]

15 years agotarval_ieee754_get_mantissa_size() implemented
Michael Beck [Tue, 9 Sep 2008 10:06:17 +0000 (10:06 +0000)]
tarval_ieee754_get_mantissa_size() implemented

[r21772]

15 years ago- C99 features removed
Michael Beck [Tue, 9 Sep 2008 09:54:42 +0000 (09:54 +0000)]
- C99 features removed
- renamed second var i

[r21771]

15 years ago80bit floats have no implicit 1. Remove unnecessary condition.
Christoph Mallon [Tue, 9 Sep 2008 09:20:30 +0000 (09:20 +0000)]
80bit floats have no implicit 1.  Remove unnecessary condition.

[r21770]

15 years agoSlightly reduce code duplication.
Christoph Mallon [Tue, 9 Sep 2008 09:19:06 +0000 (09:19 +0000)]
Slightly reduce code duplication.

[r21769]

15 years agopush unused livethroughs through loops in belady3
Matthias Braun [Tue, 9 Sep 2008 07:43:44 +0000 (07:43 +0000)]
push unused livethroughs through loops in belady3

[r21766]

15 years agoimproved PIC support
Matthias Braun [Tue, 9 Sep 2008 07:43:19 +0000 (07:43 +0000)]
improved PIC support

[r21765]

15 years agoDo not warn about wrong register for a Phi input if that register is a joker (i.e...
Christoph Mallon [Tue, 9 Sep 2008 06:38:17 +0000 (06:38 +0000)]
Do not warn about wrong register for a Phi input if that register is a joker (i.e. the infamous unknown register).

[r21764]

15 years agoMake warning about registers assigned to Phi inputs more clear.
Christoph Mallon [Tue, 9 Sep 2008 06:36:19 +0000 (06:36 +0000)]
Make warning about registers assigned to Phi inputs more clear.

[r21763]

15 years agoCorrectly transform memory for dest AM when Syncs are present.
Christoph Mallon [Mon, 8 Sep 2008 18:20:50 +0000 (18:20 +0000)]
Correctly transform memory for dest AM when Syncs are present.

[r21752]

15 years agotestcase for failing gvn-pre
Michael Beck [Mon, 8 Sep 2008 12:35:59 +0000 (12:35 +0000)]
testcase for failing gvn-pre

[r21749]

15 years agofix warnings
Matthias Braun [Sun, 7 Sep 2008 16:35:22 +0000 (16:35 +0000)]
fix warnings

[r21739]

15 years agoold_bp should not be part of the between type, this fixes stack alignment for functio...
Matthias Braun [Sun, 7 Sep 2008 16:34:40 +0000 (16:34 +0000)]
old_bp should not be part of the between type, this fixes stack alignment for functions with base pointer

[r21738]

15 years agotypo
Sebastian Buchwald [Fri, 5 Sep 2008 21:43:00 +0000 (21:43 +0000)]
typo

[r21732]

15 years agodon't compare attributes but their addresses
Matthias Braun [Fri, 5 Sep 2008 18:50:32 +0000 (18:50 +0000)]
don't compare attributes but their addresses

[r21730]

15 years agovf regs are not virtual (well not for our definition)
Matthias Braun [Fri, 5 Sep 2008 16:55:03 +0000 (16:55 +0000)]
vf regs are not virtual (well not for our definition)

[r21728]

15 years agonew and improved regalloc verifier
Matthias Braun [Fri, 5 Sep 2008 16:54:30 +0000 (16:54 +0000)]
new and improved regalloc verifier

[r21727]

15 years agoreset chunk ids for new funtions
Matthias Braun [Fri, 5 Sep 2008 16:54:15 +0000 (16:54 +0000)]
reset chunk ids for new funtions

[r21726]

15 years agoRemoved -after_pbqp_transform, because it is the same as -transformed
Andreas Zwinkau [Fri, 5 Sep 2008 11:44:33 +0000 (11:44 +0000)]
Removed -after_pbqp_transform, because it is the same as -transformed

[r21719]

15 years agoFix typo in BE_REGISTER_MODULE_CONSTRUCTOR() user.
Christoph Mallon [Thu, 4 Sep 2008 19:53:05 +0000 (19:53 +0000)]
Fix typo in BE_REGISTER_MODULE_CONSTRUCTOR() user.

[r21711]

15 years agosimplified and improved
Matthias Braun [Thu, 4 Sep 2008 12:15:39 +0000 (12:15 +0000)]
simplified and improved

[r21699]

15 years agodifferent cparser / eccp code
Michael Beck [Thu, 4 Sep 2008 12:11:27 +0000 (12:11 +0000)]
different cparser / eccp code

[r21698]