AArch64: Add 128-bit integer types definitions
authorAlexei Fedorov <[email protected]>
Wed, 10 Jul 2019 10:32:52 +0000 (11:32 +0100)
committerAlexei Fedorov <[email protected]>
Wed, 10 Jul 2019 11:22:58 +0000 (12:22 +0100)
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 <[email protected]>
include/lib/libc/aarch64/stdint_.h

index b99be304d583e55c08383373948d7bab8e1276ea..b17a435b08b196b323663784d93ef841532b3b21 100644 (file)
@@ -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;