1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-24 11:31:31 +00:00
cc65/include
Oliver Schmidt 02daf9f8b5 So far the built-in inlining of several known standard function was always (!) enabled and the option -Os enabled additional, potentially unsafe inlining of some of those functions.
There were two aspects of this behavior that were considered undesirable:
- Although the safe inlining is in general desirable it should only be enabled if asked for it - like any other optimization.
- The option name -Os implies that it is a safe option, the potentially unsafe inlining should have a more explicit name.

So now:
- The option -Os enables the safe inlining.
- The new option --eagerly-inline-funcs enables the potentially unsafe inlining (including the safe inlining).

Additionally was added:
- The option --inline-stdfuncs that does like -Os enable the safe inlining but doesn't enable optimizations.
- The pragma inline-stdfuncs that works identical to --inline-stdfuncs.
- The pragma allow-eager-inline that enables the potentially unsafe inlining but doesn't include the safe inlining. That means that by itself it only marks code as safe for potentially unsafe inlining but doesn't actually enable any inlining.
2017-04-03 23:20:26 +02:00
..
em Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
geos
joystick Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
mouse
sys Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
tgi Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
_6522.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
_6525.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
_6526.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
_6545.h
_6551.h
_antic.h Improved display list instruction definition for more comfortable use within void data definition. 2017-02-24 00:10:02 +01:00
_gtia.h
_heap.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
_mikey.h
_pbi.h
_pia.h
_pokey.h
_riot.h Add C support for Atari 2600 (VCS) 2017-01-13 21:12:22 +01:00
_sid.h
_suzy.h
_ted.h
_tia.h Add C support for Atari 2600 (VCS) 2017-01-13 21:12:22 +01:00
_vdc.h
_vic2.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
_vic.h
6502.h added 4510 cpu detection to getcpu.s 2016-09-07 19:44:11 +02:00
ace.h Made __fastcall__ be the default calling convention for non-variadic functions. 2015-03-10 05:53:52 -04:00
apple2.h Add issues from pull request #307. 2016-06-07 12:07:38 +02:00
apple2enh.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
assert.h Made _afailed() and uncompress() be fastcall functions. 2015-03-13 07:35:47 -04:00
atari2600.h Add C support for Atari 2600 (VCS) 2017-01-13 21:12:22 +01:00
atari5200.h
atari_atascii_charmap.h Allow use of different charmaps on Atari target 2016-08-19 17:27:41 +02:00
atari_screen_charmap.h Internal/screen character mapping: Supressed warnings for re-map and added documentation. 2016-08-27 22:02:08 +02:00
atari.h Use 'return0' for default 'doesclrscrafterexit()' implementation in libsrc/common. 2016-06-07 15:05:00 +02:00
atmos.h
c16.h
c64.h
c128.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
cbm264.h
cbm510.h
cbm610.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
cbm_filetype.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
cbm.h Added C-code interfaces for the CBM Kernal functions SCNKEY and UDTIM. 2016-08-07 15:50:10 -04:00
cc65.h Add issues from pull request #307. 2016-06-07 12:07:38 +02:00
conio.h initial import of the gamate stuff 2015-11-14 13:15:29 +01:00
creativision.h Fix joystick driver. Add interruptor support. 2017-02-15 15:45:49 +01:00
ctype.h So far the built-in inlining of several known standard function was always (!) enabled and the option -Os enabled additional, potentially unsafe inlining of some of those functions. 2017-04-03 23:20:26 +02:00
dbg.h Made __fastcall__ be the default calling convention for non-variadic functions. 2015-03-10 05:53:52 -04:00
device.h
dio.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
dirent.h
em.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
errno.h Implement exec() for Atari XDOS. 2016-06-13 20:40:01 +02:00
fcntl.h
gamate.h fix grammar 2015-12-01 16:38:00 +01:00
geos.h
inttypes.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
iso646.h
joystick.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
limits.h
locale.h
lynx.h Made __fastcall__ be the default calling convention for non-variadic functions. 2015-03-10 05:53:52 -04:00
modload.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
mouse.h Keep low level VIC sprite stuff out of user code. 2015-10-09 18:33:35 +02:00
nes.h Programs need to reset NES input controllers by writing to them. 2015-12-15 11:26:04 -05:00
o65.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
osic1p.h Fix line endings (CRLF -> LF) on all affected files. 2017-03-10 11:21:14 +01:00
pce.h style fixes 2015-08-29 15:58:57 +02:00
peekpoke.h
pen.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
pet.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
plus4.h
serial.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
setjmp.h
signal.h
stdarg.h
stdbool.h
stddef.h
stdint.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
stdio.h
stdlib.h Added explicit settings of calling conventions in pointer-to-function declarations in system and library headers. 2015-06-22 00:15:48 -04:00
string.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
supervision.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
telestrat.h Fixing telestrat.h 2017-02-02 22:53:28 +01:00
tgi.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
time.h more cleanup 2015-11-29 20:04:10 +01:00
unistd.h
vic20.h
zlib.h Fix line endings (CRLF -> LF) on all affected files. 2017-03-10 11:21:14 +01:00