aboutsummaryrefslogtreecommitdiff
path: root/il-gen.c
Commit message (Collapse)AuthorAgeFilesLines
* Spelling fixes in C comments onlyLarry Doolittle2017-05-071-1/+1
|
* Clarify that the CIL target code is deadMichael Matz2017-05-021-0/+2
| | | | | This backend doesn't work anymore since a long time. Don't remove it yet, it might be an inspiration.
* Revert all of my changes to directories & codingstyle.gus knight2015-07-291-0/+655
|
* Reorganize the source tree.gus knight2015-07-271-655/+0
| | | | | | | | | | * Documentation is now in "docs". * Source code is now in "src". * Misc. fixes here and there so that everything still works. I think I got everything in this commit, but I only tested this on Linux (Make) and Windows (CMake), so I might've messed something up on other platforms...
* Trim trailing spaces everywhere.gus knight2015-07-271-7/+7
|
* A partial reverse for commit eda2c756edc4dca004ba217d5bf361235dd9de1fseyko2015-03-031-1/+1
| | | | | | | | | | | | | | | Author: Thomas Preud'homme <robotux@celest.fr> Date: Tue Dec 31 23:51:20 2013 +0800 Move logic for if (int value) to tccgen.c Move the logic to do a test of an integer value (ex if (0)) out of arch-specific code to tccgen.c to avoid code duplication. This also fixes test of long long value which was only testing the bottom half of such values on 32 bits architectures. I don't understand why if () in gtst(i) was removed. This patch allows to compile a linux kernel v.2.4.26 W/o this patch a tcc simply crashes.
* Fix struct ret in variadic fct with ARM hardfloatThomas Preud'homme2014-01-061-0/+1
| | | | | | | | | | | | | The procedure calling standard for ARM architecture mandate the use of the base standard for variadic function. Therefore, hgen float aggregate must be returned via stack when greater than 4 bytes and via core registers else in case of variadic function. This patch improve gfunc_sret() to take into account whether the function is variadic or not and make use of gfunc_sret() return value to determine whether to pass a structure via stack in gfunc_prolog(). It also take advantage of knowing if a function is variadic or not move float result value from VFP register to core register in gfunc_epilog().
* Move logic for if (int value) to tccgen.cThomas Preud'homme2014-01-041-14/+1
| | | | | | | Move the logic to do a test of an integer value (ex if (0)) out of arch-specific code to tccgen.c to avoid code duplication. This also fixes test of long long value which was only testing the bottom half of such values on 32 bits architectures.
* add version number to manpageUrs Janssen2013-02-171-2/+2
| | | | | | | avoid c++/c99 style comments in preprocessor directives avoid leadings whitespaces in preprocessor directives mention implemented variable length arrays in documentation fixed ambiguous option in texi2html call (Austin English)
* rename error/warning -> tcc_(error/warning)grischka2011-08-111-2/+2
|
* cleanup: constify some global datagrischka2009-07-181-1/+1
|
* Set VT_LVAL_xxx flags for function arguments in gfunc_prolog (Daniel Glöckner)Daniel Glöckner2008-09-121-1/+1
|
* Import some changesets from Rob Landley's fork (part 1)grischka2007-11-141-11/+11
|
* added optionnal bound check compile - fixed error reportingbellard2002-03-031-15/+1
|
* added CIL targetbellard2002-02-101-0/+681