diff options
author | Alexei Fedorov <Alexei.Fedorov@arm.com> | 2019-07-10 11:32:52 +0100 |
---|---|---|
committer | Alexei Fedorov <Alexei.Fedorov@arm.com> | 2019-07-10 12:22:58 +0100 |
commit | 394fa5d499fdfc1a0ddcaa3f2640cf5c49c25b63 (patch) | |
tree | ba10c69003b2cc86d9363e07c0dbf85d82b388ab /include/lib | |
parent | 21bde92ff6d20ef2d3a2651fd729a1579232313b (diff) |
AArch64: Add 128-bit integer types definitions
This patch adds 128-bit integer types int128_t and uint128_t
for "__int128" and "unsigned __int128" supported by GCC and
Clang for AArch64.
Change-Id: I0e646d026a5c12a09fd2c71dc502082052256a94
Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Diffstat (limited to 'include/lib')
-rw-r--r-- | include/lib/libc/aarch64/stdint_.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/lib/libc/aarch64/stdint_.h b/include/lib/libc/aarch64/stdint_.h index b99be304..b17a435b 100644 --- a/include/lib/libc/aarch64/stdint_.h +++ b/include/lib/libc/aarch64/stdint_.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -116,3 +116,6 @@ typedef unsigned long uintmax_t; typedef long register_t; typedef unsigned long u_register_t; + +typedef __int128 int128_t; +typedef unsigned __int128 uint128_t; |