libfirm
17 years agoadded "get_VProj_proj" and "set_VProj_proj"
Andreas Schösser [Fri, 30 Mar 2007 17:12:16 +0000 (17:12 +0000)]
added "get_VProj_proj" and "set_VProj_proj"

[r12612]

17 years agofixed inline to INLINE
Andreas Schösser [Fri, 30 Mar 2007 16:56:07 +0000 (16:56 +0000)]
fixed inline to INLINE

[r12610]

17 years agoremoved ";"
Andreas Schösser [Fri, 30 Mar 2007 16:54:54 +0000 (16:54 +0000)]
removed ";"

[r12609]

17 years agochanged inline to INLINE, removed C99
Andreas Schösser [Fri, 30 Mar 2007 16:49:45 +0000 (16:49 +0000)]
changed inline to INLINE, removed C99

[r12608]

17 years agochanged inline to INLINE, removed C99
Andreas Schösser [Fri, 30 Mar 2007 16:47:45 +0000 (16:47 +0000)]
changed inline to INLINE, removed C99

[r12607]

17 years agofixed inline to INLINE
Christian Würdig [Fri, 30 Mar 2007 16:24:18 +0000 (16:24 +0000)]
fixed inline to INLINE

[r12606]

17 years agoadded missing define for win32
Christian Würdig [Fri, 30 Mar 2007 16:21:46 +0000 (16:21 +0000)]
added missing define for win32

[r12605]

17 years agofixed phi spilling
Christian Würdig [Thu, 29 Mar 2007 16:31:47 +0000 (16:31 +0000)]
fixed phi spilling

[r12592]

17 years agoswitched to ir_nodeset
Christian Würdig [Thu, 29 Mar 2007 16:31:06 +0000 (16:31 +0000)]
switched to ir_nodeset

[r12591]

17 years agomove backend into libfirm
Matthias Braun [Thu, 29 Mar 2007 15:42:13 +0000 (15:42 +0000)]
move backend into libfirm

[r12588]

17 years agoRemoved ANNOUNCE macro
Michael Beck [Thu, 29 Mar 2007 12:38:43 +0000 (12:38 +0000)]
Removed ANNOUNCE macro
indentation changed

[r8745]

17 years agonewer version (still seems to be buggy)
Michael Beck [Thu, 29 Mar 2007 12:34:42 +0000 (12:34 +0000)]
newer version (still seems to be buggy)

[r8744]

17 years agodon't call be_spill_phis for phis of other reg classes
Matthias Braun [Thu, 29 Mar 2007 12:08:54 +0000 (12:08 +0000)]
don't call be_spill_phis for phis of other reg classes

17 years agoadded missing source
Christian Würdig [Thu, 29 Mar 2007 11:57:59 +0000 (11:57 +0000)]
added missing source

17 years agotest
Matthias Braun [Thu, 29 Mar 2007 11:52:01 +0000 (11:52 +0000)]
test

17 years ago- change #include <config.h> back to "config.h"
Matthias Braun [Thu, 29 Mar 2007 10:49:57 +0000 (10:49 +0000)]
- change #include <config.h> back to "config.h"
- more work on state registers for x87 fpu rounding modes

17 years ago- change #include <config.h> back to "config.h"
Matthias Braun [Thu, 29 Mar 2007 10:49:37 +0000 (10:49 +0000)]
- change #include <config.h> back to "config.h"
- more work on state registers for x87 fpu rounding modes

[r8743]

17 years agoBugFix: spill delayed phis which are not in start workset
Christian Würdig [Wed, 28 Mar 2007 17:09:52 +0000 (17:09 +0000)]
BugFix: spill delayed phis which are not in start workset

17 years agoswitched to ir_nodeset
Christian Würdig [Wed, 28 Mar 2007 17:09:16 +0000 (17:09 +0000)]
switched to ir_nodeset

17 years agofix firm backend
Matthias Braun [Wed, 28 Mar 2007 10:39:57 +0000 (10:39 +0000)]
fix firm backend

17 years agonew register requirements
Christian Würdig [Tue, 27 Mar 2007 15:17:47 +0000 (15:17 +0000)]
new register requirements

17 years agoadded some convenience function to create and delete an ir_nodeset
Christian Würdig [Tue, 27 Mar 2007 15:13:08 +0000 (15:13 +0000)]
added some convenience function to create and delete an ir_nodeset

[r8739]

17 years agoadded comments
Christian Würdig [Tue, 27 Mar 2007 15:11:52 +0000 (15:11 +0000)]
added comments

[r8738]

17 years agoadded missing source
Christian Würdig [Tue, 27 Mar 2007 14:48:45 +0000 (14:48 +0000)]
added missing source

[r8737]

17 years agoadded missing source
Christian Würdig [Tue, 27 Mar 2007 14:48:37 +0000 (14:48 +0000)]
added missing source

17 years agofixed typo
Christian Würdig [Tue, 27 Mar 2007 09:40:08 +0000 (09:40 +0000)]
fixed typo

[r8736]

17 years agonstall raw_bitfield.h
Christian Würdig [Tue, 27 Mar 2007 09:39:39 +0000 (09:39 +0000)]
nstall raw_bitfield.h

[r8735]

17 years agorewritten be_ssa_constr which isn't using sets anymore, started working on a 'state...
Matthias Braun [Mon, 26 Mar 2007 08:49:26 +0000 (08:49 +0000)]
rewritten be_ssa_constr which isn't using sets anymore, started working on a 'state' register type

17 years agowarning fix, documentation improvements
Matthias Braun [Mon, 26 Mar 2007 08:48:15 +0000 (08:48 +0000)]
warning fix, documentation improvements

17 years agouse ir_nodeset in scheduler
Matthias Braun [Mon, 26 Mar 2007 08:47:47 +0000 (08:47 +0000)]
use ir_nodeset in scheduler

17 years agoindentation fix
Matthias Braun [Mon, 26 Mar 2007 08:47:21 +0000 (08:47 +0000)]
indentation fix

17 years agomove dominance frontiers code to own files
Matthias Braun [Mon, 26 Mar 2007 08:46:55 +0000 (08:46 +0000)]
move dominance frontiers code to own files

17 years agofix warning, add a Block_block_visited function, don't compile edge verification...
Matthias Braun [Mon, 26 Mar 2007 08:45:35 +0000 (08:45 +0000)]
fix warning, add a Block_block_visited function, don't compile edge verification code when DEBUG_libfirm is set

[r8733]

17 years agoadded a nodeset
Matthias Braun [Mon, 26 Mar 2007 08:44:14 +0000 (08:44 +0000)]
added a nodeset

[r8732]

17 years agonew, faster hashset
Matthias Braun [Mon, 26 Mar 2007 08:43:42 +0000 (08:43 +0000)]
new, faster hashset

[r8731]

17 years agodon't test flags again in place_code
Matthias Braun [Sun, 25 Mar 2007 16:57:02 +0000 (16:57 +0000)]
don't test flags again in place_code

[r8730]

17 years agogeneralize the inside_walk flags: we have using_visited, using_block_visited and...
Matthias Braun [Sun, 25 Mar 2007 16:55:14 +0000 (16:55 +0000)]
generalize the inside_walk flags: we have using_visited, using_block_visited and using_irn_link now

[r8729]

17 years agoallow explicit setting of phi register requirements
Matthias Braun [Fri, 23 Mar 2007 17:24:34 +0000 (17:24 +0000)]
allow explicit setting of phi register requirements

17 years agoAllow any class when there is no special register requirement
Christian Würdig [Fri, 23 Mar 2007 17:13:27 +0000 (17:13 +0000)]
Allow any class when there is no special register requirement

17 years agoswitch on firm optimizations when creating spill nodes
Christian Würdig [Fri, 23 Mar 2007 16:19:27 +0000 (16:19 +0000)]
switch on firm optimizations when creating spill nodes

17 years agodisable experimental code for now
Matthias Braun [Fri, 23 Mar 2007 14:49:22 +0000 (14:49 +0000)]
disable experimental code for now

17 years agonew declaration for state register type
Matthias Braun [Fri, 23 Mar 2007 13:44:12 +0000 (13:44 +0000)]
new declaration for state register type

17 years agosieve is not needed anymore
Matthias Braun [Thu, 22 Mar 2007 15:03:49 +0000 (15:03 +0000)]
sieve is not needed anymore

17 years agonew register type
Matthias Braun [Thu, 22 Mar 2007 15:02:44 +0000 (15:02 +0000)]
new register type

17 years agofix wrong lea to add transformation
Matthias Braun [Thu, 22 Mar 2007 15:02:22 +0000 (15:02 +0000)]
fix wrong lea to add transformation

17 years agomake CondJmps and Switches pinned, now we can do code_placement in the backend again
Matthias Braun [Thu, 22 Mar 2007 14:01:55 +0000 (14:01 +0000)]
make CondJmps and Switches pinned, now we can do code_placement in the backend again

17 years agoReplace leading spaces by tabs
Matthias Braun [Thu, 22 Mar 2007 13:42:16 +0000 (13:42 +0000)]
Replace leading spaces by tabs

17 years agoremove superfluous quotation marks
Matthias Braun [Thu, 22 Mar 2007 13:37:44 +0000 (13:37 +0000)]
remove superfluous quotation marks

17 years agoResolved conflicts
Andreas Schösser [Thu, 22 Mar 2007 13:35:08 +0000 (13:35 +0000)]
Resolved conflicts

17 years agoa bunch of fixes to make firm work with NDEBUG and without DEBUG_libfirm
Matthias Braun [Thu, 22 Mar 2007 10:39:48 +0000 (10:39 +0000)]
a bunch of fixes to make firm work with NDEBUG and without DEBUG_libfirm

17 years agoa bunch of fixes to make firm work with NDEBUG and without DEBUG_libfirm
Matthias Braun [Thu, 22 Mar 2007 10:39:33 +0000 (10:39 +0000)]
a bunch of fixes to make firm work with NDEBUG and without DEBUG_libfirm

[r8728]

17 years agoOnly reconstruct SSA for the users of the first value in the passed value array....
Christoph Mallon [Thu, 22 Mar 2007 10:35:14 +0000 (10:35 +0000)]
Only reconstruct SSA for the users of the first value in the passed value array. The others are just copies and their users are not meaningful/unrelated

[r8726]

17 years agoSmall cleanup
Christoph Mallon [Thu, 22 Mar 2007 10:05:54 +0000 (10:05 +0000)]
Small cleanup

[r8725]

17 years agoFixed Makefiles
Christoph Mallon [Wed, 21 Mar 2007 17:56:12 +0000 (17:56 +0000)]
Fixed Makefiles

17 years agomissing assert.h
Matthias Braun [Tue, 20 Mar 2007 13:47:37 +0000 (13:47 +0000)]
missing assert.h

[r8721]

17 years agoimprove some bitfiddle functions, add ceil_po2 and floor_po2
Matthias Braun [Tue, 20 Mar 2007 12:58:30 +0000 (12:58 +0000)]
improve some bitfiddle functions, add ceil_po2 and floor_po2

[r8720]

17 years agoadd COMPILETIME_ASSERT, LIKELY and UNLIKELY to util.h
Matthias Braun [Tue, 20 Mar 2007 12:58:13 +0000 (12:58 +0000)]
add COMPILETIME_ASSERT, LIKELY and UNLIKELY to util.h

[r8719]

17 years agoCorrected wrong path name when calling ia32_simd_spec.pl
Andreas Schösser [Tue, 20 Mar 2007 12:43:58 +0000 (12:43 +0000)]
Corrected wrong path name when calling ia32_simd_spec.pl

17 years agomake the mips backend do some half-usefull things again
Matthias Braun [Tue, 20 Mar 2007 10:23:45 +0000 (10:23 +0000)]
make the mips backend do some half-usefull things again

17 years agoreindent 2 lines...
Matthias Braun [Tue, 20 Mar 2007 10:23:19 +0000 (10:23 +0000)]
reindent 2 lines...

17 years agodisabled show after showgraph, as it is (or was?) buggy
Matthias Braun [Tue, 20 Mar 2007 10:22:46 +0000 (10:22 +0000)]
disabled show after showgraph, as it is (or was?) buggy

[r8718]

17 years agoreindent
Matthias Braun [Tue, 20 Mar 2007 10:21:57 +0000 (10:21 +0000)]
reindent

[r8717]

17 years agoadded cvsignore
Matthias Braun [Tue, 20 Mar 2007 10:18:42 +0000 (10:18 +0000)]
added cvsignore

17 years agoThe big committ:
Matthias Braun [Mon, 19 Mar 2007 17:05:21 +0000 (17:05 +0000)]
The big committ:
- Replace limit callback in register requirements with a simple bitset
- Fix backends, generators and the rest of the code for the change register
  requirements structure
- Eliminated the custom register_requirement structures in the backend, they
  are pointless now, use the normal arch_register_req_t
- Fix TEMPLATE backend
- Extract emitter framework from ia32 and provide generic header/code for it
- Port TEMPLATE backend to new emitter
- Extract gas specific emit stuff (declarations, sections) from ia32 backend
  and provide it as generic header/code. Make TEMPLATE backend use that
- Remove several FIRM_DBG_REGISTERs from functions which are called very often.
  Before we had millions of string hashtable lookups because of that. The
  prefered way is to have 1 static debug module per file and initialize it in
  the module constructor. No passing around in environment structs and in no
  case should you dynamically register it in single functions.

17 years ago- Added raw_bitset.h it contains routines for handling "raw" bitsets, which are
Matthias Braun [Mon, 19 Mar 2007 16:31:00 +0000 (16:31 +0000)]
- Added raw_bitset.h it contains routines for handling "raw" bitsets, which are
  plain unsigned arrays, the length of the bitset must be known from elsewhere.
  "Raw" bitsets can easily be constructed as const data and waste less space
  because no length information is explicitely saved.

[r8715]

17 years agoremoved unused variable
Christian Würdig [Sun, 18 Mar 2007 17:35:17 +0000 (17:35 +0000)]
removed unused variable

17 years agofixed precedence constraint
Christian Würdig [Sun, 18 Mar 2007 17:33:20 +0000 (17:33 +0000)]
fixed precedence constraint

17 years agoadded more statistics
Christian Würdig [Fri, 16 Mar 2007 14:26:48 +0000 (14:26 +0000)]
added more statistics

17 years agoadded sieve
Christian Würdig [Fri, 16 Mar 2007 12:38:51 +0000 (12:38 +0000)]
added sieve

17 years agoadded missing include
Christian Würdig [Fri, 16 Mar 2007 09:47:18 +0000 (09:47 +0000)]
added missing include

17 years agoadded some statistics
Christian Würdig [Thu, 15 Mar 2007 17:29:37 +0000 (17:29 +0000)]
added some statistics

17 years agofallback to list scheduler when ILP fails
Christian Würdig [Thu, 15 Mar 2007 14:48:07 +0000 (14:48 +0000)]
fallback to list scheduler when ILP fails

17 years agoadded function to schedule single block (needed as ILP fallback)
Christian Würdig [Thu, 15 Mar 2007 14:47:17 +0000 (14:47 +0000)]
added function to schedule single block (needed as ILP fallback)

17 years agopass be options to ILP scheduler
Christian Würdig [Thu, 15 Mar 2007 14:46:48 +0000 (14:46 +0000)]
pass be options to ILP scheduler

17 years agocleaned up the vadd_store test
Matthias Braun [Thu, 15 Mar 2007 14:36:30 +0000 (14:36 +0000)]
cleaned up the vadd_store test

17 years agovector test
Andreas Schösser [Thu, 15 Mar 2007 14:18:31 +0000 (14:18 +0000)]
vector test

17 years agoremoved dead node constraint
Christian Würdig [Thu, 15 Mar 2007 10:14:19 +0000 (10:14 +0000)]
removed dead node constraint

17 years agofixed statistic envents for backend provided spiller
Christian Würdig [Thu, 15 Mar 2007 09:18:48 +0000 (09:18 +0000)]
fixed statistic envents for backend provided spiller

17 years agoremoved some unused variables
Christian Würdig [Wed, 14 Mar 2007 18:13:45 +0000 (18:13 +0000)]
removed some unused variables
changed fprintf into DBG

17 years agoadded branch handling (schedule branches always last)
Christian Würdig [Wed, 14 Mar 2007 12:25:08 +0000 (12:25 +0000)]
added branch handling (schedule branches always last)

17 years agopmap keys can be const
Matthias Braun [Tue, 13 Mar 2007 19:18:14 +0000 (19:18 +0000)]
pmap keys can be const

[r8702]

17 years agoadded support of live-in variables
Christian Würdig [Tue, 13 Mar 2007 16:39:04 +0000 (16:39 +0000)]
added support of live-in variables

17 years agoadded comments
Christian Würdig [Tue, 13 Mar 2007 16:38:48 +0000 (16:38 +0000)]
added comments
fixed indent

17 years agofixed comment
Christian Würdig [Tue, 13 Mar 2007 16:38:25 +0000 (16:38 +0000)]
fixed comment
fixed options initializer
removed unused code

17 years agofixed indent
Christian Würdig [Tue, 13 Mar 2007 16:37:53 +0000 (16:37 +0000)]
fixed indent

17 years agoChanged mode_DLu to mode_LLu
Andreas Schösser [Mon, 12 Mar 2007 12:12:07 +0000 (12:12 +0000)]
Changed mode_DLu to mode_LLu

17 years agoAdded code to run some initialization routines only once, even if they were called...
Andreas Schösser [Fri, 9 Mar 2007 11:16:56 +0000 (11:16 +0000)]
Added code to run some initialization routines only once, even if they were called several times.

17 years agoAdded code to run init_modules only once even if it is called several times.
Andreas Schösser [Fri, 9 Mar 2007 11:15:13 +0000 (11:15 +0000)]
Added code to run init_modules only once even if it is called several times.

17 years agoAdded possibility to include automatically generated simd nodes specification. Also...
Andreas Schösser [Fri, 9 Mar 2007 11:06:01 +0000 (11:06 +0000)]
Added possibility to include automatically generated simd nodes specification. Also Added code to Spill and Reload sse registers. SSE registers have mode_DLu now, which represents a 128 bit unsigned value.

17 years agoExtend bitfield test
Christoph Mallon [Wed, 7 Mar 2007 15:43:05 +0000 (15:43 +0000)]
Extend bitfield test

17 years agoadapted debugger to new ycomp syntax and to set_irn_n hook with old_tgt NULL
Christian Würdig [Tue, 6 Mar 2007 18:13:54 +0000 (18:13 +0000)]
adapted debugger to new ycomp syntax and to set_irn_n hook with old_tgt NULL

[r8691]

17 years agocall hook_set_irn_n when adding new inputs
Christian Würdig [Tue, 6 Mar 2007 18:12:31 +0000 (18:12 +0000)]
call hook_set_irn_n when adding new inputs

[r8690]

17 years ago- No #ifdef WITH_LIBCORE anymore in backend, compilation without libcore was broken...
Matthias Braun [Fri, 2 Mar 2007 15:34:02 +0000 (15:34 +0000)]
- No #ifdef WITH_LIBCORE anymore in backend, compilation without libcore was broken anyway so we always require it now
- changed some #include "config.h" to the recommended #include <config.h>

17 years agodon't throw away memory input when transforming Frees in beabi
Matthias Braun [Fri, 2 Mar 2007 14:17:36 +0000 (14:17 +0000)]
don't throw away memory input when transforming Frees in beabi

17 years agochanged vararray.c to demonstrate another bug
Matthias Braun [Fri, 2 Mar 2007 14:00:52 +0000 (14:00 +0000)]
changed vararray.c to demonstrate another bug

17 years agoadd dumper for call parameter disatribution table
Michael Beck [Fri, 2 Mar 2007 09:19:23 +0000 (09:19 +0000)]
add dumper for call parameter disatribution table

[r8674]

17 years agoanalyse kind of Call parameters
Michael Beck [Fri, 2 Mar 2007 09:18:48 +0000 (09:18 +0000)]
analyse kind of Call parameters

[r8673]

17 years agostat_get_count_distrib_tbl(): uses now counter_t for calculating the values
Michael Beck [Fri, 2 Mar 2007 09:17:21 +0000 (09:17 +0000)]
stat_get_count_distrib_tbl(): uses now counter_t for calculating the values

[r8672]

17 years agoZERO_CNT initializer added
Michael Beck [Fri, 2 Mar 2007 09:14:57 +0000 (09:14 +0000)]
ZERO_CNT initializer added

[r8671]

17 years ago- reformatted
Michael Beck [Fri, 2 Mar 2007 09:13:50 +0000 (09:13 +0000)]
- reformatted
- updated some comments
- optimize_preds(): removed partially useless computations

[r8670]