libfirm
15 years ago- fixed typos
Michael Beck [Sun, 18 Jan 2009 17:21:11 +0000 (17:21 +0000)]
- fixed typos

[r25243]

15 years ago- really remove Min/Max, fix r25220
Michael Beck [Fri, 16 Jan 2009 20:26:42 +0000 (20:26 +0000)]
- really remove Min/Max, fix r25220

[r25230]

15 years ago- BugFix: do NOT dump loop info IF it is not valid
Michael Beck [Fri, 16 Jan 2009 18:03:30 +0000 (18:03 +0000)]
- BugFix: do NOT dump loop info IF it is not valid

[r25229]

15 years ago- add missing \n
Michael Beck [Fri, 16 Jan 2009 18:02:41 +0000 (18:02 +0000)]
- add missing \n

[r25228]

15 years agoBugFix:
Michael Beck [Fri, 16 Jan 2009 18:02:10 +0000 (18:02 +0000)]
BugFix:
new_rd_*() must ALWAYS set the current_ir_graph to the irg argument, otherwise
optimize_node() runs on the wrong irg, causing newly created nodes be put
onto the wrong value_table!

[r25227]

15 years agomin and max are no more
Matthias Braun [Fri, 16 Jan 2009 15:14:14 +0000 (15:14 +0000)]
min and max are no more

[r25220]

15 years agofix warning
Matthias Braun [Fri, 16 Jan 2009 14:47:58 +0000 (14:47 +0000)]
fix warning

[r25219]

15 years agoPBQP transformer doesn't support Mux nodes with constant values.
Sebastian Buchwald [Thu, 15 Jan 2009 12:07:10 +0000 (12:07 +0000)]
PBQP transformer doesn't support Mux nodes with constant values.

[r25205]

15 years ago- add support for statistics and merge debug info
Michael Beck [Wed, 14 Jan 2009 15:14:14 +0000 (15:14 +0000)]
- add support for statistics and merge debug info

[r25195]

15 years ago- add support for cond_eval statistics
Michael Beck [Wed, 14 Jan 2009 15:12:24 +0000 (15:12 +0000)]
- add support for cond_eval statistics

[r25194]

15 years ago- fixed signed/unsigned warning
Michael Beck [Wed, 14 Jan 2009 15:10:13 +0000 (15:10 +0000)]
- fixed signed/unsigned warning

[r25193]

15 years ago- recode r25185 "the Firm way"
Michael Beck [Wed, 14 Jan 2009 02:34:51 +0000 (02:34 +0000)]
- recode r25185 "the Firm way"

[r25188]

15 years agoConv(X) & all_one(mode(X)) = Conv(X)
Moritz Kroll [Wed, 14 Jan 2009 00:31:40 +0000 (00:31 +0000)]
Conv(X) & all_one(mode(X)) = Conv(X)

[r25185]

15 years agoResolve warning.
Christoph Mallon [Tue, 13 Jan 2009 15:10:28 +0000 (15:10 +0000)]
Resolve warning.

[r25176]

15 years agoCorrect documentation of return value.
Christoph Mallon [Tue, 13 Jan 2009 12:49:02 +0000 (12:49 +0000)]
Correct documentation of return value.

[r25168]

15 years agofix warnings
Matthias Braun [Tue, 13 Jan 2009 12:07:02 +0000 (12:07 +0000)]
fix warnings

[r25164]

15 years agomake get_entity_irg return NULL for non methods as documented in typerep.h
Matthias Braun [Tue, 13 Jan 2009 12:03:14 +0000 (12:03 +0000)]
make get_entity_irg return NULL for non methods as documented in typerep.h

[r25163]

15 years ago- do cheap tests first
Michael Beck [Sat, 10 Jan 2009 05:29:40 +0000 (05:29 +0000)]
- do cheap tests first

[r25140]

15 years ago- removed useless be_req_t which was a wrapper around an arch_register_req_t
Michael Beck [Sat, 10 Jan 2009 05:15:45 +0000 (05:15 +0000)]
- removed useless be_req_t which was a wrapper around an arch_register_req_t

[r25139]

15 years agofix alignment for float constants
Matthias Braun [Fri, 9 Jan 2009 14:21:40 +0000 (14:21 +0000)]
fix alignment for float constants

[r25135]

15 years agomore verbose panis
Matthias Braun [Fri, 9 Jan 2009 14:21:10 +0000 (14:21 +0000)]
more verbose panis

[r25134]

15 years agobring arm back to a working state
Matthias Braun [Fri, 9 Jan 2009 14:20:15 +0000 (14:20 +0000)]
bring arm back to a working state

[r25133]

15 years agoRemove unused variable.
Christoph Mallon [Fri, 9 Jan 2009 11:48:16 +0000 (11:48 +0000)]
Remove unused variable.

[r25130]

15 years ago- propagate r23142 changes to all backends
Michael Beck [Fri, 9 Jan 2009 03:53:29 +0000 (03:53 +0000)]
- propagate r23142 changes to all backends

[r25129]

15 years agorename create_Immediate() into ia32_create_Immediate()
Michael Beck [Fri, 9 Jan 2009 03:45:57 +0000 (03:45 +0000)]
rename create_Immediate() into ia32_create_Immediate()

[r25128]

15 years ago- small cleanup
Michael Beck [Thu, 8 Jan 2009 18:10:19 +0000 (18:10 +0000)]
- small cleanup

[r25127]

15 years ago-small cleanup
Michael Beck [Thu, 8 Jan 2009 18:02:18 +0000 (18:02 +0000)]
-small cleanup

[r25126]

15 years ago- removed orphan declarations
Michael Beck [Thu, 8 Jan 2009 18:01:41 +0000 (18:01 +0000)]
- removed orphan declarations

[r25125]

15 years agoFixed debug info for defaultProj
Moritz Kroll [Mon, 5 Jan 2009 23:06:50 +0000 (23:06 +0000)]
Fixed debug info for defaultProj

[r25090]

15 years ago- add intrinsic lowerer for strcpy(), mempcpy(), memmove(), strncmp()
Michael Beck [Sat, 3 Jan 2009 04:48:20 +0000 (04:48 +0000)]
- add intrinsic lowerer for strcpy(), mempcpy(), memmove(), strncmp()

[r25072]

15 years ago- BugFix: not all users of the frame are Sel nodes (now all cases fixed)
Michael Beck [Sat, 3 Jan 2009 02:37:44 +0000 (02:37 +0000)]
- BugFix: not all users of the frame are Sel nodes (now all cases fixed)

[r25069]

15 years ago- BugFix: not all users of the frame are Sel nodes
Michael Beck [Fri, 2 Jan 2009 21:52:03 +0000 (21:52 +0000)]
- BugFix: not all users of the frame are Sel nodes
  This fixes 20030811-1.c from gcc-torture

[r25067]

15 years ago- add alignment of stack parameter to be parameters set
Michael Beck [Fri, 2 Jan 2009 16:47:18 +0000 (16:47 +0000)]
- add alignment of stack parameter to be parameters set

[r25054]

15 years agoHopefully the last fix to the value type stuff:
Michael Beck [Fri, 2 Jan 2009 15:03:50 +0000 (15:03 +0000)]
Hopefully the last fix to the value type stuff:
if an address of a register parameter is taken, create immediately a backing store
instead of moving it from the argument type (where it might not exist if no
value type was built)

[r25051]

15 years ago- implement the same value parameter type lowering for lower_calls (although
Michael Beck [Fri, 2 Jan 2009 14:01:13 +0000 (14:01 +0000)]
- implement the same value parameter type lowering for lower_calls (although
  most parts was already here)
- only remap Sel if we change the value parameter type in lower_dw.c

[r25047]

15 years ago- add some early assert() debugging helper
Michael Beck [Fri, 2 Jan 2009 05:16:55 +0000 (05:16 +0000)]
- add some early assert() debugging helper

[r25034]

15 years ago- correct lowering of the the value parameter type helps beabi ...
Michael Beck [Fri, 2 Jan 2009 05:15:11 +0000 (05:15 +0000)]
- correct lowering of the the value parameter type helps beabi ...

[r25033]

15 years agoRemove ununsed variable.
Christoph Mallon [Tue, 30 Dec 2008 16:38:57 +0000 (16:38 +0000)]
Remove ununsed variable.

[r24986]

15 years ago- BugFix: do NOT destroy the value_param type, cparser merges the type
Michael Beck [Tue, 30 Dec 2008 15:35:42 +0000 (15:35 +0000)]
- BugFix: do NOT destroy the value_param type, cparser merges the type
  of functions if possible: this fixes abi_null_mode_proj
- put more things into environment, so lesser calls are needed

[r24985]

15 years agoRemove write-only bitset.
Christoph Mallon [Mon, 29 Dec 2008 19:36:47 +0000 (19:36 +0000)]
Remove write-only bitset.

[r24958]

15 years agoPut braces at function start on new line.
Christoph Mallon [Mon, 29 Dec 2008 18:35:13 +0000 (18:35 +0000)]
Put braces at function start on new line.

[r24954]

15 years ago- implemented ia32 inport, outport for ir_bk_(in|out)port
Michael Beck [Mon, 29 Dec 2008 02:16:45 +0000 (02:16 +0000)]
- implemented ia32 inport, outport for ir_bk_(in|out)port

[r24938]

15 years ago- add ir_bk_outport and ir_bk_inport
Michael Beck [Mon, 29 Dec 2008 01:12:51 +0000 (01:12 +0000)]
- add ir_bk_outport and ir_bk_inport

[r24937]

15 years agoReimplement the "fp result returned in st0 code":
Michael Beck [Fri, 26 Dec 2008 04:07:58 +0000 (04:07 +0000)]
Reimplement the "fp result returned in st0 code":

The old code was fundamental broken, because it
- changes the cls of a node WITHOUT changing a following be_Keep
- produced the xmm0 reload BEFORE the Keep -> both nodes define xmm0

The new code handles some simple cases even more gracefully.

[r24897]

15 years ago- only use immediate mode_E if x87 unit is used
Michael Beck [Fri, 26 Dec 2008 04:03:55 +0000 (04:03 +0000)]
- only use immediate mode_E if x87 unit is used

[r24896]

15 years agoMake get_idx_irn(irg, idx) public (useful for debugging purposes)
Moritz Kroll [Thu, 25 Dec 2008 22:03:24 +0000 (22:03 +0000)]
Make get_idx_irn(irg, idx) public (useful for debugging purposes)

[r24894]

15 years ago- removed strange add_irn_dep(get_irg_end(cg->irg), res)
Michael Beck [Thu, 25 Dec 2008 03:59:56 +0000 (03:59 +0000)]
- removed strange add_irn_dep(get_irg_end(cg->irg), res)
  in create_const(): DO NOT RESTORE it without a meaningfull comment
  what for this is needed

[r24892]

15 years ago- add missing ir_bk_debugbreak case
Michael Beck [Thu, 25 Dec 2008 03:57:57 +0000 (03:57 +0000)]
- add missing ir_bk_debugbreak case

[r24891]

15 years agoUse the global nomem instead of building a new one.
Christoph Mallon [Wed, 24 Dec 2008 22:31:16 +0000 (22:31 +0000)]
Use the global nomem instead of building a new one.

[r24890]

15 years agoRemove unused variable.
Christoph Mallon [Wed, 24 Dec 2008 22:29:07 +0000 (22:29 +0000)]
Remove unused variable.

[r24889]

15 years ago- put the nomem and noreg_GP nodes into global variables:
Michael Beck [Wed, 24 Dec 2008 18:17:18 +0000 (18:17 +0000)]
- put the nomem and noreg_GP nodes into global variables:
  this should safe a huge amount of useless calls

[r24888]

15 years ago- gcc uses UD2 for __builtin_trap()
Michael Beck [Wed, 24 Dec 2008 03:45:46 +0000 (03:45 +0000)]
- gcc uses UD2 for __builtin_trap()
- implemented ir_bk_debugbreak

[r24885]

15 years ago- removed unused variable
Michael Beck [Wed, 24 Dec 2008 02:48:36 +0000 (02:48 +0000)]
- removed unused variable

[r24884]

15 years ago- add builtin_(trap|bswap)
Michael Beck [Tue, 23 Dec 2008 22:30:31 +0000 (22:30 +0000)]
- add builtin_(trap|bswap)

[r24882]

15 years agoRemove unused local variable.
Christoph Mallon [Tue, 23 Dec 2008 22:22:55 +0000 (22:22 +0000)]
Remove unused local variable.

[r24881]

15 years agoUse the register mode when transforming ASM projs.
Christoph Mallon [Tue, 23 Dec 2008 22:18:07 +0000 (22:18 +0000)]
Use the register mode when transforming ASM projs.

[r24880]

15 years agoSimplify generating the extend suffix for ia32_Load.
Christoph Mallon [Tue, 23 Dec 2008 19:35:28 +0000 (19:35 +0000)]
Simplify generating the extend suffix for ia32_Load.

[r24879]

15 years ago- BSF/BSR cannot do 16 bit AM in our model, because they only set the lower 16 bits...
Christoph Mallon [Tue, 23 Dec 2008 18:47:26 +0000 (18:47 +0000)]
- BSF/BSR cannot do 16 bit AM in our model, because they only set the lower 16 bits of the destination register then.
- Rename gen_unop_dest() to gen_unop_AM().

[r24876]

15 years agoLet the emitter generator generate fewer calls.
Christoph Mallon [Tue, 23 Dec 2008 18:37:14 +0000 (18:37 +0000)]
Let the emitter generator generate fewer calls.

[r24875]

15 years agoMake generated code for ia32 %ME a bit more pretty.
Christoph Mallon [Tue, 23 Dec 2008 18:35:46 +0000 (18:35 +0000)]
Make generated code for ia32 %ME a bit more pretty.

[r24874]

15 years ago- Lea does not like x, const so replaced by Add
Michael Beck [Tue, 23 Dec 2008 17:33:09 +0000 (17:33 +0000)]
- Lea does not like x, const so replaced by Add

[r24870]

15 years ago- implemented __builtin_(ffs|ctz|clz|popcount|parity)
Michael Beck [Tue, 23 Dec 2008 17:11:14 +0000 (17:11 +0000)]
- implemented __builtin_(ffs|ctz|clz|popcount|parity)

[r24867]

15 years agoLet the backend generator scripts emit \t instead of literal tabs.
Christoph Mallon [Tue, 23 Dec 2008 15:18:35 +0000 (15:18 +0000)]
Let the backend generator scripts emit \t instead of literal tabs.

[r24862]

15 years ago- corrected SSE prefetch instructions
Michael Beck [Sun, 21 Dec 2008 14:57:43 +0000 (14:57 +0000)]
- corrected SSE prefetch instructions

[r24837]

15 years agoFix emit_ia32_ClimbFrame(): Source is left, destination is right.
Christoph Mallon [Sun, 21 Dec 2008 14:23:35 +0000 (14:23 +0000)]
Fix emit_ia32_ClimbFrame(): Source is left, destination is right.

[r24835]

15 years ago- forgot to remove the early check
Michael Beck [Sun, 21 Dec 2008 14:09:59 +0000 (14:09 +0000)]
- forgot to remove the early check

[r24832]

15 years ago- gcc ignores RW==1 for non 3DNow!
Michael Beck [Sun, 21 Dec 2008 14:07:14 +0000 (14:07 +0000)]
- gcc ignores RW==1 for non 3DNow!

[r24830]

15 years ago- implemented __builtin_prefetch in ia32 BE
Michael Beck [Sun, 21 Dec 2008 13:47:39 +0000 (13:47 +0000)]
- implemented __builtin_prefetch in ia32 BE
- add athlon_old for athlons WITHOUT SSE

[r24829]

15 years ago- implemented ia32_ClimbFrame() pseudo-instruction
Michael Beck [Fri, 19 Dec 2008 15:03:36 +0000 (15:03 +0000)]
- implemented ia32_ClimbFrame() pseudo-instruction
- fully implemented __builtin_(frame|return)_address in the backend

[r24812]

15 years ago- fixed CSE and Combo for Builtin nodes
Michael Beck [Fri, 19 Dec 2008 15:00:57 +0000 (15:00 +0000)]
- fixed CSE and Combo for Builtin nodes

[r24811]

15 years ago- implemented __builtin_return_address(0)
Michael Beck [Thu, 18 Dec 2008 18:19:51 +0000 (18:19 +0000)]
- implemented __builtin_return_address(0)

[r24793]

15 years ago- do not use tuple result for builtins, not needed yet
Michael Beck [Thu, 18 Dec 2008 18:18:47 +0000 (18:18 +0000)]
- do not use tuple result for builtins, not needed yet

[r24792]

15 years ago- more simplification in skip_Tuple
Michael Beck [Thu, 18 Dec 2008 17:38:10 +0000 (17:38 +0000)]
- more simplification in skip_Tuple

[r24791]

15 years ago- always skip tuple, its useless to prevent that
Michael Beck [Thu, 18 Dec 2008 17:36:54 +0000 (17:36 +0000)]
- always skip tuple, its useless to prevent that

[r24790]

15 years ago- implemented Builtin node to represent builtins ...
Michael Beck [Thu, 18 Dec 2008 15:31:11 +0000 (15:31 +0000)]
- implemented Builtin node to represent builtins ...

[r24785]

15 years ago- removed useless end -> node dependency
Michael Beck [Wed, 17 Dec 2008 15:08:46 +0000 (15:08 +0000)]
- removed useless end -> node dependency

[r24754]

15 years agoremove duplicated macros
Matthias Braun [Mon, 15 Dec 2008 13:02:28 +0000 (13:02 +0000)]
remove duplicated macros

[r24687]

15 years ago- renamed cons_flags to ir_cons_flags
Michael Beck [Mon, 15 Dec 2008 12:20:32 +0000 (12:20 +0000)]
- renamed cons_flags to ir_cons_flags

[r24681]

15 years ago- fixed warning
Michael Beck [Mon, 15 Dec 2008 12:18:50 +0000 (12:18 +0000)]
- fixed warning

[r24680]

15 years agoAdded cons_flags parameter to new_Load and new_Store functions for volatility, alignm...
Moritz Kroll [Sun, 14 Dec 2008 10:52:07 +0000 (10:52 +0000)]
Added cons_flags parameter to new_Load and new_Store functions for volatility, alignment and pin state

[r24655]

15 years agoFix generating bit representation of INF modes with explicit one, i.e. x87 long double.
Christoph Mallon [Sat, 13 Dec 2008 23:15:05 +0000 (23:15 +0000)]
Fix generating bit representation of INF modes with explicit one, i.e. x87 long double.

[r24637]

15 years ago- BugFix: the mode of a Load must be its load_mode, else a Byte load would be congrue...
Michael Beck [Sat, 13 Dec 2008 22:46:17 +0000 (22:46 +0000)]
- BugFix: the mode of a Load must be its load_mode, else a Byte load would be congruent a float load (which is true to some extend but not we want to handle here)
- BugFix: two Blocks are never congruent: this cannot be detected by combo either and fixed the IJmp predecessor problem of combo_load_mode.c

[r24633]

15 years agoFix tarval_mod() for negative dividend.
Christoph Mallon [Sat, 13 Dec 2008 22:20:39 +0000 (22:20 +0000)]
Fix tarval_mod() for negative dividend.

[r24632]

15 years agooops set_entity_align did not what it appeared to do
Matthias Braun [Sat, 13 Dec 2008 22:04:02 +0000 (22:04 +0000)]
oops set_entity_align did not what it appeared to do

[r24630]

15 years ago- C99 feature removed
Michael Beck [Sat, 13 Dec 2008 21:38:14 +0000 (21:38 +0000)]
- C99 feature removed
- fixed an FIXME

[r24629]

15 years agoIgnore End keeps.
Sebastian Buchwald [Sat, 13 Dec 2008 20:45:12 +0000 (20:45 +0000)]
Ignore End keeps.

[r24628]

15 years agoalign mode_E konstants at 16 bytes
Matthias Braun [Sat, 13 Dec 2008 19:06:54 +0000 (19:06 +0000)]
align mode_E konstants at 16 bytes

[r24619]

15 years agoredefine mode_E to 96 bits
Matthias Braun [Sat, 13 Dec 2008 18:59:51 +0000 (18:59 +0000)]
redefine mode_E to 96 bits

[r24618]

15 years agosome adjustment to float convs (skip some strictconvs when no_fold_const is not set...
Matthias Braun [Sat, 13 Dec 2008 18:23:51 +0000 (18:23 +0000)]
some adjustment to float convs (skip some strictconvs when no_fold_const is not set, but always strict conv in int->float converstion)

[r24617]

15 years agofix new_Block users
Matthias Braun [Sat, 13 Dec 2008 18:08:33 +0000 (18:08 +0000)]
fix new_Block users

[r24615]

15 years agonew_Block should not set curr_block too
Matthias Braun [Sat, 13 Dec 2008 17:58:30 +0000 (17:58 +0000)]
new_Block should not set curr_block too

[r24610]

15 years agointroduce fp_no_float_fold flag for frontends which do not query the backends float...
Matthias Braun [Sat, 13 Dec 2008 17:56:13 +0000 (17:56 +0000)]
introduce fp_no_float_fold flag for frontends which do not query the backends float arithmetic mode yet

[r24609]

15 years agobackend can report back float point arithmetic mode
Matthias Braun [Sat, 13 Dec 2008 17:11:45 +0000 (17:11 +0000)]
backend can report back float point arithmetic mode

[r24603]

15 years agoNext attempt in fixing tarval float->int conversion.
Christoph Mallon [Sat, 13 Dec 2008 16:58:29 +0000 (16:58 +0000)]
Next attempt in fixing tarval float->int conversion.

[r24602]

15 years agoIgnore End keeps.
Christoph Mallon [Sat, 13 Dec 2008 16:03:42 +0000 (16:03 +0000)]
Ignore End keeps.

[r24600]

15 years agofix fc_can_lossless_conv_to (I hope this is correct)
Matthias Braun [Sat, 13 Dec 2008 15:48:54 +0000 (15:48 +0000)]
fix fc_can_lossless_conv_to (I hope this is correct)

[r24599]

15 years agono point in first setting the wrong mode and then correcting it, set the right mode...
Matthias Braun [Sat, 13 Dec 2008 14:52:12 +0000 (14:52 +0000)]
no point in first setting the wrong mode and then correcting it, set the right mode directly

[r24598]

15 years agoClean up new_const_code_irg() a bit.
Christoph Mallon [Sat, 13 Dec 2008 07:07:57 +0000 (07:07 +0000)]
Clean up new_const_code_irg() a bit.

[r24585]

15 years ago- skip_Id nodes when returning the entity initializer: this should fix ldst_opt_id.c
Michael Beck [Fri, 12 Dec 2008 20:31:19 +0000 (20:31 +0000)]
- skip_Id nodes when returning the entity initializer: this should fix ldst_opt_id.c

[r24582]

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]