libfirm
17 years agoDon't use bitset_min anymore
Sebastian Hack [Fri, 15 Jun 2007 13:12:42 +0000 (13:12 +0000)]
Don't use bitset_min anymore

[r14519]

17 years agobe_get_FrameAddr_frame() added
Michael Beck [Fri, 15 Jun 2007 13:05:03 +0000 (13:05 +0000)]
be_get_FrameAddr_frame() added

[r14518]

17 years agoall die messages are now prefixed by "Fatal error:"
Michael Beck [Fri, 15 Jun 2007 13:01:45 +0000 (13:01 +0000)]
all die messages are now prefixed by "Fatal error:"

[r14517]

17 years agonegated, not inversed
Matthias Braun [Fri, 15 Jun 2007 09:51:34 +0000 (09:51 +0000)]
negated, not inversed

[r14514]

17 years agopsi transform and emit logical rewritten from scratch
Matthias Braun [Fri, 15 Jun 2007 09:03:32 +0000 (09:03 +0000)]
psi transform and emit logical rewritten from scratch

[r14513]

17 years agoindent init_attr
Matthias Braun [Fri, 15 Jun 2007 09:02:51 +0000 (09:02 +0000)]
indent init_attr

[r14512]

17 years agoimprove and enhanve ifconversion test
Matthias Braun [Fri, 15 Jun 2007 09:02:29 +0000 (09:02 +0000)]
improve and enhanve ifconversion test

[r14511]

17 years agoverfy that nodes have a sensible pin state
Matthias Braun [Fri, 15 Jun 2007 09:02:12 +0000 (09:02 +0000)]
verfy that nodes have a sensible pin state

[r14510]

17 years agoadded is_And and is_Or
Matthias Braun [Fri, 15 Jun 2007 09:01:31 +0000 (09:01 +0000)]
added is_And and is_Or

[r14509]

17 years agoForgot to adapt return value
Sebastian Hack [Fri, 15 Jun 2007 08:45:09 +0000 (08:45 +0000)]
Forgot to adapt return value

[r14508]

17 years ago* Changed the liveness API:
Sebastian Hack [Thu, 14 Jun 2007 19:44:07 +0000 (19:44 +0000)]
* Changed the liveness API:
  - The liveness in the birg stays always the same
  - Invalidation is done with be_liveness_invalidate()
  - Each algo has to specify if it needs only liveness checks
      be_liveness_assure_chk()
    or the complete liveness sets for use with be_lv_foreach, etc.
      be_liveness_assure_sets()

* Adapted all the files to these changes
* made bessadestr.c liveness updating

[r14506]

17 years agotypo fixed
Michael Beck [Thu, 14 Jun 2007 16:58:53 +0000 (16:58 +0000)]
typo fixed

[r14505]

17 years agoused new betranshlp.c framework
Michael Beck [Thu, 14 Jun 2007 16:58:18 +0000 (16:58 +0000)]
used new betranshlp.c framework

[r14504]

17 years agoextracted transform framework from the ia32 backend
Michael Beck [Thu, 14 Jun 2007 16:56:50 +0000 (16:56 +0000)]
extracted transform framework from the ia32 backend

[r14503]

17 years agoalways return 0 at end of tests
Matthias Braun [Thu, 14 Jun 2007 14:03:19 +0000 (14:03 +0000)]
always return 0 at end of tests

[r14499]

17 years agodoxygen comment added
Michael Beck [Thu, 14 Jun 2007 12:39:55 +0000 (12:39 +0000)]
doxygen comment added

[r14497]

17 years agoreplaced assert(0) by panic()
Michael Beck [Thu, 14 Jun 2007 12:39:33 +0000 (12:39 +0000)]
replaced assert(0) by panic()

[r14496]

17 years agoRenamed some variables to better reflect their usage
Michael Beck [Thu, 14 Jun 2007 12:39:04 +0000 (12:39 +0000)]
Renamed some variables to better reflect their usage
Fixed calculation of register parameters: A register parameter might be NOT the first parameter of a function!

[r14495]

17 years agoFixed calculation of register parameters: A register parameter might be NOT the first...
Michael Beck [Thu, 14 Jun 2007 12:36:55 +0000 (12:36 +0000)]
Fixed calculation of register parameters: A register parameter might be NOT the first parameter of a function!

[r14494]

17 years agofix fehler19
Matthias Braun [Thu, 14 Jun 2007 11:38:05 +0000 (11:38 +0000)]
fix fehler19

[r14491]

17 years agofix wrong parameter for be_emit_char
Matthias Braun [Thu, 14 Jun 2007 11:30:15 +0000 (11:30 +0000)]
fix wrong parameter for be_emit_char

[r14489]

17 years ago__fastcall error
Michael Beck [Thu, 14 Jun 2007 11:25:44 +0000 (11:25 +0000)]
__fastcall error

[r14488]

17 years agofpa constants implemented
Michael Beck [Thu, 14 Jun 2007 04:38:43 +0000 (04:38 +0000)]
fpa constants implemented
fpa load/store fixed

[r14486]

17 years agofpa constants implemented
Michael Beck [Thu, 14 Jun 2007 04:38:01 +0000 (04:38 +0000)]
fpa constants implemented

[r14485]

17 years agofixed spill alignment
Michael Beck [Thu, 14 Jun 2007 04:37:27 +0000 (04:37 +0000)]
fixed spill alignment
fixed number of register classes (for now, the use_fpu magic did not work)
fixed creation of ARM constants

[r14484]

17 years agochanged register names
Michael Beck [Thu, 14 Jun 2007 04:36:02 +0000 (04:36 +0000)]
changed register names
fixed fpaConst
fpa register are all caller save

[r14483]

17 years agotypo fixed
Michael Beck [Thu, 14 Jun 2007 04:34:44 +0000 (04:34 +0000)]
typo fixed

[r14482]

17 years agomake function static to make sure we don't fail on fastcall functions
Matthias Braun [Wed, 13 Jun 2007 21:47:57 +0000 (21:47 +0000)]
make function static to make sure we don't fail on fastcall functions

[r14481]

17 years agoimprove display of verifier
Matthias Braun [Wed, 13 Jun 2007 21:47:22 +0000 (21:47 +0000)]
improve display of verifier

[r14480]

17 years agodon't fail if type mode can't be determine (which can happen when passing structs)
Matthias Braun [Wed, 13 Jun 2007 21:46:41 +0000 (21:46 +0000)]
don't fail if type mode can't be determine (which can happen when passing structs)

[r14479]

17 years agoProjMs should not be scheduled
Matthias Braun [Wed, 13 Jun 2007 20:01:13 +0000 (20:01 +0000)]
ProjMs should not be scheduled

[r14478]

17 years agoProjMs should not be scheduled
Matthias Braun [Wed, 13 Jun 2007 20:00:47 +0000 (20:00 +0000)]
ProjMs should not be scheduled

[r14477]

17 years agocorrected keep verifier
Matthias Braun [Wed, 13 Jun 2007 19:51:15 +0000 (19:51 +0000)]
corrected keep verifier

[r14476]

17 years agoavoid creation of unnecessary keeps
Matthias Braun [Wed, 13 Jun 2007 19:35:01 +0000 (19:35 +0000)]
avoid creation of unnecessary keeps

[r14475]

17 years agoextended schedule verifier to look at the positions of Projs and Keeps (lots of keeps...
Matthias Braun [Wed, 13 Jun 2007 19:01:31 +0000 (19:01 +0000)]
extended schedule verifier to look at the positions of Projs and Keeps (lots of keeps are wrong at the moment)

[r14474]

17 years agosimulate Keeps to make sure unused results are popped from float stack
Matthias Braun [Wed, 13 Jun 2007 19:00:12 +0000 (19:00 +0000)]
simulate Keeps to make sure unused results are popped from float stack

[r14473]

17 years agotest volatile operations and make sure loads without user work
Matthias Braun [Wed, 13 Jun 2007 18:58:35 +0000 (18:58 +0000)]
test volatile operations and make sure loads without user work

[r14472]

17 years agoFixed some bugs and started statistic code
Sebastian Hack [Wed, 13 Jun 2007 16:28:19 +0000 (16:28 +0000)]
Fixed some bugs and started statistic code

[r14470]

17 years agoAdded missing wait ...
Michael Beck [Wed, 13 Jun 2007 15:21:22 +0000 (15:21 +0000)]
Added missing wait ...

[r14469]

17 years agoMoved the Sub Optimization into transform (changes the graph!) and made it more agressive
Michael Beck [Wed, 13 Jun 2007 14:52:28 +0000 (14:52 +0000)]
Moved the Sub Optimization into transform (changes the graph!) and made it more agressive

[r14467]

17 years agoOptimize SubInt(ConvInt(aP), ConvInt(bP)) into SubInt(aP,bP)
Michael Beck [Wed, 13 Jun 2007 14:38:10 +0000 (14:38 +0000)]
Optimize SubInt(ConvInt(aP), ConvInt(bP)) into SubInt(aP,bP)

[r14466]

17 years agoreplaced inline by __inline to allow to be compiled in gcc and msvc modes
Michael Beck [Wed, 13 Jun 2007 14:27:35 +0000 (14:27 +0000)]
replaced inline by __inline to allow to be compiled in gcc and msvc modes

[r14465]

17 years agoreplaced inline by __inline to allow it to be compiled in gcc and msvc mode
Michael Beck [Wed, 13 Jun 2007 14:25:49 +0000 (14:25 +0000)]
replaced inline by __inline to allow it to be compiled in gcc and msvc mode

[r14464]

17 years agoremoved c99 feature
Michael Beck [Wed, 13 Jun 2007 14:15:30 +0000 (14:15 +0000)]
removed c99 feature
removed one if

[r14463]

17 years agofixed the fix of the fix (that was fix)
Matthias Braun [Wed, 13 Jun 2007 13:47:14 +0000 (13:47 +0000)]
fixed the fix of the fix (that was fix)

[r14462]

17 years agoPhi optimization must be strictly dominated
Michael Beck [Wed, 13 Jun 2007 12:51:49 +0000 (12:51 +0000)]
Phi optimization must be strictly dominated

[r14460]

17 years agoadded strictly_dominate functions
Michael Beck [Wed, 13 Jun 2007 12:51:28 +0000 (12:51 +0000)]
added strictly_dominate functions

[r14459]

17 years agoFixed the last fix: need rewire of old proj's
Michael Beck [Wed, 13 Jun 2007 11:12:45 +0000 (11:12 +0000)]
Fixed the last fix: need rewire of old proj's

[r14457]

17 years agoinvalidate outs in condeval and convopt
Matthias Braun [Wed, 13 Jun 2007 10:03:16 +0000 (10:03 +0000)]
invalidate outs in condeval and convopt

[r14456]

17 years agoFixed the Phi optimize case: after fixing CSE for Phi nodes, it was broken
Michael Beck [Wed, 13 Jun 2007 09:39:52 +0000 (09:39 +0000)]
Fixed the Phi optimize case: after fixing CSE for Phi nodes, it was broken
additionally use kill_node()

[r14455]

17 years agoAdded a kill_node() function to support the out edges
Michael Beck [Wed, 13 Jun 2007 09:38:57 +0000 (09:38 +0000)]
Added a kill_node() function to support the out edges

[r14454]

17 years agofehler18
Matthias Braun [Wed, 13 Jun 2007 09:28:19 +0000 (09:28 +0000)]
fehler18

[r14453]

17 years agoMade the DEBUG_ONLY macro a little nicer (at least for me)
Sebastian Hack [Wed, 13 Jun 2007 08:15:28 +0000 (08:15 +0000)]
Made the DEBUG_ONLY macro a little nicer (at least for me)

[r14452]

17 years agoFiddled around some more
Sebastian Hack [Wed, 13 Jun 2007 08:11:29 +0000 (08:11 +0000)]
Fiddled around some more

[r14451]

17 years agoForgot to check in...
Sebastian Hack [Wed, 13 Jun 2007 08:10:31 +0000 (08:10 +0000)]
Forgot to check in...

[r14450]

17 years agoMade it more sensible concerning endless loops
Sebastian Hack [Tue, 12 Jun 2007 19:03:14 +0000 (19:03 +0000)]
Made it more sensible concerning endless loops

[r14449]

17 years agocbtw does NOT upcast 8 to 32 bits
Matthias Braun [Tue, 12 Jun 2007 14:47:28 +0000 (14:47 +0000)]
cbtw does NOT upcast 8 to 32 bits

[r14438]

17 years agofix some llvm tests not return 0 on successfull runs
Matthias Braun [Tue, 12 Jun 2007 09:37:34 +0000 (09:37 +0000)]
fix some llvm tests not return 0 on successfull runs

[r14428]

17 years agoslightly increase hashset iterator speed
Matthias Braun [Tue, 12 Jun 2007 09:27:40 +0000 (09:27 +0000)]
slightly increase hashset iterator speed

[r14425]

17 years agostart with smaller nodesets by default
Matthias Braun [Tue, 12 Jun 2007 09:27:00 +0000 (09:27 +0000)]
start with smaller nodesets by default

[r14424]

17 years agoworkaround problems when comparing bitfield types
Matthias Braun [Tue, 12 Jun 2007 09:20:45 +0000 (09:20 +0000)]
workaround problems when comparing bitfield types

[r14423]

17 years agofix totally broken code for doubling memory of block liveness lists
Matthias Braun [Tue, 12 Jun 2007 09:19:25 +0000 (09:19 +0000)]
fix totally broken code for doubling memory of block liveness lists

[r14422]

17 years agofix bad proj optimisation, fix loads missing the result proj
Matthias Braun [Mon, 11 Jun 2007 23:01:50 +0000 (23:01 +0000)]
fix bad proj optimisation, fix loads missing the result proj

[r14421]

17 years agofehler 17
Matthias Braun [Mon, 11 Jun 2007 18:40:02 +0000 (18:40 +0000)]
fehler 17

[r14420]

17 years agofix wrong flavors
Matthias Braun [Mon, 11 Jun 2007 14:51:42 +0000 (14:51 +0000)]
fix wrong flavors

[r14413]

17 years agoDo not generate a Copy node for an operand if the is already a Copy node.
Christoph Mallon [Mon, 11 Jun 2007 14:11:45 +0000 (14:11 +0000)]
Do not generate a Copy node for an operand if the is already a Copy node.

[r14411]

17 years agoFixed generation of attr = get_*_attr()
Michael Beck [Mon, 11 Jun 2007 14:11:06 +0000 (14:11 +0000)]
Fixed generation of attr = get_*_attr()

[r14410]

17 years agoremoved dangerous get_nodes_block()
Michael Beck [Mon, 11 Jun 2007 14:09:31 +0000 (14:09 +0000)]
removed dangerous get_nodes_block()

[r14409]

17 years agofixed signed/unsigned type mismatch
Michael Beck [Mon, 11 Jun 2007 14:08:40 +0000 (14:08 +0000)]
fixed signed/unsigned type mismatch

[r14408]

17 years agodon't cound backwards with size_t variables
Matthias Braun [Mon, 11 Jun 2007 13:29:09 +0000 (13:29 +0000)]
don't cound backwards with size_t variables

[r14405]

17 years agoC99 features removed
Michael Beck [Mon, 11 Jun 2007 11:11:10 +0000 (11:11 +0000)]
C99 features removed

[r14403]

17 years agoRemoved functions for accessing VProj nodes
Andreas Schösser [Mon, 11 Jun 2007 09:10:42 +0000 (09:10 +0000)]
Removed functions for accessing VProj nodes

[r14401]

17 years agoRemoved functions for accessing VProj nodes
Andreas Schösser [Mon, 11 Jun 2007 09:09:35 +0000 (09:09 +0000)]
Removed functions for accessing VProj nodes

[r14400]

17 years agoFixed a typo
Sebastian Hack [Sun, 10 Jun 2007 13:52:07 +0000 (13:52 +0000)]
Fixed a typo

[r14398]

17 years ago"docu" enhanced
Michael Beck [Sun, 10 Jun 2007 09:14:16 +0000 (09:14 +0000)]
"docu" enhanced

[r14397]

17 years agoFixed some ugly "const" code
Michael Beck [Sun, 10 Jun 2007 09:13:38 +0000 (09:13 +0000)]
Fixed some ugly "const" code
split arm attributes
fixed "SymConst get combined" Bug, HelloWorld runs now ;-)

[r14396]

17 years agorenamed inline into INLINE
Michael Beck [Sun, 10 Jun 2007 06:18:35 +0000 (06:18 +0000)]
renamed inline into INLINE

[r14395]

17 years agodaemel spiller seems to work now (tests, gzip and bzip2 work now)
Matthias Braun [Sat, 9 Jun 2007 15:31:50 +0000 (15:31 +0000)]
daemel spiller seems to work now (tests, gzip and bzip2 work now)

[r14394]

17 years agowe can use const
Matthias Braun [Sat, 9 Jun 2007 14:48:24 +0000 (14:48 +0000)]
we can use const

[r14393]

17 years agocleanup regparam code even more
Matthias Braun [Sat, 9 Jun 2007 14:47:24 +0000 (14:47 +0000)]
cleanup regparam code even more

[r14392]

17 years agodon't use xmm register in calling conventions when sse is not available, simplified...
Matthias Braun [Sat, 9 Jun 2007 14:13:01 +0000 (14:13 +0000)]
don't use xmm register in calling conventions when sse is not available, simplified and cleaned up map_param code

[r14391]

17 years agodon't use xmm register in calling conventions when sse is not available, simplified...
Matthias Braun [Sat, 9 Jun 2007 14:12:45 +0000 (14:12 +0000)]
don't use xmm register in calling conventions when sse is not available, simplified and cleaned up map_param code

[r14390]

17 years agodon't use xmm register in calling conventions when sse is not available, simplified...
Matthias Braun [Sat, 9 Jun 2007 14:04:38 +0000 (14:04 +0000)]
don't use xmm register in calling conventions when sse is not available, simplified and cleaned up map_param code

[r14389]

17 years agofix wrong panic
Matthias Braun [Fri, 8 Jun 2007 18:25:57 +0000 (18:25 +0000)]
fix wrong panic

[r14386]

17 years agowe temporarily need registers for reloaded values
Matthias Braun [Fri, 8 Jun 2007 18:15:33 +0000 (18:15 +0000)]
we temporarily need registers for reloaded values

[r14384]

17 years agocorrectly? handle phi spilling in daemelspiller
Matthias Braun [Fri, 8 Jun 2007 17:27:10 +0000 (17:27 +0000)]
correctly? handle phi spilling in daemelspiller

[r14383]

17 years agoremove unnecessary function
Matthias Braun [Fri, 8 Jun 2007 17:26:45 +0000 (17:26 +0000)]
remove unnecessary function

[r14382]

17 years agosome new testcases from llvm
Matthias Braun [Fri, 8 Jun 2007 16:00:24 +0000 (16:00 +0000)]
some new testcases from llvm

[r14381]

17 years agooptimize next_use calculation (quadratic in number of outs not number of nodes in...
Matthias Braun [Fri, 8 Jun 2007 15:20:51 +0000 (15:20 +0000)]
optimize next_use calculation (quadratic in number of outs not number of nodes in block

[r14380]

17 years agono need to call update_liveness for initial live in scheduler
Matthias Braun [Fri, 8 Jun 2007 15:20:11 +0000 (15:20 +0000)]
no need to call update_liveness for initial live in scheduler

[r14379]

17 years agodon't shrink a set below its minimum size
Matthias Braun [Fri, 8 Jun 2007 12:19:58 +0000 (12:19 +0000)]
don't shrink a set below its minimum size

[r14378]

17 years agoSet correct block on Projs in place_late().
Christoph Mallon [Fri, 8 Jun 2007 10:04:00 +0000 (10:04 +0000)]
Set correct block on Projs in place_late().

[r14377]

17 years agofixed mode_T nodes not moved by code placement
Matthias Braun [Thu, 7 Jun 2007 18:32:34 +0000 (18:32 +0000)]
fixed mode_T nodes not moved by code placement

[r14375]

17 years agoremoved the exc_region again,
Michael Beck [Wed, 6 Jun 2007 12:55:27 +0000 (12:55 +0000)]
removed the exc_region again,
fixed some DIv/Mod/DivMod code (add the X_regular case)

[r14369]

17 years agoswitched of debug mask
Michael Beck [Wed, 6 Jun 2007 12:38:04 +0000 (12:38 +0000)]
switched of debug mask

[r14368]

17 years agoBugFix: when register parameter are used the mode must be the mode of the parameters!
Michael Beck [Wed, 6 Jun 2007 12:35:40 +0000 (12:35 +0000)]
BugFix: when register parameter are used the mode must be the mode of the parameters!
Add conv's for that purpose.

[r14367]

17 years agolittle bugfix ...
Michael Beck [Wed, 6 Jun 2007 12:22:26 +0000 (12:22 +0000)]
little bugfix ...

[r14366]

17 years agosigned/unsigned warning fixed
Michael Beck [Wed, 6 Jun 2007 12:17:57 +0000 (12:17 +0000)]
signed/unsigned warning fixed

[r14365]

17 years agoadded cast to suppress warning
Michael Beck [Wed, 6 Jun 2007 12:11:31 +0000 (12:11 +0000)]
added cast to suppress warning

[r14364]

17 years agofixed signed/unsigned warning
Michael Beck [Wed, 6 Jun 2007 12:10:56 +0000 (12:10 +0000)]
fixed signed/unsigned warning

[r14363]