Skip to Main Content Skip to Footer Navigation

Sorry, your browser is not supported. We recommend upgrading your browser. We have done our best to make all the documentation and resources available on old versions of Internet Explorer, but vector image support and the layout may not be optimal. Technical documentation is available as a PDF Download.

You copied the Doc URL to your clipboard.


Arm C Language Extensions

Document number: 101028

Date of Issue: 30/03/2019


This document specifies the Arm C Language Extensions to enable C/C++ programmers to exploit the Arm architecture with minimal restrictions on source code portability.


ACLE, ABI, C, C++, compiler, armcc, gcc, intrinsic, macro, attribute, Neon, SIMD, atomic

How to find the latest release of this specification or report a defect in it

Please check the Arm Information Center or Arm Developer Website for a later release if your copy is more than one year old.

Please report defects in this specification to arm dot acle at arm dot com.

Confidentiality status

This document is Non-Confidential.

Proprietary Notice

This document is protected by copyright and other related rights and the practice or implementation of the information contained in this document may be protected by one or more patents or pending patent applications. No part of this document may be reproduced in any form by any means without the express prior written permission of Arm. No license, express or implied, by estoppel or otherwise to any intellectual property rights is granted by this document unless specifically stated.

Your access to the information in this document is conditional upon your acceptance that you will not use or permit others to use the information for the purposes of determining whether implementations infringe any third party patents.

THIS DOCUMENT IS PROVIDED AS IS. Arm PROVIDES NO REPRESENTATIONS AND NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE WITH RESPECT TO THE DOCUMENT. For the avoidance of doubt, Arm makes no representation with respect to, and has undertaken no analysis to identify or understand the scope and content of, third party patents, copyrights, trade secrets, or other rights.

This document may include technical inaccuracies or typographical errors.


This document consists solely of commercial items. You shall be responsible for ensuring that any use, duplication or disclosure of this document complies fully with any relevant export laws and regulations to assure that this document or any portion thereof is not exported, directly or indirectly, in violation of such export laws. Use of the word partner in reference to Arm’s customers is not intended to create or refer to any partnership relationship with any other company. Arm may make changes to this document at any time and without notice.

If any of the provisions contained in these terms conflict with any of the provisions of any click through or signed written agreement covering this document with Arm, then the click through or signed written agreement prevails over and supersedes the conflicting provisions of these terms. This document may be translated into other languages for convenience, and you agree that if there is any conflict between the English version of this document and any translation, the terms of the English version of the Agreement shall prevail.

Words and logos marked with ® or ™ are registered trademarks or trademarks of Arm Limited or its affiliates in the US and/or elsewhere. All rights reserved. Other brands and names mentioned in this document may be the trademarks of their respective owners. Please follow Arm’s trademark usage guidelines at

Copyright © 2019. Arm Limited or its affiliates. All rights reserved.

Arm Limited. Company 02557590 registered in England.

110 Fulbourn Road,
England CB1 9NJ.


About this document

Change control

Change history

Issue Date By Change
A 11/11/11 AG First release
B 13/11/13 AG Version 1.1. Editorial changes. Corrections and completions to intrinsics as detailed in 3.3. Updated for C11/C++11.
C 09/05/14 TB Version 2.0. Updated for Armv8 AArch32 and AArch64.
D 24/03/16 TB Version 2.1. Updated for Armv8.1 AArch32 and AArch64.
E 02/06/17 Arm Version ACLE Q2 2017. Updated for Armv8.2-A and Armv8.3-A.
F 30/04/18 Arm Version ACLE Q2 2018. Updated for Armv8.4-A.
G 30/03/19 Arm Version ACLE Q1 2019. Updated for Armv8.5-A and MVE. Various bugfixes.
H 30/06/19 Arm Version ACLE Q2 2019. Updated for TME and more Armv8.5-A intrinsics. Various bugfixes.

Changes between ACLE Q1 2019 and ACLE Q2 2019

  • Support added for TME features.
  • Support added for rounding intrinsics from Armv8.5-A [ARMARMv85].

Changes between ACLE Q2 2018 and ACLE Q1 2019

  • Support added for features introduced in Armv8.5-A [ARMARMv85] (including the MTE extension).
  • Support added for MVE [MVE-spec] from the Armv8.1-M architecture.
  • Support added for Armv8.4-A half-precision extensions through Neon intrinsics.
  • Added feature detection macro for LSE atomic operations.
  • Added floating-point versions of intrinsics to access coprocessor registers.

Changes between ACLE Q2 2017 and ACLE Q2 2018

Most changes in ACLE Q2 2018 are updates to support features introduced in Armv8.3-A [ARMARMv83]. Support is added for the Complex addition and Complex MLA intrinsics. Armv8.4-A [ARMARMv84]. Support is added for the Dot Product intrinsics.


This document refers to the following documents.

[ARMARM]Arm, Arm Architecture Reference Manual (7-A / 7-R), Arm DDI 0406C
[ARMARMv8]Arm, Armv8-A Reference Manual (Issue A.b), Arm DDI0487A.B
[ARMARMv81]Arm, Armv8.1 Extension,
[ARMARMv82]Arm, Armv8.2 Extension,
[ARMARMv83]Arm, Armv8.3 Extension,
[ARMARMv84]Arm, Armv8.4 Extension,
[ARMARMv85](1, 2) Arm, Armv8.5 Extension,
[ARMv7M]Arm, Arm Architecture Reference Manual (7-M), Arm DDI 0403C
[BA]Arm, EABI Addenda and Errata Build Attributes, Arm IHI 0045C
[CPP11]ISO, Standard C++ (based on draft N3337), ISO/IEC 14882:2011
[C11]ISO, Standard C (based on draft N1570), ISO/IEC 9899:2011
[C99]ISO, Standard C (C99), ISO 9899:1999
[cxxabi]Itanium C++ ABI,
[G.191]ITU-T, Software Tool Library 2005 User’s Manual, T-REC-G.191-200508-I
[GCC]GNU/FSF, GNU C Compiler Collection,
[IA-64]Intel, Intel Itanium Processor-Specific ABI, 245370-003
[IEEE-FP]IEEE, IEEE Floating Point, IEEE 754-2008
[CFP15]ISO/IEC, Floating point extensions for C, ISO/IEC TS 18661-3
[MVE-spec]Arm, Arm v8-M Architecture Reference Manual, Arm DDI0553B.F
[MVE]Arm, MVE intrinsics supplement
[POSIX]IEEE / TOG, The Open Group Base Specifications, IEEE 1003.1
  1. Warren, Hacker’s Delight, pub. Addison-Wesley 2003

Terms and abbreviations

This document uses the following terms and abbreviations.

Term Meaning
AAPCS Arm Procedure Call Standard, part of the ABI, defined in [AAPCS].
ABI Arm Application Binary Interface.
ACLE Arm C Language Extensions, as defined in this document.
Advanced SIMD A 64-bit/128-bit SIMD instruction set defined as part of the Arm architecture.
build attributes Object build attributes indicating configuration, as defined in [BA].
ILP32 A 32-bit address mode where long is a 32-bit type.
LLP64 A 64-bit address mode where long is a 32-bit type.
LP64 A 64-bit address mode where long is a 64-bit type.
Neon An implementation of the Arm Advanced SIMD extensions.
SIMD Any instruction set that operates simultaneously on multiple elements of a vector data type.
Thumb The Thumb instruction set extension to Arm.
VFP The original Arm non-SIMD floating-point instruction set.
word A 32-bit quantity, in memory or a register.


The Arm C Language Extensions (ACLE) specification specifies source language extensions and implementation choices that C/C++ compilers can implement in order to allow programmers to better exploit the Arm architecture.

The extensions include:

  • Predefined macros that provide information about the functionality of the target architecture
  • Intrinsic functions
  • Attributes that can be applied to functions, data and other entities

This specification does not standardize command-line options, diagnostics or other external behavior of compilers.

The intended users of this specification are:

  • Application programmers wishing to adapt or hand-optimize applications and libraries for Arm targets
  • System programmers needing low-level access to Arm targets beyond what C/C++ provides for
  • Compiler implementors, who will implement this specification
  • Implementors of IDEs, static analysis and other similar tools who wish to deal with the C/C++ source language extensions when encountered in source code

ACLE is not a hardware abstraction layer (HAL), and does not specify a library component but it may make it easier to write a HAL or other low-level library in C rather than assembler.

Was this page helpful? Yes No