libfirm
15 years agoput bison and flex sources into the package
Matthias Braun [Fri, 12 Dec 2008 19:15:29 +0000 (19:15 +0000)]
put bison and flex sources into the package

[r24581]

15 years ago- do not remove keeps for now, only Bads, NoMem and doublets
Michael Beck [Fri, 12 Dec 2008 18:29:26 +0000 (18:29 +0000)]
- do not remove keeps for now, only Bads, NoMem and doublets

[r24579]

15 years ago- remove NoMem from keep list
Michael Beck [Fri, 12 Dec 2008 18:28:32 +0000 (18:28 +0000)]
- remove NoMem from keep list

[r24578]

15 years ago- Changed wrong (and slow) implementation of fix_atsrt_block(),
Michael Beck [Fri, 12 Dec 2008 18:27:12 +0000 (18:27 +0000)]
- Changed wrong (and slow) implementation of fix_atsrt_block(),
  the old version fails because nodes from the startblock can be kept now ...

[r24577]

15 years ago- Do not remove keep-alives during optimize_graph_df(), kill only Bads and doublets
Michael Beck [Fri, 12 Dec 2008 15:20:40 +0000 (15:20 +0000)]
- Do not remove keep-alives during optimize_graph_df(), kill only Bads and doublets

[r24571]

15 years ago- implemented remove_End_Bads_and_doublets()
Michael Beck [Fri, 12 Dec 2008 15:19:11 +0000 (15:19 +0000)]
- implemented remove_End_Bads_and_doublets()

[r24570]

15 years agodon't have new_immBlock set the current block
Matthias Braun [Fri, 12 Dec 2008 14:46:36 +0000 (14:46 +0000)]
don't have new_immBlock set the current block

[r24566]

15 years agoUpdate NEWS.
Christoph Mallon [Thu, 11 Dec 2008 15:00:58 +0000 (15:00 +0000)]
Update NEWS.

[r24533]

15 years agokeep the API consistent with other enable functions
Matthias Braun [Thu, 11 Dec 2008 11:57:55 +0000 (11:57 +0000)]
keep the API consistent with other enable functions

[r24520]

15 years agoless includes
Matthias Braun [Wed, 10 Dec 2008 21:23:04 +0000 (21:23 +0000)]
less includes

[r24506]

15 years agoadd missing includes
Matthias Braun [Wed, 10 Dec 2008 20:41:30 +0000 (20:41 +0000)]
add missing includes

[r24505]

15 years agoavoid some unnecessary includes in public headers
Matthias Braun [Wed, 10 Dec 2008 20:39:24 +0000 (20:39 +0000)]
avoid some unnecessary includes in public headers

[r24504]

15 years ago- changed handling of block walks: we might reach a block through a kept node only ...
Michael Beck [Wed, 10 Dec 2008 19:59:57 +0000 (19:59 +0000)]
- changed handling of block walks: we might reach a block through a kept node only ...
- this should fix the gigo_return problem

[r24502]

15 years agomove some typedefs to firm_types, move functions from firm.h into firm_common.h
Matthias Braun [Wed, 10 Dec 2008 19:05:14 +0000 (19:05 +0000)]
move some typedefs to firm_types, move functions from firm.h into firm_common.h

[r24498]

15 years agoFix comments.
Christoph Mallon [Wed, 10 Dec 2008 16:28:02 +0000 (16:28 +0000)]
Fix comments.

[r24491]

15 years ago- replaced pset by pset_new in adjust call
Michael Beck [Wed, 10 Dec 2008 15:27:39 +0000 (15:27 +0000)]
- replaced pset by pset_new in adjust call
- removed useless set
- add support for returns_twice
- some cosmetic changes

[r24488]

15 years ago- add a currently non-functioning mtp_property_returns_twice property
Michael Beck [Wed, 10 Dec 2008 13:06:02 +0000 (13:06 +0000)]
- add a currently non-functioning mtp_property_returns_twice property
- let dumper dump all properties

[r24476]

15 years agoit's called mux now, not Psi
Matthias Braun [Wed, 10 Dec 2008 10:25:24 +0000 (10:25 +0000)]
it's called mux now, not Psi

[r24472]

15 years ago- fixed assertion
Michael Beck [Tue, 9 Dec 2008 12:28:02 +0000 (12:28 +0000)]
- fixed assertion
- maybe we should initially mark labeled blocks as non-removable

[r24451]

15 years ago- do not move the return out of labeled blocks, this must be still reachable
Michael Beck [Tue, 9 Dec 2008 12:26:37 +0000 (12:26 +0000)]
- do not move the return out of labeled blocks, this must be still reachable

[r24450]

15 years ago- do not combine blocks if both have a label
Michael Beck [Tue, 9 Dec 2008 11:55:35 +0000 (11:55 +0000)]
- do not combine blocks if both have a label

[r24449]

15 years agoinclude be.h in firm.h, assert that get_value/set_value have pos>=0
Matthias Braun [Tue, 9 Dec 2008 10:08:25 +0000 (10:08 +0000)]
include be.h in firm.h, assert that get_value/set_value have pos>=0

[r24442]

15 years agochange functions to use the usual ir_ prefix
Matthias Braun [Tue, 9 Dec 2008 08:04:17 +0000 (08:04 +0000)]
change functions to use the usual ir_ prefix

[r24432]

15 years agoavoid structs in public API where easily possible (this helps people generating bindi...
Matthias Braun [Tue, 9 Dec 2008 07:54:48 +0000 (07:54 +0000)]
avoid structs in public API where easily possible (this helps people generating bindings and makes the API more stable)

[r24428]

15 years ago- if an empty labeled block is killed, move the label to the successor block
Michael Beck [Tue, 9 Dec 2008 00:40:19 +0000 (00:40 +0000)]
- if an empty labeled block is killed, move the label to the successor block

[r24423]

15 years ago- do not optimize away labeled blocks
Michael Beck [Tue, 9 Dec 2008 00:27:14 +0000 (00:27 +0000)]
- do not optimize away labeled blocks

[r24422]

15 years ago- removed unused immediate fp mode
Michael Beck [Mon, 8 Dec 2008 23:18:08 +0000 (23:18 +0000)]
- removed unused immediate fp mode
- add architecture for trampoline builder
- implemented trampoline builder for x86

[r24418]

15 years agoRepairing one case in the tarval module broke another, of course. Repair a bit more...
Christoph Mallon [Mon, 8 Dec 2008 21:56:14 +0000 (21:56 +0000)]
Repairing one case in the tarval module broke another, of course.  Repair a bit more and hopefully break a bit less.

[r24413]

15 years agoCygwin has no strtold but long double works
Moritz Kroll [Mon, 8 Dec 2008 20:51:48 +0000 (20:51 +0000)]
Cygwin has no strtold but long double works

[r24410]

15 years agoRepair converting long double to integer and hopefully do not break something else.
Christoph Mallon [Mon, 8 Dec 2008 19:03:01 +0000 (19:03 +0000)]
Repair converting long double to integer and hopefully do not break something else.

[r24406]

15 years agoCopy the sign bit when truncating a float tarval.
Christoph Mallon [Mon, 8 Dec 2008 17:18:11 +0000 (17:18 +0000)]
Copy the sign bit when truncating a float tarval.

[r24403]

15 years agoBefore deconving a node, make sure it is a downconv.
Christoph Mallon [Mon, 8 Dec 2008 10:46:22 +0000 (10:46 +0000)]
Before deconving a node, make sure it is a downconv.

[r24387]

15 years agoa note for IPD users (which will not be included in the release packages
Matthias Braun [Mon, 8 Dec 2008 09:30:33 +0000 (09:30 +0000)]
a note for IPD users (which will not be included in the release packages

[r24385]

15 years agoHelper script to generate configure stuff
Moritz Kroll [Sat, 6 Dec 2008 22:58:36 +0000 (22:58 +0000)]
Helper script to generate configure stuff

[r24367]

15 years ago- BugFix: NEVER skip BAD nodes when creating Phi's, or data cycles loops
Michael Beck [Fri, 5 Dec 2008 16:09:22 +0000 (16:09 +0000)]
- BugFix: NEVER skip BAD nodes when creating Phi's, or data cycles loops
  can arise in dead loops. We already fixed this bug in Phi-optimization, but
  it still exists in SSA-construction, ARG!
  This fixes compilerhang5.c
- clean up if condition by using DeMorgan

[r24332]

15 years ago- BugFix: wrong assertion fixed
Michael Beck [Fri, 5 Dec 2008 14:45:20 +0000 (14:45 +0000)]
- BugFix: wrong assertion fixed

[r24331]

15 years ago- BugFix: mixing of long and int lead to overflow on 64bit platform
Michael Beck [Fri, 5 Dec 2008 14:35:44 +0000 (14:35 +0000)]
- BugFix: mixing of long and int lead to overflow on 64bit platform

[r24329]

15 years ago- add missing else
Michael Beck [Fri, 5 Dec 2008 12:08:38 +0000 (12:08 +0000)]
- add missing else

[r24320]

15 years ago- fixed handling of long double constants
Michael Beck [Thu, 4 Dec 2008 15:10:26 +0000 (15:10 +0000)]
- fixed handling of long double constants

[r24298]

15 years ago- simplified code
Michael Beck [Thu, 4 Dec 2008 14:23:28 +0000 (14:23 +0000)]
- simplified code
- add support for Psi(Cmp(!mode_float), Const(mode_float), Const(mode_float))

[r24295]

15 years ago- simplied code by removing a goto
Michael Beck [Thu, 4 Dec 2008 14:21:39 +0000 (14:21 +0000)]
- simplied code by removing a goto

[r24294]

15 years ago- make ia32_am_scale unsigned
Michael Beck [Thu, 4 Dec 2008 14:20:26 +0000 (14:20 +0000)]
- make ia32_am_scale unsigned

[r24293]

15 years ago- renamed unique_id() to ia32_unique_id() and make it public
Michael Beck [Thu, 4 Dec 2008 14:19:43 +0000 (14:19 +0000)]
- renamed unique_id() to ia32_unique_id() and make it public

[r24292]

15 years ago- fixed warning
Michael Beck [Wed, 3 Dec 2008 14:22:21 +0000 (14:22 +0000)]
- fixed warning

[r24260]

15 years ago- BufFix: add missing initializtion
Michael Beck [Wed, 3 Dec 2008 14:20:22 +0000 (14:20 +0000)]
- BufFix: add missing initializtion

[r24259]

15 years agoAdded first version of partial specification for IR nodes
Moritz Kroll [Wed, 3 Dec 2008 11:07:26 +0000 (11:07 +0000)]
Added first version of partial specification for IR nodes

[r24252]

15 years agoincrement version for next release
Matthias Braun [Mon, 1 Dec 2008 17:23:20 +0000 (17:23 +0000)]
increment version for next release

[r24196]

15 years agoMention improved peephole optimisations for x86.
Christoph Mallon [Mon, 1 Dec 2008 14:06:59 +0000 (14:06 +0000)]
Mention improved peephole optimisations for x86.

[r24190]

15 years agoincrease version number
Matthias Braun [Mon, 1 Dec 2008 14:06:31 +0000 (14:06 +0000)]
increase version number

[r24189]

15 years agoarchop is no more
Matthias Braun [Mon, 1 Dec 2008 14:06:18 +0000 (14:06 +0000)]
archop is no more

[r24188]

15 years agoRELEASE notes update
Matthias Braun [Mon, 1 Dec 2008 13:54:56 +0000 (13:54 +0000)]
RELEASE notes update

[r24187]

15 years agobad blocks have cf_probability 0
Matthias Braun [Mon, 1 Dec 2008 13:54:47 +0000 (13:54 +0000)]
bad blocks have cf_probability 0

[r24186]

15 years agoPerform dark rituals and resurrect ProduceVal. We are not ready to dispose it, yet...
Christoph Mallon [Mon, 1 Dec 2008 12:43:11 +0000 (12:43 +0000)]
Perform dark rituals and resurrect ProduceVal.  We are not ready to dispose it, yet, because the Spiller is too clever for the Keep-trick.

[r24182]

15 years agoKeeps should float too
Matthias Braun [Mon, 1 Dec 2008 12:06:09 +0000 (12:06 +0000)]
Keeps should float too

[r24179]

15 years agowe have a bugtracker
Matthias Braun [Mon, 1 Dec 2008 11:59:57 +0000 (11:59 +0000)]
we have a bugtracker

[r24178]

15 years agoSmall cleanup.
Christoph Mallon [Mon, 1 Dec 2008 11:25:41 +0000 (11:25 +0000)]
Small cleanup.

[r24176]

15 years agowe can't guarantee that there won't be dead blocks, so remove them
Matthias Braun [Mon, 1 Dec 2008 10:32:12 +0000 (10:32 +0000)]
we can't guarantee that there won't be dead blocks, so remove them

[r24175]

15 years agoRemove ProduceVal. Replace it by Xor0 (to produce 0), Sbb0 (to produce 0/-1) and...
Christoph Mallon [Fri, 28 Nov 2008 18:10:03 +0000 (18:10 +0000)]
Remove ProduceVal. Replace it by Xor0 (to produce 0), Sbb0 (to produce 0/-1) and by Keep to make Cltd register pressure faithful.

[r24128]

15 years agoUnconditionally include stdio.h
Christoph Mallon [Fri, 28 Nov 2008 16:00:39 +0000 (16:00 +0000)]
Unconditionally include stdio.h

[r24125]

15 years agoUnconditionally include string.h
Christoph Mallon [Fri, 28 Nov 2008 15:59:08 +0000 (15:59 +0000)]
Unconditionally include string.h

[r24124]

15 years agoUnconditionally include stdlib.h.
Christoph Mallon [Fri, 28 Nov 2008 15:08:27 +0000 (15:08 +0000)]
Unconditionally include stdlib.h.

[r24123]

15 years agoInclude alloca.h only, if HAVE_ALLOCA_H is set.
Christoph Mallon [Fri, 28 Nov 2008 14:54:23 +0000 (14:54 +0000)]
Include alloca.h only, if HAVE_ALLOCA_H is set.

[r24121]

15 years agoRemove bashism.
Christoph Mallon [Fri, 28 Nov 2008 14:37:27 +0000 (14:37 +0000)]
Remove bashism.

[r24117]

15 years agoremove archop stuff which wasn't really used anyway
Matthias Braun [Fri, 28 Nov 2008 12:45:17 +0000 (12:45 +0000)]
remove archop stuff which wasn't really used anyway

[r24112]

15 years agofix warning
Matthias Braun [Fri, 28 Nov 2008 12:44:56 +0000 (12:44 +0000)]
fix warning

[r24111]

15 years agofix wrong printf usage
Matthias Braun [Fri, 28 Nov 2008 12:44:15 +0000 (12:44 +0000)]
fix wrong printf usage

[r24109]

15 years agoRemoved mode parameter from Const and Const_type constructors (now derived from tarval)
Moritz Kroll [Thu, 27 Nov 2008 20:49:12 +0000 (20:49 +0000)]
Removed mode parameter from Const and Const_type constructors (now derived from tarval)

[r24088]

15 years agoEmit a block header for the start block of functions.
Christoph Mallon [Thu, 27 Nov 2008 16:22:10 +0000 (16:22 +0000)]
Emit a block header for the start block of functions.

[r24085]

15 years ago- BugFix: drop wrong dependency of mode_P
Michael Beck [Thu, 27 Nov 2008 15:09:38 +0000 (15:09 +0000)]
- BugFix: drop wrong dependency of mode_P

[r24071]

15 years ago- BugFix: drop wrong dependency of mode_P
Michael Beck [Thu, 27 Nov 2008 15:04:02 +0000 (15:04 +0000)]
- BugFix: drop wrong dependency of mode_P

[r24069]

15 years ago- drop dependency of predefined modes
Michael Beck [Thu, 27 Nov 2008 15:00:26 +0000 (15:00 +0000)]
- drop dependency of predefined modes

[r24068]

15 years ago- BugFix: use mode_is_reference() instead of != mode_P
Michael Beck [Thu, 27 Nov 2008 14:55:09 +0000 (14:55 +0000)]
- BugFix: use mode_is_reference() instead of != mode_P

[r24067]

15 years agoSame typo as r24062, different file.
Christoph Mallon [Thu, 27 Nov 2008 14:51:14 +0000 (14:51 +0000)]
Same typo as r24062, different file.

[r24066]

15 years ago- drop dependency of mode_Iu
Michael Beck [Thu, 27 Nov 2008 14:48:36 +0000 (14:48 +0000)]
- drop dependency of mode_Iu

[r24064]

15 years ago- drop dependency of mode_Bs
Michael Beck [Thu, 27 Nov 2008 14:46:05 +0000 (14:46 +0000)]
- drop dependency of mode_Bs

[r24063]

15 years agoFixed typo
Moritz Kroll [Thu, 27 Nov 2008 14:44:41 +0000 (14:44 +0000)]
Fixed typo

[r24062]

15 years ago- drop dependency on predefined mode_E
Michael Beck [Thu, 27 Nov 2008 14:24:09 +0000 (14:24 +0000)]
- drop dependency on predefined mode_E
- fixed comment for fst/fist handling

[r24060]

15 years ago- 64bit Abs is allowed for if-conversion
Michael Beck [Thu, 27 Nov 2008 13:14:54 +0000 (13:14 +0000)]
- 64bit Abs is allowed for if-conversion

[r24058]

15 years ago- better documenent the return vale of simulator functions
Michael Beck [Thu, 27 Nov 2008 12:56:25 +0000 (12:56 +0000)]
- better documenent the return vale of simulator functions
- x87_create_fpop() does NOT create a node that must be simulated, do not
  return NODE_ADDED here
- improved some comments
- use new sched_foreach_Phi()

[r24056]

15 years ago- add a macro to iterate over the Phi nodes of a block schedule only
Michael Beck [Thu, 27 Nov 2008 12:53:10 +0000 (12:53 +0000)]
- add a macro to iterate over the Phi nodes of a block schedule only

[r24055]

15 years agofix warning
Matthias Braun [Thu, 27 Nov 2008 10:30:41 +0000 (10:30 +0000)]
fix warning

[r24042]

15 years ago-removed unused entities from the intrinsic environment
Michael Beck [Wed, 26 Nov 2008 15:18:57 +0000 (15:18 +0000)]
-removed unused entities from the intrinsic environment

[r24026]

15 years ago- use edges to reroute the result in resolve_call:
Michael Beck [Wed, 26 Nov 2008 12:11:16 +0000 (12:11 +0000)]
- use edges to reroute the result in resolve_call:
  this prevents some nasty warnings about unreachable Tuples
  in the back end

[r24016]

15 years ago- replce parameter type from size_t to unsigned, so iredges.h does not depend
Michael Beck [Wed, 26 Nov 2008 12:05:15 +0000 (12:05 +0000)]
- replce parameter type from size_t to unsigned, so iredges.h does not depend
  on stdlib.h
- move doxygen comment to header

[r24014]

15 years ago- put only Phi nodes into th Phi list
Michael Beck [Wed, 26 Nov 2008 11:38:27 +0000 (11:38 +0000)]
- put only Phi nodes into th Phi list

[r24012]

15 years agoEmit mode suffix for instructions, which did not do it, yet.
Christoph Mallon [Tue, 25 Nov 2008 15:28:12 +0000 (15:28 +0000)]
Emit mode suffix for instructions, which did not do it, yet.

[r23999]

15 years ago- always free ressources
Michael Beck [Tue, 25 Nov 2008 12:33:59 +0000 (12:33 +0000)]
- always free ressources

[r23974]

15 years ago- fix r23897: use Phi lists overall
Michael Beck [Tue, 25 Nov 2008 12:27:56 +0000 (12:27 +0000)]
- fix r23897: use Phi lists overall
- allocate and free ressources

[r23972]

15 years ago- C99 feature removed and simplified code
Michael Beck [Tue, 25 Nov 2008 12:25:37 +0000 (12:25 +0000)]
- C99 feature removed and simplified code
- if( -> if (

[r23971]

15 years agoavoid using mode_Iu directly
Matthias Braun [Tue, 25 Nov 2008 09:32:02 +0000 (09:32 +0000)]
avoid using mode_Iu directly

[r23963]

15 years agofix bug reported by new gcc warnings
Matthias Braun [Tue, 25 Nov 2008 09:31:21 +0000 (09:31 +0000)]
fix bug reported by new gcc warnings

[r23962]

15 years agoIn ia32 gen_Shrs() we should not care, whether the mode is signed, to determine,...
Christoph Mallon [Tue, 25 Nov 2008 08:18:06 +0000 (08:18 +0000)]
In ia32 gen_Shrs() we should not care, whether the mode is signed, to determine, if it is a sign extension.  The only important information is, that it is a Shr_s_.

[r23959]

15 years agoRetain debug info in normalize_one_return(), if all Return nodes have the same (or...
Christoph Mallon [Tue, 25 Nov 2008 07:55:14 +0000 (07:55 +0000)]
Retain debug info in normalize_one_return(), if all Return nodes have the same (or no) debug info.

[r23958]

15 years ago- handle strictConv and remainderlessDiv for in opcode map
Michael Beck [Tue, 25 Nov 2008 04:42:48 +0000 (04:42 +0000)]
- handle strictConv and remainderlessDiv for in opcode map

[r23957]

15 years agosolaris fix
Matthias Braun [Mon, 24 Nov 2008 15:10:25 +0000 (15:10 +0000)]
solaris fix

[r23946]

15 years agosolaris fix
Matthias Braun [Mon, 24 Nov 2008 15:09:46 +0000 (15:09 +0000)]
solaris fix

[r23945]

15 years agoFixing r23914
Andreas Zwinkau [Mon, 24 Nov 2008 14:43:45 +0000 (14:43 +0000)]
Fixing r23914

still aliases of compound graph

[r23943]

15 years agoWe are at version 1.14.
Christoph Mallon [Mon, 24 Nov 2008 14:10:51 +0000 (14:10 +0000)]
We are at version 1.14.

[r23939]

15 years agoRetain debug info in normalize_n_returns().
Christoph Mallon [Mon, 24 Nov 2008 13:45:01 +0000 (13:45 +0000)]
Retain debug info in normalize_n_returns().

[r23938]

15 years agoUse simple assignment instead of memcpy().
Christoph Mallon [Mon, 24 Nov 2008 13:39:05 +0000 (13:39 +0000)]
Use simple assignment instead of memcpy().

[r23937]