libfirm
16 years agoadd symconst_label
Michael Beck [Tue, 24 Jul 2007 15:41:12 +0000 (15:41 +0000)]
add symconst_label

[r15313]

16 years agoadd symconst_label
Michael Beck [Tue, 24 Jul 2007 15:40:46 +0000 (15:40 +0000)]
add symconst_label

[r15312]

16 years agoadd prototype for get_irp_next_label_nr()
Michael Beck [Tue, 24 Jul 2007 15:39:46 +0000 (15:39 +0000)]
add prototype for get_irp_next_label_nr()

[r15311]

16 years agostart label number with 1, reserve the 0
Michael Beck [Tue, 24 Jul 2007 15:39:15 +0000 (15:39 +0000)]
start label number with 1, reserve the 0

[r15310]

16 years agoAdded Test Program which breaks backend
Andreas Schösser [Tue, 24 Jul 2007 14:51:25 +0000 (14:51 +0000)]
Added Test Program which breaks backend

[r15309]

16 years agoget_irp_next_label_nr() added
Michael Beck [Tue, 24 Jul 2007 14:06:57 +0000 (14:06 +0000)]
get_irp_next_label_nr() added

[r15308]

16 years agoir_label_t added
Michael Beck [Tue, 24 Jul 2007 14:02:59 +0000 (14:02 +0000)]
ir_label_t added

[r15307]

16 years agosc_div() returns non-zero if divide without remainder
Michael Beck [Mon, 23 Jul 2007 22:03:47 +0000 (22:03 +0000)]
sc_div() returns non-zero if divide without remainder

[r15301]

16 years agofehler50
Matthias Braun [Mon, 23 Jul 2007 19:09:55 +0000 (19:09 +0000)]
fehler50

[r15300]

16 years agoFS_OPT_FP_INV_MUL added
Michael Beck [Mon, 23 Jul 2007 16:48:15 +0000 (16:48 +0000)]
FS_OPT_FP_INV_MUL added

[r15297]

16 years agoyou can store mode_b now
Matthias Braun [Mon, 23 Jul 2007 16:45:06 +0000 (16:45 +0000)]
you can store mode_b now

[r15296]

16 years agowarning fix
Matthias Braun [Mon, 23 Jul 2007 16:43:31 +0000 (16:43 +0000)]
warning fix

[r15295]

16 years ago(crude) support for non 32-bit modes in cmp
Matthias Braun [Mon, 23 Jul 2007 16:43:13 +0000 (16:43 +0000)]
(crude) support for non 32-bit modes in cmp

[r15294]

16 years agoAdded if for unreachable blocks
Sebastian Hack [Mon, 23 Jul 2007 14:29:36 +0000 (14:29 +0000)]
Added if for unreachable blocks

[r15292]

16 years agoCleaned up the tarval handling:
Michael Beck [Mon, 23 Jul 2007 12:35:56 +0000 (12:35 +0000)]
Cleaned up the tarval handling:
- removed the *_calc functions
- simplified floating point handling
- renamed functions

[r15291]

16 years agodoxygen comment fixed
Michael Beck [Mon, 23 Jul 2007 12:31:03 +0000 (12:31 +0000)]
doxygen comment fixed

[r15290]

16 years agomissing FIRM_ENABLE_HOOKS
Matthias Braun [Fri, 20 Jul 2007 21:19:12 +0000 (21:19 +0000)]
missing FIRM_ENABLE_HOOKS

[r15284]

16 years agomore missing includes
Matthias Braun [Fri, 20 Jul 2007 21:08:46 +0000 (21:08 +0000)]
more missing includes

[r15283]

16 years agomore missing includes
Matthias Braun [Fri, 20 Jul 2007 20:55:46 +0000 (20:55 +0000)]
more missing includes

[r15281]

16 years agoadd missing includes, makefile updates
Matthias Braun [Fri, 20 Jul 2007 20:05:30 +0000 (20:05 +0000)]
add missing includes, makefile updates

[r15280]

16 years agonew way to generate firm_config.h
Matthias Braun [Fri, 20 Jul 2007 16:55:42 +0000 (16:55 +0000)]
new way to generate firm_config.h

[r15278]

16 years agomore automake fixes
Matthias Braun [Fri, 20 Jul 2007 16:28:07 +0000 (16:28 +0000)]
more automake fixes

[r15277]

16 years agotypo fix
Matthias Braun [Fri, 20 Jul 2007 16:27:32 +0000 (16:27 +0000)]
typo fix

[r15276]

16 years agoautomake updates, set version number from configure script
Matthias Braun [Fri, 20 Jul 2007 16:20:43 +0000 (16:20 +0000)]
automake updates, set version number from configure script

[r15275]

16 years agoMakefile updates
Matthias Braun [Fri, 20 Jul 2007 14:59:39 +0000 (14:59 +0000)]
Makefile updates

[r15274]

16 years agoImplement constant folding for Psib.
Christoph Mallon [Thu, 19 Jul 2007 19:58:29 +0000 (19:58 +0000)]
Implement constant folding for Psib.

[r15270]

16 years agodon't display outedge warnings for blocks
Matthias Braun [Thu, 19 Jul 2007 19:26:19 +0000 (19:26 +0000)]
don't display outedge warnings for blocks

[r15269]

16 years agofix mode_arithmetic return
Matthias Braun [Thu, 19 Jul 2007 19:06:36 +0000 (19:06 +0000)]
fix mode_arithmetic return

[r15268]

16 years agofix outedge verififer
Matthias Braun [Thu, 19 Jul 2007 17:06:56 +0000 (17:06 +0000)]
fix outedge verififer

[r15265]

16 years agomore asserts
Matthias Braun [Thu, 19 Jul 2007 17:06:39 +0000 (17:06 +0000)]
more asserts

[r15264]

16 years agouse automake instead of homebrewn makefiles
Matthias Braun [Thu, 19 Jul 2007 16:05:15 +0000 (16:05 +0000)]
use automake instead of homebrewn makefiles

[r15262]

16 years agoget_mode_arithmetic() returns a mode_arithmetic now
Michael Beck [Thu, 19 Jul 2007 15:20:50 +0000 (15:20 +0000)]
get_mode_arithmetic() returns a mode_arithmetic now

[r15257]

16 years agoremoved the annoying assert() in get_nodes_block()
Michael Beck [Thu, 19 Jul 2007 15:09:29 +0000 (15:09 +0000)]
removed the annoying assert() in get_nodes_block()

[r15255]

16 years agofixed bitfield loads: mode must be adjustedir/lower/lower_hl.c
Michael Beck [Thu, 19 Jul 2007 14:53:40 +0000 (14:53 +0000)]
fixed bitfield loads: mode must be adjustedir/lower/lower_hl.c
run lowering in the post phase or a node may be lowered twice

[r15254]

16 years agofix for disabled statistics
Matthias Braun [Thu, 19 Jul 2007 14:46:41 +0000 (14:46 +0000)]
fix for disabled statistics

[r15253]

16 years agofix ProduceValue handling
Matthias Braun [Thu, 19 Jul 2007 14:45:48 +0000 (14:45 +0000)]
fix ProduceValue handling

[r15252]

16 years agotypo fixed
Michael Beck [Thu, 19 Jul 2007 14:33:27 +0000 (14:33 +0000)]
typo fixed

[r15251]

16 years agoUnions can be initialised statically now.
Christoph Mallon [Thu, 19 Jul 2007 13:49:12 +0000 (13:49 +0000)]
Unions can be initialised statically now.

[r15250]

16 years agoTest for union initialisation.
Christoph Mallon [Thu, 19 Jul 2007 13:12:38 +0000 (13:12 +0000)]
Test for union initialisation.

[r15245]

16 years agofehler4{8,9}: C99 initialisation of unions.
Christoph Mallon [Thu, 19 Jul 2007 11:05:59 +0000 (11:05 +0000)]
fehler4{8,9}: C99 initialisation of unions.

[r15241]

16 years agoFix off-by-one error when sparsely initialising an array.
Christoph Mallon [Thu, 19 Jul 2007 09:33:53 +0000 (09:33 +0000)]
Fix off-by-one error when sparsely initialising an array.

[r15240]

16 years agoAdd fehler47: Incorrect values when using C99 style initialisation.
Christoph Mallon [Thu, 19 Jul 2007 09:02:26 +0000 (09:02 +0000)]
Add fehler47: Incorrect values when using C99 style initialisation.

[r15239]

16 years agostrict conv test: worked once, buggy again?
Michael Beck [Wed, 18 Jul 2007 23:41:43 +0000 (23:41 +0000)]
strict conv test: worked once, buggy again?

[r15238]

16 years agofixed indentation
Michael Beck [Wed, 18 Jul 2007 23:40:42 +0000 (23:40 +0000)]
fixed indentation

[r15237]

16 years agofixed fc_val_from_str() do NOT produce values with more significant bits than request...
Michael Beck [Wed, 18 Jul 2007 23:40:16 +0000 (23:40 +0000)]
fixed fc_val_from_str() do NOT produce values with more significant bits than requested in the mode

[r15236]

16 years agofehler45
Matthias Braun [Wed, 18 Jul 2007 20:30:03 +0000 (20:30 +0000)]
fehler45

[r15234]

16 years agoconstant folding for floating point tarvals is disabled for now as it calculates...
Matthias Braun [Wed, 18 Jul 2007 18:33:36 +0000 (18:33 +0000)]
constant folding for floating point tarvals is disabled for now as it calculates in the precision of the values and not of the target cpu (x86=80bit)

[r15231]

16 years agocorrectly handle strict convs
Matthias Braun [Wed, 18 Jul 2007 17:40:58 +0000 (17:40 +0000)]
correctly handle strict convs

[r15230]

16 years agonot good enough yet
Matthias Braun [Wed, 18 Jul 2007 16:52:17 +0000 (16:52 +0000)]
not good enough yet

[r15229]

16 years agomore float strictness problems
Matthias Braun [Wed, 18 Jul 2007 16:35:28 +0000 (16:35 +0000)]
more float strictness problems

[r15227]

16 years agofix fpcw transformation fix strict conv creation
Matthias Braun [Wed, 18 Jul 2007 15:23:49 +0000 (15:23 +0000)]
fix fpcw transformation fix strict conv creation

[r15225]

16 years agosome optimization of strict conv's
Michael Beck [Wed, 18 Jul 2007 14:32:11 +0000 (14:32 +0000)]
some optimization of strict conv's

[r15219]

16 years agoparanoia floating point test
Matthias Braun [Wed, 18 Jul 2007 13:44:13 +0000 (13:44 +0000)]
paranoia floating point test

[r15216]

16 years agofehler42
Matthias Braun [Wed, 18 Jul 2007 13:25:10 +0000 (13:25 +0000)]
fehler42

[r15214]

16 years agowe can have non-cmp nodes before Conds
Matthias Braun [Tue, 17 Jul 2007 18:56:50 +0000 (18:56 +0000)]
we can have non-cmp nodes before Conds

[r15208]

16 years agoRemoved modes that were not registered.
Andreas Schösser [Tue, 17 Jul 2007 17:05:30 +0000 (17:05 +0000)]
Removed modes that were not registered.

[r15202]

16 years agoPrevented Proj nodes which are successors of IA32 nodes of beeing converted to ProjIu...
Andreas Schösser [Tue, 17 Jul 2007 17:04:11 +0000 (17:04 +0000)]
Prevented Proj nodes which are successors of IA32 nodes of beeing converted to ProjIu, since those nodes are 128bit Vector Projs. Quick Hack.

[r15201]

16 years agofix unused call results
Matthias Braun [Tue, 17 Jul 2007 15:43:25 +0000 (15:43 +0000)]
fix unused call results

[r15198]

16 years agofehler41
Matthias Braun [Tue, 17 Jul 2007 15:39:43 +0000 (15:39 +0000)]
fehler41

[r15197]

16 years agofixed dumping with anchors
Michael Beck [Tue, 17 Jul 2007 15:31:16 +0000 (15:31 +0000)]
fixed dumping with anchors

[r15196]

16 years agofix Cltd register pressure, fix some SSE (ABI with x87) call things...
Matthias Braun [Tue, 17 Jul 2007 14:27:41 +0000 (14:27 +0000)]
fix Cltd register pressure, fix some SSE (ABI with x87) call things...

[r15189]

16 years agoFix mode_b lowering of Psib.
Christoph Mallon [Tue, 17 Jul 2007 12:26:06 +0000 (12:26 +0000)]
Fix mode_b lowering of Psib.

[r15182]

16 years agoGC unused variables.
Christoph Mallon [Tue, 17 Jul 2007 12:08:00 +0000 (12:08 +0000)]
GC unused variables.

[r15181]

16 years agofix allocas, fix Tls transform
Matthias Braun [Mon, 16 Jul 2007 16:59:52 +0000 (16:59 +0000)]
fix allocas, fix Tls transform

[r15173]

16 years agoGenerate better, i.e. less, (and maybe more correct) code for floating point comparisons.
Christoph Mallon [Mon, 16 Jul 2007 16:58:46 +0000 (16:58 +0000)]
Generate better, i.e. less, (and maybe more correct) code for floating point comparisons.

[r15172]

16 years agoComitted wrong file. Revert r15169.
Christoph Mallon [Mon, 16 Jul 2007 16:58:29 +0000 (16:58 +0000)]
Comitted wrong file. Revert r15169.

[r15171]

16 years agofix condeval for cases that can be directly evalutated
Matthias Braun [Mon, 16 Jul 2007 16:54:29 +0000 (16:54 +0000)]
fix condeval for cases that can be directly evalutated

[r15170]

16 years agoGenerate better, i.e. less, (and maybe more correct) code for floating point comparisons.
Christoph Mallon [Mon, 16 Jul 2007 16:14:01 +0000 (16:14 +0000)]
Generate better, i.e. less, (and maybe more correct) code for floating point comparisons.

[r15169]

16 years agoremoved the new get_block/set_block stuff; not working; :-(
Michael Beck [Mon, 16 Jul 2007 15:23:59 +0000 (15:23 +0000)]
removed the new get_block/set_block stuff; not working; :-(

[r15168]

16 years agofix makereport
Matthias Braun [Mon, 16 Jul 2007 14:19:54 +0000 (14:19 +0000)]
fix makereport

[r15165]

16 years agomake functions static where possible
Matthias Braun [Mon, 16 Jul 2007 14:01:09 +0000 (14:01 +0000)]
make functions static where possible

[r15164]

16 years agomake functions statis where possible
Matthias Braun [Mon, 16 Jul 2007 14:00:54 +0000 (14:00 +0000)]
make functions statis where possible

[r15163]

16 years agomore unknown float testing
Matthias Braun [Mon, 16 Jul 2007 14:00:27 +0000 (14:00 +0000)]
more unknown float testing

[r15162]

16 years agorename to avoid 2 tests with same name
Matthias Braun [Mon, 16 Jul 2007 13:59:50 +0000 (13:59 +0000)]
rename to avoid 2 tests with same name

[r15161]

16 years agofix fehler40
Matthias Braun [Mon, 16 Jul 2007 12:34:53 +0000 (12:34 +0000)]
fix fehler40

[r15159]

16 years agoRemoved old "modecodes" that were never registered
Andreas Schösser [Mon, 16 Jul 2007 12:03:40 +0000 (12:03 +0000)]
Removed old "modecodes" that were never registered

[r15158]

16 years agofehler40
Matthias Braun [Mon, 16 Jul 2007 11:16:53 +0000 (11:16 +0000)]
fehler40

[r15157]

16 years agoDo not unconditionally set the unsigned pnc flag, but only for floating point compari...
Christoph Mallon [Mon, 16 Jul 2007 10:06:21 +0000 (10:06 +0000)]
Do not unconditionally set the unsigned pnc flag, but only for floating point comparisons. This fixes r15142.

[r15153]

16 years agoad-hoc fix for lfoat compares (this is not mallons optimal solution yet)
Matthias Braun [Sat, 14 Jul 2007 15:05:45 +0000 (15:05 +0000)]
ad-hoc fix for lfoat compares (this is not mallons optimal solution yet)

[r15142]

16 years agomove() does not try to move Projs anymore
Michael Beck [Fri, 13 Jul 2007 17:38:09 +0000 (17:38 +0000)]
move() does not try to move Projs anymore

[r15136]

16 years agoReplaced set_irn_n(*, -1, *) and get_irn_n(*, -1) by new get_nodes_block()/set_nodes_...
Michael Beck [Fri, 13 Jul 2007 16:57:59 +0000 (16:57 +0000)]
Replaced set_irn_n(*, -1, *) and get_irn_n(*, -1) by new get_nodes_block()/set_nodes_block() implementation
caveats:
 - the old outs do not see the anchor node yet
 - the new edges wrongly use get_irn_n(*, -1)
 - the new edges do not realize that the move of a node moves all its Projs
 - the anchor node still must have the -1 input set (due to edges bug...)

[r15135]

16 years agoadded attribute for anchor edges
Michael Beck [Fri, 13 Jul 2007 15:31:50 +0000 (15:31 +0000)]
added attribute for anchor edges

[r15122]

16 years agoadd missing width modifiers to some float nodes
Matthias Braun [Fri, 13 Jul 2007 15:09:38 +0000 (15:09 +0000)]
add missing width modifiers to some float nodes

[r15120]

16 years agoadded initializers for get_block/set_block operations
Michael Beck [Fri, 13 Jul 2007 13:49:46 +0000 (13:49 +0000)]
added initializers for get_block/set_block operations

[r15117]

16 years agoimproved safety: added a assert() if proj's are placed
Michael Beck [Fri, 13 Jul 2007 13:46:03 +0000 (13:46 +0000)]
improved safety: added a assert() if proj's are placed
ignore Proj nodes in place_floats_early()

[r15116]

16 years agoAdd get_block and set_block operations.
Michael Beck [Fri, 13 Jul 2007 13:34:36 +0000 (13:34 +0000)]
Add get_block and set_block operations.
Proj's are now automatically in the block of it's predecessor
get_nodes_block() is free of special cases ...

[r15115]

16 years agomin() is a rather bad name for a function due to macro clash
Michael Beck [Fri, 13 Jul 2007 13:19:29 +0000 (13:19 +0000)]
min() is a rather bad name for a function due to macro clash

[r15114]

16 years ago_ir_nodeset_find() returns already an int
Michael Beck [Fri, 13 Jul 2007 13:09:01 +0000 (13:09 +0000)]
_ir_nodeset_find() returns already an int

[r15113]

16 years agofixed typo
Michael Beck [Fri, 13 Jul 2007 12:51:32 +0000 (12:51 +0000)]
fixed typo
renamed reserved word this

[r15112]

16 years agouse zeros instead of unknowns for floating point for now
Matthias Braun [Fri, 13 Jul 2007 12:21:52 +0000 (12:21 +0000)]
use zeros instead of unknowns for floating point for now

[r15110]

16 years agomore unknown problems
Matthias Braun [Fri, 13 Jul 2007 10:03:38 +0000 (10:03 +0000)]
more unknown problems

[r15103]

16 years agotry to avoid creation of float Psis
Matthias Braun [Thu, 12 Jul 2007 21:28:37 +0000 (21:28 +0000)]
try to avoid creation of float Psis

[r15100]

16 years agodisable dumping (we need a flag for this)
Matthias Braun [Thu, 12 Jul 2007 21:13:54 +0000 (21:13 +0000)]
disable dumping (we need a flag for this)

[r15099]

16 years agorevert transformation tactics to old style
Matthias Braun [Thu, 12 Jul 2007 19:43:34 +0000 (19:43 +0000)]
revert transformation tactics to old style

[r15097]

16 years agothe Anchor is not a (real) user
Matthias Braun [Thu, 12 Jul 2007 19:42:27 +0000 (19:42 +0000)]
the Anchor is not a (real) user

[r15096]

16 years agoMake the deconv optimisation more aggressive (allow more ops, handle convs with multi...
Christoph Mallon [Thu, 12 Jul 2007 17:32:16 +0000 (17:32 +0000)]
Make the deconv optimisation more aggressive (allow more ops, handle convs with multiple users) and (hopefully) more correct (check if a conv is a downconv at more places).

[r15093]

16 years agotest case for floating point compare
Michael Beck [Thu, 12 Jul 2007 15:34:08 +0000 (15:34 +0000)]
test case for floating point compare

[r15087]

16 years agoadded file local cflags
Michael Beck [Thu, 12 Jul 2007 15:32:29 +0000 (15:32 +0000)]
added file local cflags

[r15086]

16 years agoget_mirrored_pnc() added on request
Michael Beck [Thu, 12 Jul 2007 15:05:38 +0000 (15:05 +0000)]
get_mirrored_pnc() added on request

[r15082]

16 years agoallow getting long values from reference tarvals
Matthias Braun [Thu, 12 Jul 2007 15:04:23 +0000 (15:04 +0000)]
allow getting long values from reference tarvals

[r15081]