libfirm
15 years ago- fixed one Win32 "deprecated posix name" warning
Michael Beck [Tue, 5 Aug 2008 17:39:05 +0000 (17:39 +0000)]
- fixed one Win32 "deprecated posix name" warning

[r21004]

15 years ago- add two more (void *) casts to should up MSVC const problems
Michael Beck [Tue, 5 Aug 2008 17:34:13 +0000 (17:34 +0000)]
- add two more (void *) casts to should up MSVC const problems

[r21003]

15 years ago- more comments added, renamed some functions to have dom in its name
Michael Beck [Tue, 5 Aug 2008 17:33:15 +0000 (17:33 +0000)]
- more comments added, renamed some functions to have dom in its name

[r21002]

15 years ago- removed C99 stdbool.h from the "official" interface in be.h
Michael Beck [Tue, 5 Aug 2008 16:52:46 +0000 (16:52 +0000)]
- removed C99 stdbool.h from the "official" interface in be.h

[r21001]

15 years agoremoved C99 stdbool.h from the "official" interface in be.h
Michael Beck [Tue, 5 Aug 2008 16:49:39 +0000 (16:49 +0000)]
removed C99 stdbool.h from the "official" interface in be.h

[r21000]

15 years ago- removed C99 stdbool.h from the "official" interface in be.h
Michael Beck [Tue, 5 Aug 2008 16:48:29 +0000 (16:48 +0000)]
- removed C99 stdbool.h from the "official" interface in be.h

[r20999]

15 years agoBugFix: map all anchored nodes of the called graph to nodes of the callers graph
Michael Beck [Tue, 5 Aug 2008 16:46:01 +0000 (16:46 +0000)]
BugFix: map all anchored nodes of the called graph to nodes of the callers graph

[r20998]

15 years agoUpdate the liveness of the *operands* when fixing flags users (why is liveness active...
Christoph Mallon [Tue, 5 Aug 2008 14:00:14 +0000 (14:00 +0000)]
Update the liveness of the *operands* when fixing flags users (why is liveness active at this point at all?).

[r20997]

15 years agoFor COFF those .type and .size are not required and don't work like this, anyway...
Moritz Kroll [Tue, 5 Aug 2008 11:17:58 +0000 (11:17 +0000)]
For COFF those .type and .size are not required and don't work like this, anyway (gcc doesn't produce them at all for COFF)

[r20989]

15 years agoEmit .type and .size directives for non-common global variables to make the (dynamic...
Christoph Mallon [Tue, 5 Aug 2008 10:05:51 +0000 (10:05 +0000)]
Emit .type and .size directives for non-common global variables to make the (dynamic) linker happy.

[r20987]

15 years agoremoved unneccessary recalculation of out edges
Michael Beck [Tue, 5 Aug 2008 09:15:12 +0000 (09:15 +0000)]
removed unneccessary recalculation of out edges

[r20986]

15 years agofehler128: Crashes in Belady when compiled with -march=i686
Moritz Kroll [Tue, 5 Aug 2008 01:55:45 +0000 (01:55 +0000)]
fehler128: Crashes in Belady when compiled with -march=i686

[r20980]

15 years agoFixed visibility of non-globals in GAS output for COFF
Moritz Kroll [Tue, 5 Aug 2008 00:34:50 +0000 (00:34 +0000)]
Fixed visibility of non-globals in GAS output for COFF

[r20975]

15 years agoInitialise and set the "changed"-flag.
Christoph Mallon [Mon, 4 Aug 2008 18:47:14 +0000 (18:47 +0000)]
Initialise and set the "changed"-flag.

[r20971]

15 years agoUsing an obstack is slightly overkill.
Christoph Mallon [Mon, 4 Aug 2008 18:45:22 +0000 (18:45 +0000)]
Using an obstack is slightly overkill.

[r20970]

15 years ago- BugFix: invalidate analyis info in graph was modified
Michael Beck [Mon, 4 Aug 2008 16:19:37 +0000 (16:19 +0000)]
- BugFix: invalidate analyis info in graph was modified

[r20969]

15 years agorename lower_Switch to lower_switch to be consistent with the rest
Matthias Braun [Mon, 4 Aug 2008 11:48:20 +0000 (11:48 +0000)]
rename lower_Switch to lower_switch to be consistent with the rest

[r20964]

15 years agoRemove unnecessary return; at end of void functions.
Christoph Mallon [Mon, 4 Aug 2008 09:51:10 +0000 (09:51 +0000)]
Remove unnecessary return; at end of void functions.

[r20961]

15 years agoRemove unnecessary return; at end of void functions.
Christoph Mallon [Mon, 4 Aug 2008 09:45:57 +0000 (09:45 +0000)]
Remove unnecessary return; at end of void functions.

[r20959]

15 years agoDo not materialise the "strict"-part of strictConv(int) unless the source mode has...
Christoph Mallon [Sun, 3 Aug 2008 20:23:50 +0000 (20:23 +0000)]
Do not materialise the "strict"-part of strictConv(int) unless the source mode has more bits than the target float mode mantissa.

[r20955]

15 years ago- add missing transform_Proj_Bound()
Michael Beck [Sun, 3 Aug 2008 13:06:16 +0000 (13:06 +0000)]
- add missing transform_Proj_Bound()

[r20953]

15 years ago- More restructureation:
Michael Beck [Sun, 3 Aug 2008 12:43:44 +0000 (12:43 +0000)]
- More restructureation:
 - add new operations transform_node_Proj() and equivalent_node_Proj()

[r20952]

15 years agofixed warnings
Michael Beck [Sun, 3 Aug 2008 12:35:36 +0000 (12:35 +0000)]
fixed warnings

[r20951]

15 years ago- More restructureation:
Michael Beck [Sun, 3 Aug 2008 12:08:23 +0000 (12:08 +0000)]
- More restructureation:
 - add new operations computed_value_Proj() and equivalent_node_Proj()
 - computed_value_func() uses now const ir_node *
 - removed some old code

[r20950]

15 years ago- add a cast to suppress DEL_ARR_F() warnings when compiled with MSVC
Michael Beck [Sun, 3 Aug 2008 11:25:17 +0000 (11:25 +0000)]
- add a cast to suppress DEL_ARR_F() warnings when compiled with MSVC
- killed those spaces before arguments

[r20949]

15 years agomore fixes for r20946
Michael Beck [Sat, 2 Aug 2008 22:43:03 +0000 (22:43 +0000)]
more fixes for r20946

[r20948]

15 years agotypo fixed
Michael Beck [Sat, 2 Aug 2008 22:28:13 +0000 (22:28 +0000)]
typo fixed

[r20947]

15 years agorevised equivalent_node() functions:
Michael Beck [Sat, 2 Aug 2008 16:45:26 +0000 (16:45 +0000)]
revised equivalent_node() functions:
 - use value_of() instead of is_Const() tests to allow interaction with combo
 - new nodes in equivalent_node are NOT allowed
 - turn_into_tuple() in equivalent_node is NOT allowed
 - do NOT allow equivalent nodes for mode_T nodes!

BugFix:
 - value_not_null() checked for wrong pnc

[r20946]

15 years agoConvI(ConvF(I)) -> I, iff float mantissa >= int mode
Christoph Mallon [Sat, 2 Aug 2008 12:11:10 +0000 (12:11 +0000)]
ConvI(ConvF(I)) -> I, iff float mantissa >= int mode

[r20940]

15 years agoReplace memcpy() by simple assignment.
Christoph Mallon [Sat, 2 Aug 2008 11:25:40 +0000 (11:25 +0000)]
Replace memcpy() by simple assignment.

[r20939]

15 years ago- add support for ASM includes, needed for fehler125.c
Michael Beck [Sat, 2 Aug 2008 06:05:23 +0000 (06:05 +0000)]
- add support for ASM includes, needed for fehler125.c

[r20935]

15 years ago- increase version number for next development version
Michael Beck [Sat, 2 Aug 2008 06:04:29 +0000 (06:04 +0000)]
- increase version number for next development version

[r20934]

15 years ago- removed useless strlen()
Michael Beck [Sat, 2 Aug 2008 06:03:25 +0000 (06:03 +0000)]
- removed useless strlen()

[r20933]

15 years agoremoved debug mask setting
Michael Beck [Sat, 2 Aug 2008 04:42:14 +0000 (04:42 +0000)]
removed debug mask setting

[r20931]

15 years agoSmall improvements:
Michael Beck [Sat, 2 Aug 2008 04:03:30 +0000 (04:03 +0000)]
Small improvements:
 - use single linked split list instead of double
 - no need to store the arity for partitions, as splitting by
   inputs is always last and especially AFTER we split by opcode

[r20929]

15 years agofehler127: WTF - autobreak expects this to compile.
Moritz Kroll [Fri, 1 Aug 2008 23:28:36 +0000 (23:28 +0000)]
fehler127: WTF - autobreak expects this to compile.

[r20927]

15 years agofehler126: edg fe crashes.
Moritz Kroll [Fri, 1 Aug 2008 23:16:40 +0000 (23:16 +0000)]
fehler126: edg fe crashes.

[r20926]

15 years agofehler125: Missing support for global asm statements.
Moritz Kroll [Fri, 1 Aug 2008 22:14:28 +0000 (22:14 +0000)]
fehler125: Missing support for global asm statements.

[r20925]

15 years agoReroute End-keep edges when creating critical edges during block scheduling (i.e...
Moritz Kroll [Fri, 1 Aug 2008 21:54:59 +0000 (21:54 +0000)]
Reroute End-keep edges when creating critical edges during block scheduling (i.e. the removed block is the End-kept block of an endless loop).

[r20924]

15 years agoFix fehler123 and fehler124.
Moritz Kroll [Fri, 1 Aug 2008 20:31:25 +0000 (20:31 +0000)]
Fix fehler123 and fehler124.

[r20923]

15 years agoIncorrect final value due to skipping too many float-float-Convs while transforming.
Moritz Kroll [Fri, 1 Aug 2008 20:12:57 +0000 (20:12 +0000)]
Incorrect final value due to skipping too many float-float-Convs while transforming.

[r20922]

15 years agofehler123: ia32 transformer skips too many convs when storing float->int converted...
Moritz Kroll [Fri, 1 Aug 2008 19:33:35 +0000 (19:33 +0000)]
fehler123: ia32 transformer skips too many convs when storing float->int converted value.

[r20921]

15 years agoFixed switch lowering
Moritz Kroll [Fri, 1 Aug 2008 19:06:15 +0000 (19:06 +0000)]
Fixed switch lowering

[r20919]

15 years agoadd TEMPLATE backend to Makefile
Matthias Braun [Fri, 1 Aug 2008 14:15:37 +0000 (14:15 +0000)]
add TEMPLATE backend to Makefile

[r20912]

15 years agoref-results are outdates and potentially wrong
Matthias Braun [Fri, 1 Aug 2008 13:26:06 +0000 (13:26 +0000)]
ref-results are outdates and potentially wrong

[r20906]

15 years agoupdate testprograms to latest libfirm
Matthias Braun [Fri, 1 Aug 2008 13:25:40 +0000 (13:25 +0000)]
update testprograms to latest libfirm

[r20905]

15 years agoavoid warnings
Matthias Braun [Fri, 1 Aug 2008 11:50:07 +0000 (11:50 +0000)]
avoid warnings

[r20901]

15 years agoavoid warning
Matthias Braun [Fri, 1 Aug 2008 11:49:18 +0000 (11:49 +0000)]
avoid warning

[r20900]

15 years agoavoid long long in public API
Matthias Braun [Fri, 1 Aug 2008 11:46:43 +0000 (11:46 +0000)]
avoid long long in public API

[r20899]

15 years agocommit my experimental new reassoc before it gets lost (but keep it disabled)
Matthias Braun [Fri, 1 Aug 2008 11:45:47 +0000 (11:45 +0000)]
commit my experimental new reassoc before it gets lost (but keep it disabled)

[r20898]

15 years agofix warning
Matthias Braun [Fri, 1 Aug 2008 10:48:51 +0000 (10:48 +0000)]
fix warning

[r20893]

15 years agosmall optimisation (avoids edges_notify_edge)
Matthias Braun [Fri, 1 Aug 2008 10:44:33 +0000 (10:44 +0000)]
small optimisation (avoids edges_notify_edge)

[r20892]

15 years agoadd comment
Michael Beck [Fri, 1 Aug 2008 10:39:41 +0000 (10:39 +0000)]
add comment

[r20890]

15 years agoremoved two not absolutely necessary const's preventing warnings on VC7
Michael Beck [Fri, 1 Aug 2008 10:27:55 +0000 (10:27 +0000)]
removed two not absolutely necessary const's preventing warnings on VC7

[r20889]

15 years ago- tarval_sub() now has an additional parameter, needed for
Michael Beck [Fri, 1 Aug 2008 10:26:43 +0000 (10:26 +0000)]
- tarval_sub() now has an additional parameter, needed for
  mode_ref - mode_ref = mode_int operations
- more doxygen docu added
- allow reference mode arithmetic

[r20888]

15 years agofixed const
Michael Beck [Fri, 1 Aug 2008 10:03:27 +0000 (10:03 +0000)]
fixed const

[r20887]

15 years agoptr add/sub test
Michael Beck [Fri, 1 Aug 2008 09:56:22 +0000 (09:56 +0000)]
ptr add/sub test

[r20886]

15 years agofirm already had kill_node, no need to be_kill_node
Matthias Braun [Fri, 1 Aug 2008 09:24:36 +0000 (09:24 +0000)]
firm already had kill_node, no need to be_kill_node

[r20885]

15 years agoAdd two break; missing in r20857.
Christoph Mallon [Fri, 1 Aug 2008 08:51:22 +0000 (08:51 +0000)]
Add two break; missing in r20857.

[r20881]

15 years agoSkip a single downconv even if it has multiple users.
Christoph Mallon [Fri, 1 Aug 2008 08:14:28 +0000 (08:14 +0000)]
Skip a single downconv even if it has multiple users.

[r20878]

15 years agoInclude limits.h for LONG_{MAX,MIN}.
Christoph Mallon [Fri, 1 Aug 2008 07:47:33 +0000 (07:47 +0000)]
Include limits.h for LONG_{MAX,MIN}.

[r20877]

15 years agoTesting helps... *yawn*
Moritz Kroll [Fri, 1 Aug 2008 02:16:23 +0000 (02:16 +0000)]
Testing helps... *yawn*

[r20875]

15 years agoImplemented simple switch lowering
Moritz Kroll [Fri, 1 Aug 2008 01:53:20 +0000 (01:53 +0000)]
Implemented simple switch lowering

[r20872]

15 years ago- removed a now superfluous function
Michael Beck [Thu, 31 Jul 2008 22:19:53 +0000 (22:19 +0000)]
- removed a now superfluous function

[r20871]

15 years agoDeactivate edges before freeing an irg.
Sebastian Buchwald [Thu, 31 Jul 2008 21:33:59 +0000 (21:33 +0000)]
Deactivate edges before freeing an irg.

[r20869]

15 years agoFixed more memory leaks.
Sebastian Buchwald [Thu, 31 Jul 2008 21:26:36 +0000 (21:26 +0000)]
Fixed more memory leaks.

[r20868]

15 years agotypos
Sebastian Buchwald [Thu, 31 Jul 2008 21:13:33 +0000 (21:13 +0000)]
typos

[r20867]

15 years agoFixed revision 20864.
Sebastian Buchwald [Thu, 31 Jul 2008 21:02:34 +0000 (21:02 +0000)]
Fixed revision 20864.

[r20866]

15 years agocombo test case
Michael Beck [Thu, 31 Jul 2008 20:58:58 +0000 (20:58 +0000)]
combo test case

[r20865]

15 years agoFixed one more memory leak.
Sebastian Buchwald [Thu, 31 Jul 2008 20:28:49 +0000 (20:28 +0000)]
Fixed one more memory leak.

[r20864]

15 years agoPanic on switch size bigger than 256000... WTF?!
Moritz Kroll [Thu, 31 Jul 2008 20:26:19 +0000 (20:26 +0000)]
Panic on switch size bigger than 256000... WTF?!

[r20863]

15 years agoFixed one more memory leak.
Sebastian Buchwald [Thu, 31 Jul 2008 20:15:39 +0000 (20:15 +0000)]
Fixed one more memory leak.

[r20862]

15 years ago- allow add and sub with reference values
Michael Beck [Thu, 31 Jul 2008 19:26:42 +0000 (19:26 +0000)]
- allow add and sub with reference values

[r20857]

15 years agoCall firm_be_finish, but who calls me?
Sebastian Buchwald [Thu, 31 Jul 2008 19:18:09 +0000 (19:18 +0000)]
Call firm_be_finish, but who calls me?

[r20856]

15 years agoAdded function firm_be_finish.
Sebastian Buchwald [Thu, 31 Jul 2008 19:16:53 +0000 (19:16 +0000)]
Added function firm_be_finish.

[r20855]

15 years agoCall free functions.
Sebastian Buchwald [Thu, 31 Jul 2008 19:15:44 +0000 (19:15 +0000)]
Call free functions.

[r20854]

15 years ago- use double-linked lists instead of flexible arrays for the
Michael Beck [Thu, 31 Jul 2008 18:47:00 +0000 (18:47 +0000)]
- use double-linked lists instead of flexible arrays for the
  split_by_what() function
- BugFix: do not replace the Bad node
- BugFix: wrong var used

[r20853]

15 years agoFixed one more memory leak.
Sebastian Buchwald [Thu, 31 Jul 2008 18:19:40 +0000 (18:19 +0000)]
Fixed one more memory leak.

[r20851]

15 years agotypo
Sebastian Buchwald [Thu, 31 Jul 2008 18:18:06 +0000 (18:18 +0000)]
typo

[r20850]

15 years agoFixed one more memory leak.
Sebastian Buchwald [Thu, 31 Jul 2008 18:10:09 +0000 (18:10 +0000)]
Fixed one more memory leak.

[r20849]

15 years agoAdded Beck's VC obstack version. Updated VC project
Moritz Kroll [Thu, 31 Jul 2008 18:03:49 +0000 (18:03 +0000)]
Added Beck's VC obstack version. Updated VC project

[r20847]

15 years ago- BugFix: when splitting by input, ensure than Z is split by ALL inputs
Michael Beck [Thu, 31 Jul 2008 14:41:53 +0000 (14:41 +0000)]
- BugFix: when splitting by input, ensure than Z is split by ALL inputs
- BugFix: to detect that a Cmp must be reavaluated, we give the Cmp node the type true IF there is a chance that it could be evaluated

[r20841]

15 years agoGC attributes left over by r20834.
Christoph Mallon [Thu, 31 Jul 2008 14:13:14 +0000 (14:13 +0000)]
GC attributes left over by r20834.

[r20838]

15 years ago- reverted the "small, very small" optimisation, because:
Matthias Braun [Thu, 31 Jul 2008 12:52:31 +0000 (12:52 +0000)]
- reverted the "small, very small" optimisation, because:
* The underlying idea is simply wrong
* the is_inside function was wrong too, so the wrong optimisation nearly never triggered

[r20834]

15 years agofix warning
Matthias Braun [Thu, 31 Jul 2008 09:17:21 +0000 (09:17 +0000)]
fix warning

[r20828]

15 years agogeneralize support for segments
Matthias Braun [Thu, 31 Jul 2008 09:17:10 +0000 (09:17 +0000)]
generalize support for segments

[r20827]

15 years agofix/improve peephole
Matthias Braun [Wed, 30 Jul 2008 18:34:01 +0000 (18:34 +0000)]
fix/improve peephole

[r20820]

15 years agouse peephoole_exchange, IncSP->Push should use ia32_Unknown and not ProduceVal
Matthias Braun [Wed, 30 Jul 2008 18:32:14 +0000 (18:32 +0000)]
use peephoole_exchange, IncSP->Push should use ia32_Unknown and not ProduceVal

[r20819]

15 years agofehler119 is C99
Michael Beck [Wed, 30 Jul 2008 13:16:46 +0000 (13:16 +0000)]
fehler119 is C99

[r20806]

15 years agosimply deactivate edges instead of asserting it
Matthias Braun [Wed, 30 Jul 2008 12:51:51 +0000 (12:51 +0000)]
simply deactivate edges instead of asserting it

[r20803]

15 years ago- inline_method moves copied constants to start block yet
Michael Beck [Wed, 30 Jul 2008 11:58:40 +0000 (11:58 +0000)]
- inline_method moves copied constants to start block yet

[r20799]

15 years agoimproved fak.c
Matthias Braun [Wed, 30 Jul 2008 11:22:53 +0000 (11:22 +0000)]
improved fak.c

[r20798]

15 years agocosmetics
Matthias Braun [Wed, 30 Jul 2008 11:21:31 +0000 (11:21 +0000)]
cosmetics

[r20797]

15 years agodon't prefer 1 cpu architecture over another (and wonder why we don't construct inc...
Matthias Braun [Wed, 30 Jul 2008 11:20:21 +0000 (11:20 +0000)]
don't prefer 1 cpu architecture over another (and wonder why we don't construct inc/dec)

[r20796]

15 years agofix new fallthrough handling
Michael Beck [Wed, 30 Jul 2008 09:59:02 +0000 (09:59 +0000)]
fix new fallthrough handling

[r20793]

15 years agoSort the inputs of a Sync before it is being created to aid CSE.
Christoph Mallon [Wed, 30 Jul 2008 09:56:18 +0000 (09:56 +0000)]
Sort the inputs of a Sync before it is being created to aid CSE.

[r20792]

15 years agoReduce worst time complexity of mem parallelisation from O(2**n) to O(n**2).
Christoph Mallon [Wed, 30 Jul 2008 09:55:44 +0000 (09:55 +0000)]
Reduce worst time complexity of mem parallelisation from O(2**n) to O(n**2).

[r20791]

15 years agopanic() on internal error instead of assert(0)ing.
Christoph Mallon [Wed, 30 Jul 2008 09:52:08 +0000 (09:52 +0000)]
panic() on internal error instead of assert(0)ing.

[r20790]

15 years agoRemove handling for 32bit as smaller mode in emit_ia32_Conv_I2I(), because it is...
Christoph Mallon [Wed, 30 Jul 2008 09:51:20 +0000 (09:51 +0000)]
Remove handling for 32bit as smaller mode in emit_ia32_Conv_I2I(), because it is not sensible.

[r20789]

15 years agoReplace be_peephole_before_exchange()+sched_remove()+exchange()+be_peephole_new_node...
Christoph Mallon [Wed, 30 Jul 2008 09:43:58 +0000 (09:43 +0000)]
Replace be_peephole_before_exchange()+sched_remove()+exchange()+be_peephole_new_node() by the new function be_peephole_exchange().

[r20788]