libfirm
17 years agono trighraphs in comments
Matthias Braun [Mon, 2 Jul 2007 13:52:28 +0000 (13:52 +0000)]
no trighraphs in comments

[r14883]

17 years agofixed lots of warnings in testprograms
Matthias Braun [Mon, 2 Jul 2007 13:48:35 +0000 (13:48 +0000)]
fixed lots of warnings in testprograms

[r14882]

17 years agodon't set lea to should_be_same
Matthias Braun [Mon, 2 Jul 2007 13:48:09 +0000 (13:48 +0000)]
don't set lea to should_be_same

[r14881]

17 years ago- Reintroduced TestCmov and TestSet
Matthias Braun [Mon, 2 Jul 2007 13:40:09 +0000 (13:40 +0000)]
- Reintroduced TestCmov and TestSet
- Cmov and Set can do AddressMode (for the comparison not for the result) now
- Rewrote should_be_same constraint handler and fixed a little bug in it

[r14879]

17 years agofix AM mode and remove_from_sched
Matthias Braun [Mon, 2 Jul 2007 12:53:32 +0000 (12:53 +0000)]
fix AM mode and remove_from_sched

[r14875]

17 years agomangle register class name into requirement names
Matthias Braun [Mon, 2 Jul 2007 11:46:40 +0000 (11:46 +0000)]
mangle register class name into requirement names

[r14873]

17 years agoadd missing #ifdef SCHEDULE_PROJS
Michael Beck [Sun, 1 Jul 2007 15:07:41 +0000 (15:07 +0000)]
add missing #ifdef SCHEDULE_PROJS

[r14869]

17 years agomakefile updates
Matthias Braun [Sat, 30 Jun 2007 18:23:05 +0000 (18:23 +0000)]
makefile updates

[r14865]

17 years agoIf a color colors all nodes in a chunk, other colors will not be tried anymore.
Sebastian Hack [Sat, 30 Jun 2007 10:37:30 +0000 (10:37 +0000)]
If a color colors all nodes in a chunk, other colors will not be tried anymore.
Missing is a color sequence detection; at the moment, colors are used from 0..k-1.
This is probably not so superb

[r14864]

17 years agofix uninitialized variable
Matthias Braun [Sat, 30 Jun 2007 08:35:55 +0000 (08:35 +0000)]
fix uninitialized variable

[r14863]

17 years agofehler35 (I already have a fix but can't commit it because it triggers other bugs...
Matthias Braun [Sat, 30 Jun 2007 07:42:23 +0000 (07:42 +0000)]
fehler35 (I already have a fix but can't commit it because it triggers other bugs :-/)

[r14862]

17 years agofix IncSP optimizer, remove some cases of nodes not removed from outedges
Matthias Braun [Sat, 30 Jun 2007 07:41:35 +0000 (07:41 +0000)]
fix IncSP optimizer, remove some cases of nodes not removed from outedges

[r14861]

17 years agoless accuracy, as we can't guarantee more in C
Matthias Braun [Fri, 29 Jun 2007 20:46:22 +0000 (20:46 +0000)]
less accuracy, as we can't guarantee more in C

[r14860]

17 years agoRemove unused variable.
Christoph Mallon [Fri, 29 Jun 2007 19:43:21 +0000 (19:43 +0000)]
Remove unused variable.

[r14859]

17 years agofix fehler32 by removing this nearly pointless optimisation
Matthias Braun [Fri, 29 Jun 2007 19:26:43 +0000 (19:26 +0000)]
fix fehler32 by removing this nearly pointless optimisation

[r14858]

17 years agofehler32
Matthias Braun [Fri, 29 Jun 2007 19:24:59 +0000 (19:24 +0000)]
fehler32

[r14857]

17 years agoTestcase for subtle if conversion bug.
Christoph Mallon [Fri, 29 Jun 2007 17:16:44 +0000 (17:16 +0000)]
Testcase for subtle if conversion bug.

[r14856]

17 years agoFix very subtle bug in if conversion which lead to incorrect results.
Christoph Mallon [Fri, 29 Jun 2007 17:09:36 +0000 (17:09 +0000)]
Fix very subtle bug in if conversion which lead to incorrect results.

[r14855]

17 years agoindentation changed
Michael Beck [Fri, 29 Jun 2007 16:21:04 +0000 (16:21 +0000)]
indentation changed

[r14854]

17 years agonew fehler33.c
Matthias Braun [Fri, 29 Jun 2007 15:42:27 +0000 (15:42 +0000)]
new fehler33.c

[r14849]

17 years agobuild TestJmp for compares with zero
Matthias Braun [Fri, 29 Jun 2007 15:37:20 +0000 (15:37 +0000)]
build TestJmp for compares with zero

[r14848]

17 years agofixed get_tarval_sub_bits() implementation: use mode arithmetic, fixes fehler31.c
Michael Beck [Fri, 29 Jun 2007 14:21:17 +0000 (14:21 +0000)]
fixed get_tarval_sub_bits() implementation: use mode arithmetic, fixes fehler31.c

[r14847]

17 years agoimprove fehler31
Matthias Braun [Fri, 29 Jun 2007 13:29:05 +0000 (13:29 +0000)]
improve fehler31

[r14846]

17 years agofehler 31
Matthias Braun [Fri, 29 Jun 2007 13:25:39 +0000 (13:25 +0000)]
fehler 31

[r14845]

17 years ago- no need to remove Proj's from the schedule
Michael Beck [Fri, 29 Jun 2007 13:00:31 +0000 (13:00 +0000)]
- no need to remove Proj's from the schedule
- typo fixed

[r14843]

17 years agoreally fix fehler26
Matthias Braun [Fri, 29 Jun 2007 12:14:19 +0000 (12:14 +0000)]
really fix fehler26

[r14841]

17 years agofixed some warnings
Matthias Braun [Fri, 29 Jun 2007 12:08:49 +0000 (12:08 +0000)]
fixed some warnings

[r14840]

17 years agoTestJmp bug (already fixed)
Matthias Braun [Fri, 29 Jun 2007 12:05:54 +0000 (12:05 +0000)]
TestJmp bug (already fixed)

[r14839]

17 years agotest result in fehler29
Matthias Braun [Fri, 29 Jun 2007 12:03:14 +0000 (12:03 +0000)]
test result in fehler29

[r14838]

17 years agono Addressmode for x87 CondJmps
Matthias Braun [Fri, 29 Jun 2007 12:02:39 +0000 (12:02 +0000)]
no Addressmode for x87 CondJmps

[r14837]

17 years agoCrash in ia32 floating point code emitter.
Christoph Mallon [Fri, 29 Jun 2007 06:17:07 +0000 (06:17 +0000)]
Crash in ia32 floating point code emitter.

[r14835]

17 years agofix lea to add transformation
Matthias Braun [Thu, 28 Jun 2007 22:59:28 +0000 (22:59 +0000)]
fix lea to add transformation

[r14834]

17 years agofix mips immediate dumper
Matthias Braun [Thu, 28 Jun 2007 22:27:45 +0000 (22:27 +0000)]
fix mips immediate dumper

[r14833]

17 years agoaddressmode for compares works now
Matthias Braun [Thu, 28 Jun 2007 22:27:32 +0000 (22:27 +0000)]
addressmode for compares works now

[r14832]

17 years agoCreate new TestJmp nodes in the correct block, i.e. the block of the Cond, not the...
Christoph Mallon [Thu, 28 Jun 2007 22:23:37 +0000 (22:23 +0000)]
Create new TestJmp nodes in the correct block, i.e. the block of the Cond, not the Cmp.

[r14831]

17 years agoRemove stale code.
Christoph Mallon [Thu, 28 Jun 2007 22:11:46 +0000 (22:11 +0000)]
Remove stale code.

[r14830]

17 years agoAdd the convenience function create_immediate_or_transform().
Christoph Mallon [Thu, 28 Jun 2007 21:21:30 +0000 (21:21 +0000)]
Add the convenience function create_immediate_or_transform().

[r14829]

17 years agoAssume that constants are always the right operand of a commutative operation.
Christoph Mallon [Thu, 28 Jun 2007 21:03:38 +0000 (21:03 +0000)]
Assume that constants are always the right operand of a commutative operation.

[r14828]

17 years agoemitting NoReg is always wrong
Matthias Braun [Thu, 28 Jun 2007 21:02:44 +0000 (21:02 +0000)]
emitting NoReg is always wrong

[r14827]

17 years agoFor a TestJmp it is not necessary that the And has a constant as operand. Every kind...
Christoph Mallon [Thu, 28 Jun 2007 20:35:42 +0000 (20:35 +0000)]
For a TestJmp it is not necessary that the And has a constant as operand. Every kind of operand is ok.

[r14826]

17 years agorewrite and improve Cond transformation
Matthias Braun [Thu, 28 Jun 2007 16:25:51 +0000 (16:25 +0000)]
rewrite and improve Cond transformation

[r14821]

17 years agofix bestate
Matthias Braun [Thu, 28 Jun 2007 16:24:49 +0000 (16:24 +0000)]
fix bestate

[r14820]

17 years agomark morgan spiller as broken
Matthias Braun [Thu, 28 Jun 2007 16:24:38 +0000 (16:24 +0000)]
mark morgan spiller as broken

[r14819]

17 years agoadd missing main
Matthias Braun [Thu, 28 Jun 2007 15:23:51 +0000 (15:23 +0000)]
add missing main

[r14818]

17 years agodisable PSI creation for now
Michael Beck [Thu, 28 Jun 2007 15:15:21 +0000 (15:15 +0000)]
disable PSI creation for now

[r14817]

17 years agoadd ARM_2a and ARM_3G architectures
Michael Beck [Thu, 28 Jun 2007 15:14:40 +0000 (15:14 +0000)]
add ARM_2a and ARM_3G architectures

[r14816]

17 years agoFixed typos, add some doxygen docu
Michael Beck [Thu, 28 Jun 2007 15:13:44 +0000 (15:13 +0000)]
Fixed typos, add some doxygen docu

[r14815]

17 years agoAdd support for Character types
Michael Beck [Thu, 28 Jun 2007 14:39:26 +0000 (14:39 +0000)]
Add support for Character types
Better void type handling
Added support for inline type definitions of Array and Pointer types

[r14813]

17 years agovariadic functions have always cdelc calling convention
Michael Beck [Thu, 28 Jun 2007 12:29:19 +0000 (12:29 +0000)]
variadic functions have always cdelc calling convention

[r14810]

17 years agova_start did not work with fastcall yet
Michael Beck [Thu, 28 Jun 2007 12:16:51 +0000 (12:16 +0000)]
va_start did not work with fastcall yet

[r14809]

17 years agocompound offset must be in bits
Michael Beck [Thu, 28 Jun 2007 11:59:44 +0000 (11:59 +0000)]
compound offset must be in bits

[r14808]

17 years agonoomitfp gone, omitfp rulez
Michael Beck [Thu, 28 Jun 2007 10:10:33 +0000 (10:10 +0000)]
noomitfp gone, omitfp rulez

[r14805]

17 years agoTestcase for wrong stab info.
Christoph Mallon [Thu, 28 Jun 2007 09:01:47 +0000 (09:01 +0000)]
Testcase for wrong stab info.

[r14800]

17 years agoRemove unused variable.
Christoph Mallon [Wed, 27 Jun 2007 16:34:53 +0000 (16:34 +0000)]
Remove unused variable.

[r14798]

17 years agostatic
Christoph Mallon [Wed, 27 Jun 2007 16:34:40 +0000 (16:34 +0000)]
static

[r14797]

17 years agoFix non-debug build of FIRM.
Christoph Mallon [Wed, 27 Jun 2007 16:29:33 +0000 (16:29 +0000)]
Fix non-debug build of FIRM.

[r14796]

17 years agogdb_tarval_helper() added
Michael Beck [Wed, 27 Jun 2007 14:40:12 +0000 (14:40 +0000)]
gdb_tarval_helper() added

[r14790]

17 years agogdb_node_helper() added
Michael Beck [Wed, 27 Jun 2007 14:20:42 +0000 (14:20 +0000)]
gdb_node_helper() added

[r14789]

17 years agoFixed Div/Mod lowering:
Michael Beck [Wed, 27 Jun 2007 14:15:16 +0000 (14:15 +0000)]
Fixed Div/Mod lowering:
- corected ld_name of intrinsic function
- fixed stupid error: live time of the rt_* variables ended before call to lower_intrinsic()

[r14788]

17 years agoHuge switch jump table problem.
Christoph Mallon [Wed, 27 Jun 2007 13:16:58 +0000 (13:16 +0000)]
Huge switch jump table problem.

[r14786]

17 years agofixed fehler24.c: check the result of tarval operation for tarval_bad when doing...
Michael Beck [Wed, 27 Jun 2007 11:24:56 +0000 (11:24 +0000)]
fixed fehler24.c: check the result of tarval operation for tarval_bad when doing Cmp transformations:

[r14781]

17 years agoenable again floating point constant folding that was erronously disabled
Michael Beck [Wed, 27 Jun 2007 11:23:40 +0000 (11:23 +0000)]
enable again floating point constant folding that was erronously disabled

[r14780]

17 years agoAssertion in the compound initialisation code regarding wchar_t arrays initialised...
Christoph Mallon [Wed, 27 Jun 2007 10:56:11 +0000 (10:56 +0000)]
Assertion in the compound initialisation code regarding wchar_t arrays initialised by wide string literals.

[r14779]

17 years agoAdd a test case where the tarval module generates an unexpected result.
Christoph Mallon [Wed, 27 Jun 2007 09:28:24 +0000 (09:28 +0000)]
Add a test case where the tarval module generates an unexpected result.

[r14777]

17 years agomore floating point immediate support
Michael Beck [Tue, 26 Jun 2007 22:03:28 +0000 (22:03 +0000)]
more floating point immediate support

[r14775]

17 years agoinitial support for fpa immediates
Michael Beck [Tue, 26 Jun 2007 16:37:56 +0000 (16:37 +0000)]
initial support for fpa immediates

[r14768]

17 years agotypo fixed
Michael Beck [Tue, 26 Jun 2007 16:37:10 +0000 (16:37 +0000)]
typo fixed

[r14767]

17 years agopreliminary support for floating point branches
Michael Beck [Tue, 26 Jun 2007 16:13:07 +0000 (16:13 +0000)]
preliminary support for floating point branches

[r14766]

17 years agoFixed CopyB emitting (mostly).
Michael Beck [Tue, 26 Jun 2007 16:12:33 +0000 (16:12 +0000)]
Fixed CopyB emitting (mostly).
preliminary support for floating point branches

[r14765]

17 years agofix
Matthias Braun [Mon, 25 Jun 2007 23:13:16 +0000 (23:13 +0000)]
fix

[r14763]

17 years agoadapt mips backend to new transform logic, use Immediate nodes, fixes
Matthias Braun [Mon, 25 Jun 2007 23:11:31 +0000 (23:11 +0000)]
adapt mips backend to new transform logic, use Immediate nodes, fixes

[r14762]

17 years agospecify attribute copy function in spec
Matthias Braun [Mon, 25 Jun 2007 23:11:03 +0000 (23:11 +0000)]
specify attribute copy function in spec

[r14761]

17 years agowarning fixes and use of attribute copy function
Matthias Braun [Mon, 25 Jun 2007 23:10:30 +0000 (23:10 +0000)]
warning fixes and use of attribute copy function

[r14760]

17 years agoallow specification of attribute copy functions
Matthias Braun [Mon, 25 Jun 2007 23:10:22 +0000 (23:10 +0000)]
allow specification of attribute copy functions

[r14759]

17 years agowarning fixes
Matthias Braun [Mon, 25 Jun 2007 23:09:56 +0000 (23:09 +0000)]
warning fixes

[r14758]

17 years agowarning fixes
Matthias Braun [Mon, 25 Jun 2007 23:09:30 +0000 (23:09 +0000)]
warning fixes

[r14757]

17 years agoremoved C99 features
Michael Beck [Mon, 25 Jun 2007 21:02:46 +0000 (21:02 +0000)]
removed C99 features

[r14755]

17 years agoC99 feature removed
Michael Beck [Mon, 25 Jun 2007 21:02:10 +0000 (21:02 +0000)]
C99 feature removed

[r14754]

17 years agoinitial implementation
Michael Beck [Mon, 25 Jun 2007 20:58:28 +0000 (20:58 +0000)]
initial implementation

[r14753]

17 years agofixed strange syntax
Michael Beck [Mon, 25 Jun 2007 20:47:36 +0000 (20:47 +0000)]
fixed strange syntax

[r14752]

17 years agoremoved unused variable to suppress warning
Michael Beck [Mon, 25 Jun 2007 20:46:51 +0000 (20:46 +0000)]
removed unused variable to suppress warning

[r14751]

17 years ago- Introduce nodemap
Matthias Braun [Mon, 25 Jun 2007 19:25:43 +0000 (19:25 +0000)]
- Introduce nodemap
- All float operations depend on fpu mode now
- Fix bestate switcher
- Add and fix fehler22 (unknown phi operands in x87 simulator)

[r14749]

17 years agofloat simulator unknown problems
Matthias Braun [Mon, 25 Jun 2007 18:29:29 +0000 (18:29 +0000)]
float simulator unknown problems

[r14747]

17 years agoTestcase for array initialisation.
Christoph Mallon [Mon, 25 Jun 2007 17:11:38 +0000 (17:11 +0000)]
Testcase for array initialisation.

[r14746]

17 years agofixed warnings (unused variable)
Michael Beck [Mon, 25 Jun 2007 17:04:16 +0000 (17:04 +0000)]
fixed warnings (unused variable)

[r14745]

17 years agouse the backend_marked flag correctly
Matthias Braun [Mon, 25 Jun 2007 17:00:01 +0000 (17:00 +0000)]
use the backend_marked flag correctly

[r14744]

17 years agono need to generate the old-style requirements anymore
Matthias Braun [Mon, 25 Jun 2007 16:46:52 +0000 (16:46 +0000)]
no need to generate the old-style requirements anymore

[r14743]

17 years agofix for new requirements generator
Matthias Braun [Mon, 25 Jun 2007 16:46:12 +0000 (16:46 +0000)]
fix for new requirements generator

[r14742]

17 years agofixed initialization of arrays (hopefully)
Michael Beck [Mon, 25 Jun 2007 16:26:02 +0000 (16:26 +0000)]
fixed initialization of arrays (hopefully)

[r14740]

17 years agofehler 21
Matthias Braun [Mon, 25 Jun 2007 15:24:14 +0000 (15:24 +0000)]
fehler 21

[r14739]

17 years agorewritten register constraint handling
Matthias Braun [Mon, 25 Jun 2007 14:17:08 +0000 (14:17 +0000)]
rewritten register constraint handling

[r14737]

17 years agoMade fallthrough handling ia32 like
Michael Beck [Mon, 25 Jun 2007 13:38:04 +0000 (13:38 +0000)]
Made fallthrough handling ia32 like

[r14736]

17 years agomissing include added
Michael Beck [Mon, 25 Jun 2007 11:20:41 +0000 (11:20 +0000)]
missing include added

[r14734]

17 years agofixed MLA creation
Michael Beck [Mon, 25 Jun 2007 10:04:11 +0000 (10:04 +0000)]
fixed MLA creation

[r14733]

17 years agofixed syntax of fpa ldf/stf instructions
Michael Beck [Sun, 24 Jun 2007 14:10:02 +0000 (14:10 +0000)]
fixed syntax of fpa ldf/stf instructions

[r14732]

17 years agoImplemented Unknown
Michael Beck [Fri, 22 Jun 2007 22:29:02 +0000 (22:29 +0000)]
Implemented Unknown

[r14731]

17 years agoadd support for 2 return registers
Michael Beck [Fri, 22 Jun 2007 19:45:16 +0000 (19:45 +0000)]
add support for 2 return registers

[r14730]

17 years agoadd missing ()
Michael Beck [Fri, 22 Jun 2007 18:24:38 +0000 (18:24 +0000)]
add missing ()

[r14729]

17 years agotemporary remove the non-working operands
Michael Beck [Fri, 22 Jun 2007 18:19:24 +0000 (18:19 +0000)]
temporary remove the non-working operands

[r14728]

17 years agouse the new backend_marked flag
Michael Beck [Fri, 22 Jun 2007 15:39:11 +0000 (15:39 +0000)]
use the new backend_marked flag

[r14727]