summaryrefslogtreecommitdiffstats
path: root/firmware/include/gcc_extensions.h
AgeCommit message (Collapse)AuthorFilesLines
2012-04-26Add a NO_INLINE attribute to gcc_extensions.Michael Sevakis1-0/+5
Will want later. Change-Id: Ia1509e17f2346374305146ee98546c72f2f8a1ed
2012-02-17Fix lua unused-variable warning by introducing UNUSED_ATTR.Thomas Martitz1-0/+7
Change-Id: If19393db123e89e58545c9e0736e6fa32fccb810
2011-12-09Introduce USED_ATTR wrapper for __attribute__((used)).Boris Gjenero1-0/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31188 a1c6a512-1295-4272-9138-f99709370657
2011-05-24FS#12120. Convert FRACMUL macros into inline functions and fix typecasting ↵Nils Wallménius1-0/+7
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
2010-08-12Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this ↵Thomas Martitz1-0/+7
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
2010-07-25Move some gcc extensions to new gcc_extensions.h headerRafaël Carré1-0/+46
- 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