libfirm
17 years agoadded missing commend_string_end
Michael Beck [Fri, 22 Dec 2006 21:22:45 +0000 (21:22 +0000)]
added missing commend_string_end

17 years agoremoved deprecated function
Michael Beck [Fri, 22 Dec 2006 15:20:12 +0000 (15:20 +0000)]
removed deprecated function

17 years agofix entity collector collecting loads without entities
Matthias Braun [Thu, 21 Dec 2006 15:14:06 +0000 (15:14 +0000)]
fix entity collector collecting loads without entities

17 years agofix for scheduled nodes
Matthias Braun [Thu, 21 Dec 2006 15:09:29 +0000 (15:09 +0000)]
fix for scheduled nodes

17 years agostart register allocator again, fix typo
Matthias Braun [Thu, 21 Dec 2006 15:07:03 +0000 (15:07 +0000)]
start register allocator again, fix typo

17 years agodon't forget to add bemodule to makefile
Matthias Braun [Thu, 21 Dec 2006 14:58:23 +0000 (14:58 +0000)]
don't forget to add bemodule to makefile

17 years agoold files
Matthias Braun [Thu, 21 Dec 2006 14:58:05 +0000 (14:58 +0000)]
old files

17 years agofix things when WITH_JVM and WITH_ILP is defined
Matthias Braun [Thu, 21 Dec 2006 14:57:40 +0000 (14:57 +0000)]
fix things when WITH_JVM and WITH_ILP is defined

17 years agoforgot a file
Matthias Braun [Thu, 21 Dec 2006 14:55:19 +0000 (14:55 +0000)]
forgot a file

17 years ago- All backend modules use module constructors for registering their options now
Matthias Braun [Thu, 21 Dec 2006 14:55:08 +0000 (14:55 +0000)]
- All backend modules use module constructors for registering their options now
- New register allocator modules can register themselfes in a list now,
the same will be done for spillers, copy coalescers, architectures soon

17 years agointroduction of bemodule
Matthias Braun [Thu, 21 Dec 2006 14:36:27 +0000 (14:36 +0000)]
introduction of bemodule

17 years agoAdded new required comment_string_end
Michael Beck [Wed, 20 Dec 2006 13:52:38 +0000 (13:52 +0000)]
Added new required comment_string_end

17 years agoadded comment_string_end
Christian Würdig [Tue, 19 Dec 2006 15:44:04 +0000 (15:44 +0000)]
added comment_string_end

17 years agoremoved two warnings
Michael Beck [Mon, 18 Dec 2006 17:08:44 +0000 (17:08 +0000)]
removed two warnings

17 years agoremoved C99 features
Michael Beck [Mon, 18 Dec 2006 17:03:28 +0000 (17:03 +0000)]
removed C99 features

17 years agoless output for gcd
Matthias Braun [Mon, 18 Dec 2006 15:59:41 +0000 (15:59 +0000)]
less output for gcd

17 years agofull blown version of convtest works again
Matthias Braun [Mon, 18 Dec 2006 14:25:54 +0000 (14:25 +0000)]
full blown version of convtest works again

17 years agothe spillslot coalescer is now a general frame entity coalescer for all nodes that...
Matthias Braun [Mon, 18 Dec 2006 14:24:23 +0000 (14:24 +0000)]
the spillslot coalescer is now a general frame entity coalescer for all nodes that don't have entities yet\n We use that for the lowered float->int and int->float convert nodes now

17 years agonew version of convtests that actually demonstrates the current conversion bugs
Matthias Braun [Mon, 18 Dec 2006 12:48:53 +0000 (12:48 +0000)]
new version of convtests that actually demonstrates the current conversion bugs

17 years ago- Use a default node compare attribute function for all nodes, except the ones
Matthias Braun [Mon, 18 Dec 2006 12:43:44 +0000 (12:43 +0000)]
- Use a default node compare attribute function for all nodes, except the ones
  where CSE is explicitely forbidden. This fixes some bugs where a cmp
  function was missing.
- Don't make all the nodes mode_T by default. They keep their normal mode
  node and only get set to mode_T is we actually use am_Dest
- get rid of src_mode and tgt_mode node attribute, you can get the modes
  by looking at the conv output mode and the arguments mode. This fixes
  some bugs where the src_mode and tgt_mode attributes were wrong
- cleaned up and fixed some bugs in addressmode optimisation

17 years agoreindentation...
Matthias Braun [Mon, 18 Dec 2006 12:39:21 +0000 (12:39 +0000)]
reindentation...

17 years agoadd some consts to beirg functions
Matthias Braun [Mon, 18 Dec 2006 12:37:27 +0000 (12:37 +0000)]
add some consts to beirg functions

17 years agofix for scheduling changes
Matthias Braun [Mon, 18 Dec 2006 12:36:51 +0000 (12:36 +0000)]
fix for scheduling changes

17 years agowarning fix
Matthias Braun [Mon, 18 Dec 2006 12:36:41 +0000 (12:36 +0000)]
warning fix

17 years agofix belistsched for new scheduling API
Matthias Braun [Mon, 18 Dec 2006 12:36:19 +0000 (12:36 +0000)]
fix belistsched for new scheduling API

17 years ago- Added a few asserts to the besched API, so you can't schedule a node
Matthias Braun [Mon, 18 Dec 2006 12:35:58 +0000 (12:35 +0000)]
- Added a few asserts to the besched API, so you can't schedule a node
  that is already scheduled

17 years agowarning fixes
Matthias Braun [Mon, 18 Dec 2006 12:35:15 +0000 (12:35 +0000)]
warning fixes

17 years agoAdd a variant of the spillslot coalescing API where you can push the nodes
Matthias Braun [Mon, 18 Dec 2006 12:34:49 +0000 (12:34 +0000)]
Add a variant of the spillslot coalescing API where you can push the nodes
that need entities. (the old API that uses irn classification callbacks is
still available for now...)

17 years ago- indent generated code with tabs instead of spaces\n- allow specification of a defau...
Matthias Braun [Mon, 18 Dec 2006 10:20:46 +0000 (10:20 +0000)]
- indent generated code with tabs instead of spaces\n- allow specification of a default compare function for all nodes\n- allow specification of a default mode for a node

17 years agowarning fix
Matthias Braun [Fri, 15 Dec 2006 16:40:04 +0000 (16:40 +0000)]
warning fix

17 years ago- cleaned up spill/reload transform code a bit
Matthias Braun [Fri, 15 Dec 2006 16:39:30 +0000 (16:39 +0000)]
- cleaned up spill/reload transform code a bit
- don't do address mode if spill size is bad (no addressmode for mode_E)
- don't do super exact spilling for now
- fixed bug where node compare didn't respect some node attributes

17 years agofix warning
Matthias Braun [Fri, 15 Dec 2006 15:30:28 +0000 (15:30 +0000)]
fix warning

17 years agoadded beirg stuff
Christian Würdig [Fri, 15 Dec 2006 14:59:37 +0000 (14:59 +0000)]
added beirg stuff

17 years agochanged structure if interface
Christian Würdig [Fri, 15 Dec 2006 14:53:57 +0000 (14:53 +0000)]
changed structure if interface

17 years agofix bad format string for gendecls
Matthias Braun [Fri, 15 Dec 2006 12:46:02 +0000 (12:46 +0000)]
fix bad format string for gendecls

17 years agowarning fixes
Matthias Braun [Fri, 15 Dec 2006 10:42:04 +0000 (10:42 +0000)]
warning fixes

17 years agomoved beirg.h include from be.h to files which use it
Christian Würdig [Fri, 15 Dec 2006 10:32:44 +0000 (10:32 +0000)]
moved beirg.h include from be.h to files which use it

17 years agoreloads only have 1 memory input now
Matthias Braun [Thu, 14 Dec 2006 15:29:05 +0000 (15:29 +0000)]
reloads only have 1 memory input now

17 years agoexpecting string is wrong in test
Matthias Braun [Thu, 14 Dec 2006 15:26:40 +0000 (15:26 +0000)]
expecting string is wrong in test

17 years agoSeveral x87 fixes, cleanups:
Matthias Braun [Thu, 14 Dec 2006 15:25:22 +0000 (15:25 +0000)]
Several x87 fixes, cleanups:

- typedef unsigned char vfp_liveness, to make code easier understandable
- sim_binop:
    - Add a few comments and move code around to make it easier to understand
- sim_store:
    - Don't forget to create an fxch for mode_E fstp
- sim_fCondJmp
    - Add a few comments and move code around to make it easier to understand
    - comrs already reverse Jumps, no XCHG needed
    - test for op == 0 not op1 == op2 after fxch
    - assign results to the correct register slots!

- No need for block schedule anymore, fill worklist with successor blocks
- Get liveness from birg and don't recompute

17 years agomove birg to an own file, use more of the birg analysis data
Matthias Braun [Thu, 14 Dec 2006 15:24:10 +0000 (15:24 +0000)]
move birg to an own file, use more of the birg analysis data

17 years agomore warning fixes
Matthias Braun [Thu, 14 Dec 2006 15:23:25 +0000 (15:23 +0000)]
more warning fixes

17 years agouse skip_Proj_const to avoid warnings
Matthias Braun [Thu, 14 Dec 2006 14:43:04 +0000 (14:43 +0000)]
use skip_Proj_const to avoid warnings

17 years agowarning fixes
Matthias Braun [Thu, 14 Dec 2006 14:42:10 +0000 (14:42 +0000)]
warning fixes

17 years agowarning fixes
Matthias Braun [Thu, 14 Dec 2006 14:39:43 +0000 (14:39 +0000)]
warning fixes

17 years agodump AM symconsts
Matthias Braun [Thu, 14 Dec 2006 14:32:42 +0000 (14:32 +0000)]
dump AM symconsts

17 years agocvsignore update
Matthias Braun [Thu, 14 Dec 2006 13:45:45 +0000 (13:45 +0000)]
cvsignore update

17 years agobitfields work like gcc now, we can output packing in our tests
Matthias Braun [Thu, 14 Dec 2006 13:45:37 +0000 (13:45 +0000)]
bitfields work like gcc now, we can output packing in our tests

17 years agofixed for backend provided spiller (wrong chordal env passed)
Christian Würdig [Thu, 14 Dec 2006 13:42:17 +0000 (13:42 +0000)]
fixed for backend provided spiller (wrong chordal env passed)

17 years agorename type entity into ir_entity
Michael Beck [Wed, 13 Dec 2006 19:58:25 +0000 (19:58 +0000)]
rename type entity into ir_entity

17 years agorename type entity into ir_entity
Michael Beck [Wed, 13 Dec 2006 19:55:29 +0000 (19:55 +0000)]
rename type entity into ir_entity

17 years agorename type entity into ir_entity
Michael Beck [Wed, 13 Dec 2006 19:54:48 +0000 (19:54 +0000)]
rename type entity into ir_entity

17 years agorename type entity into ir_entity
Michael Beck [Wed, 13 Dec 2006 19:54:30 +0000 (19:54 +0000)]
rename type entity into ir_entity

17 years agorename type entity into ir_entity
Michael Beck [Wed, 13 Dec 2006 19:53:36 +0000 (19:53 +0000)]
rename type entity into ir_entity

17 years agorename type entity into ir_entity
Michael Beck [Wed, 13 Dec 2006 19:53:06 +0000 (19:53 +0000)]
rename type entity into ir_entity

17 years agoadded copy attribute function (out_flags is a variable array on irg obstack)
Christian Würdig [Wed, 13 Dec 2006 15:05:17 +0000 (15:05 +0000)]
added copy attribute function (out_flags is a variable array on irg obstack)

17 years agobe_add_reload now takes reload register class as additional argument (needed for...
Christian Würdig [Wed, 13 Dec 2006 15:00:58 +0000 (15:00 +0000)]
be_add_reload now takes reload register class as additional argument (needed for STA backend)

17 years agobeautified a function
Christian Würdig [Wed, 13 Dec 2006 15:00:08 +0000 (15:00 +0000)]
beautified a function

17 years agoBugFix: check_register_allocation crashed when no register was assigned
Christian Würdig [Wed, 13 Dec 2006 14:59:51 +0000 (14:59 +0000)]
BugFix: check_register_allocation crashed when no register was assigned
added some spaces and indents

17 years agoremoved assertion (spill value can have another class than reload)
Christian Würdig [Wed, 13 Dec 2006 14:59:13 +0000 (14:59 +0000)]
removed assertion (spill value can have another class than reload)
added some spaces

17 years agomake code more obvious
Matthias Braun [Wed, 13 Dec 2006 14:28:37 +0000 (14:28 +0000)]
make code more obvious

17 years agofix bitfield output missing bytes
Matthias Braun [Wed, 13 Dec 2006 14:25:54 +0000 (14:25 +0000)]
fix bitfield output missing bytes

17 years agofixes for latest be changes
Matthias Braun [Wed, 13 Dec 2006 14:11:01 +0000 (14:11 +0000)]
fixes for latest be changes

17 years agoFixed build with libcore disabled
Michael Beck [Wed, 13 Dec 2006 14:04:49 +0000 (14:04 +0000)]
Fixed build with libcore disabled

17 years agoremoved obsolete function
Matthias Braun [Wed, 13 Dec 2006 13:52:05 +0000 (13:52 +0000)]
removed obsolete function

17 years agomore portable printf format
Michael Beck [Wed, 13 Dec 2006 13:30:21 +0000 (13:30 +0000)]
more portable printf format

17 years ago- renamed access offset functions
Michael Beck [Wed, 13 Dec 2006 13:29:08 +0000 (13:29 +0000)]
- renamed access offset functions

17 years ago- renamed access offset functions\n- renamed entity -> ir_entity
Michael Beck [Wed, 13 Dec 2006 13:28:13 +0000 (13:28 +0000)]
- renamed access offset functions\n- renamed entity -> ir_entity

17 years agotypo fixed
Michael Beck [Wed, 13 Dec 2006 13:27:50 +0000 (13:27 +0000)]
typo fixed

17 years ago- renamed access offset functions\n- renamed entity -> ir_entity
Michael Beck [Wed, 13 Dec 2006 13:27:21 +0000 (13:27 +0000)]
- renamed access offset functions\n- renamed entity -> ir_entity

17 years ago- renamed access offset functions\n- renamed entity -> ir_entity
Michael Beck [Wed, 13 Dec 2006 13:25:06 +0000 (13:25 +0000)]
- renamed access offset functions\n- renamed entity -> ir_entity

17 years agoadapted to new code generator callback (spill)
Christian Würdig [Tue, 12 Dec 2006 15:34:24 +0000 (15:34 +0000)]
adapted to new code generator callback (spill)

17 years agoadded space
Christian Würdig [Tue, 12 Dec 2006 15:31:48 +0000 (15:31 +0000)]
added space

17 years agospills and reloads don't take frame pointer as input any more
Christian Würdig [Tue, 12 Dec 2006 15:30:47 +0000 (15:30 +0000)]
spills and reloads don't take frame pointer as input any more

17 years agofixed be_ilpsched callback defines
Christian Würdig [Tue, 12 Dec 2006 15:28:02 +0000 (15:28 +0000)]
fixed be_ilpsched callback defines

17 years agobackend can now provide it's own spiller, main loop is separated into two loops then
Christian Würdig [Tue, 12 Dec 2006 15:27:29 +0000 (15:27 +0000)]
backend can now provide it's own spiller, main loop is separated into two loops then
refactored pre- and post-spill stuff

17 years agoadded new codegen hook (spill)
Christian Würdig [Tue, 12 Dec 2006 15:14:02 +0000 (15:14 +0000)]
added new codegen hook (spill)
fixed some indents

17 years agoremoved frame pointer input from spills and reloads
Christian Würdig [Tue, 12 Dec 2006 15:13:23 +0000 (15:13 +0000)]
removed frame pointer input from spills and reloads

17 years agoimprove tests
Matthias Braun [Tue, 12 Dec 2006 15:11:45 +0000 (15:11 +0000)]
improve tests

17 years agooutput results
Matthias Braun [Tue, 12 Dec 2006 14:46:15 +0000 (14:46 +0000)]
output results

17 years agouse attribute((packed)) for now, so that gcc and eccp produce the same results for...
Matthias Braun [Tue, 12 Dec 2006 14:41:05 +0000 (14:41 +0000)]
use attribute((packed)) for now, so that gcc and eccp produce the same results for bitfields and our tests succeed

17 years agoC99 feature removed
Michael Beck [Tue, 12 Dec 2006 10:21:56 +0000 (10:21 +0000)]
C99 feature removed

17 years agoC99 feature removed
Michael Beck [Tue, 12 Dec 2006 10:21:21 +0000 (10:21 +0000)]
C99 feature removed

17 years agoremoved (old) spillcost calculation
Matthias Braun [Mon, 11 Dec 2006 16:19:53 +0000 (16:19 +0000)]
removed (old) spillcost calculation

17 years agooops, now benumb is really unused
Matthias Braun [Mon, 11 Dec 2006 16:12:14 +0000 (16:12 +0000)]
oops, now benumb is really unused

17 years agobenumb is old and unused
Matthias Braun [Mon, 11 Dec 2006 16:08:33 +0000 (16:08 +0000)]
benumb is old and unused

17 years ago- Several warning fixes
Matthias Braun [Mon, 11 Dec 2006 15:29:02 +0000 (15:29 +0000)]
- Several warning fixes
- Fixes for compilation without DEBUG_libfirm
- Fixed for compilation without WITH_LIBCORE (but it's still broken)

17 years agoexecfreqs was renamed to exec_freq
Christoph Mallon [Mon, 11 Dec 2006 09:20:27 +0000 (09:20 +0000)]
execfreqs was renamed to exec_freq

17 years ago- New belady variant (see my diploma thesis + presentation)
Matthias Braun [Sun, 10 Dec 2006 22:16:38 +0000 (22:16 +0000)]
- New belady variant (see my diploma thesis + presentation)
- refactored backend to store some analysis info about the irg in the be_irg structure, added assure_ and invalidate_ functions for this

17 years agocleanup/rewrite of ia32_gen_decls
Matthias Braun [Sun, 10 Dec 2006 22:13:57 +0000 (22:13 +0000)]
cleanup/rewrite of ia32_gen_decls

17 years agoMore missing config.h
Matthias Braun [Sun, 10 Dec 2006 14:24:04 +0000 (14:24 +0000)]
More missing config.h

17 years agoMore missing config.h
Matthias Braun [Sun, 10 Dec 2006 14:23:17 +0000 (14:23 +0000)]
More missing config.h

17 years agoMore missing config.h
Matthias Braun [Sun, 10 Dec 2006 14:22:32 +0000 (14:22 +0000)]
More missing config.h

17 years agono domfront needed
Matthias Braun [Sun, 10 Dec 2006 14:21:57 +0000 (14:21 +0000)]
no domfront needed

17 years agoMore missing config.h
Matthias Braun [Sun, 10 Dec 2006 14:21:30 +0000 (14:21 +0000)]
More missing config.h

17 years agofixed max_steps calculation
Christian Würdig [Fri, 8 Dec 2006 16:13:44 +0000 (16:13 +0000)]
fixed max_steps calculation

17 years agoremoved some unused functions
Christian Würdig [Thu, 7 Dec 2006 16:54:58 +0000 (16:54 +0000)]
removed some unused functions
added some constraint, but those make ILP infeasible at the moment, so commented out

17 years agofixed generation of default dummy unit
Christian Würdig [Thu, 7 Dec 2006 16:51:56 +0000 (16:51 +0000)]
fixed generation of default dummy unit

17 years agofixed test
Matthias Braun [Wed, 6 Dec 2006 14:37:47 +0000 (14:37 +0000)]
fixed test

17 years agomake condeval test link
Matthias Braun [Wed, 6 Dec 2006 14:34:36 +0000 (14:34 +0000)]
make condeval test link