summaryrefslogtreecommitdiff
path: root/firmware/include/gcc_extensions.h (follow)
Commit message (Collapse)AuthorAge
* Add a NO_INLINE attribute to gcc_extensions.Michael Sevakis2012-04-26
| | | | | | Will want later. Change-Id: Ia1509e17f2346374305146ee98546c72f2f8a1ed
* Fix lua unused-variable warning by introducing UNUSED_ATTR.Thomas Martitz2012-02-17
| | | | Change-Id: If19393db123e89e58545c9e0736e6fa32fccb810
* Introduce USED_ATTR wrapper for __attribute__((used)).Boris Gjenero2011-12-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31188 a1c6a512-1295-4272-9138-f99709370657
* FS#12120. Convert FRACMUL macros into inline functions and fix typecasting ↵Nils Wallménius2011-05-24
| | | | | | for 64 bit platforms so that sims produce the same results as targets. Tweak the cf inline asm to not require an immediate value but add a FORCE_INLINE attribute to one of the cf functions to make sure it gets inlined as that saves both codesize and cycles. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29921 a1c6a512-1295-4272-9138-f99709370657
* Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this ↵Thomas Martitz2010-08-12
| | | | | | and a bit further cleanup in main gets rid of a warning when compiling for android. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27788 a1c6a512-1295-4272-9138-f99709370657
* Move some gcc extensions to new gcc_extensions.h headerRafaël Carré2010-07-25
- Move ATTRIBUTE_PRINTF/ATTRIBUTE_SCANF from _ansi.h They are not related at all to this file, and this broke compilation with Code Sourcery GCC which ships its own _ansi.h - Move LIKELY/UNLIKELY from system.h There is likely a lot more GCC extensions used everywhere in the source, conditionally on __GNUC__ or unconditionally git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27548 a1c6a512-1295-4272-9138-f99709370657