Technical Support
On-Line Manuals
Compiler User Guide
Describes programming techniques and practices to help you increase the portability, efficiency and robustness of your C and C++ source code.
4.1 The compiler as an optimizing compiler.
4.2 Compiler optimization for code size versus speed.
4.3 Compiler optimization levels and the debug view.
4.4 Selecting the target processor at compile time.
4.5 Enabling FPU for bare-metal.
4.6 Optimization of loop termination in C code.
4.7 Loop unrolling in C code.
4.8 Compiler optimization and the volatile keyword.
4.9 Code metrics.
4.10 Code metrics for measurement of code size and data size.
4.11 Stack use in C and C++.
4.12 Benefits of reducing debug information in objects and libraries.
4.13 Methods of reducing debug information in objects and libraries.
4.14 Guarding against multiple inclusion of header files.
4.15 Methods of minimizing function parameter passing overhead.
4.16 Returning structures from functions through registers.
4.17 Functions that return the same result when called with the same arguments.
4.18 Comparison of pure and impure functions.
4.19 Recommendation of postfix syntax when qualifying functions with ARM function modifiers.
4.20 Inline functions.
4.21 Compiler decisions on function inlining.
4.22 Automatic function inlining and static functions.
4.23 Inline functions and removal of unused out-of-line functions at link time.
4.24 Automatic function inlining and multifile compilation.
4.25 Restriction on overriding compiler decisions about function inlining.
4.26 Compiler modes and inline functions.
4.27 Inline functions in C++ and C90 mode.
4.28 Inline functions in C99 mode.
4.29 Inline functions and debugging.
4.30 Types of data alignment.
4.31 Advantages of natural data alignment.
4.32 Compiler storage of data objects by natural byte alignment.
4.33 Relevance of natural data alignment at compile time.
4.34 Unaligned data access in C and C++ code.
4.35 The __packed qualifier and unaligned data access in C and C++ code.
4.36 Unaligned fields in structures.
4.37 Performance penalty associated with marking whole structures as packed.
4.38 Unaligned pointers in C and C++ code.
4.39 Unaligned Load Register (LDR) instructions generated by the compiler.
4.40 Comparisons of an unpacked struct, a __packed struct, and a struct with individually __packed fields, and of a __packed struct and a #pragma packed struct.
4.41 Compiler support for floating-point arithmetic.
4.42 Default selection of hardware or software floating-point support.
4.43 Example of hardware and software support differences for floating-point arithmetic.
4.44 Vector Floating-Point (VFP) architectures.
4.45 Limitations on hardware handling of floating-point arithmetic.
4.46 Implementation of Vector Floating-Point (VFP) support code.
4.47 Compiler and library support for half-precision floating-point numbers.
4.48 Half-precision floating-point number format.
4.49 Compiler support for floating-point computations and linkage.
4.50 Types of floating-point linkage.
4.51 Compiler options for floating-point linkage and computations.
4.52 Floating-point linkage and computational requirements of compiler options.
4.53 Processors and their implicit Floating-Point Units (FPUs).
4.54 Integer division-by-zero errors in C code.
4.55 Software floating-point division-by-zero errors in C code.
4.56 About trapping software floating-point division-by-zero errors.
4.57 Identification of software floating-point division-by-zero errors.
4.58 Software floating-point division-by-zero debugging.
4.59 New language features of C99.
4.60 New library features of C99.
4.61 // comments in C99 and C90.
4.62 Compound literals in C99.
4.63 Designated initializers in C99.
4.64 Hexadecimal floating-point numbers in C99.
4.65 Flexible array members in C99.
4.66 __func__ predefined identifier in C99.
4.67 inline functions in C99.
4.68 long long data type in C99 and C90.
4.69 Macros with a variable number of arguments in C99.
4.70 Mixed declarations and statements in C99.
4.71 New block scopes for selection and iteration statements in C99.
4.72 _Pragma preprocessing operator in C99.
4.73 Restricted pointers in C99.
4.74 Additional <math.h> library functions in C99.
4.75 Complex numbers in C99.
4.76 Boolean type and <stdbool.h> in C99.
4.77 Extended integer types and functions in <inttypes.h> and <stdint.h> in C99.
4.78 <fenv.h> floating-point environment access in C99.
4.79 <stdio.h> snprintf family of functions in C99.
4.80 <tgmath.h> type-generic math macros in C99.
4.81 <wchar.h> wide character I/O functions in C99.
4.82 How to prevent uninitialized data from being initialized to zero.
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2018 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.