From 81e56e48484f4b9aaaf8d8fd9191e3b8c25e03e0 Mon Sep 17 00:00:00 2001 From: Leonard Chan Date: Fri, 24 Feb 2023 20:04:18 +0000 Subject: [PATCH] Add mangling for fixed point types proposed in N1169. --- abi.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/abi.html b/abi.html index b2df8ab..e2458ab 100644 --- a/abi.html +++ b/abi.html @@ -612,6 +612,13 @@

1.5 Base Documents

References herein to the "C++ Standard," or to just the "Standard," are to this document. +

+

  • [N1169] +The Programming languages - C - Extensions to support embedded processors, +ISO/IEC JTC1 SC22 WG14 N1169. +This document describes extentions to the C language for supporting embedded +processors, notabely including support for fixed point arithmetic. + @@ -5136,7 +5143,17 @@
    5.1.5.2 Builtin types
    ::= Da # auto ::= Dc # decltype(auto) ::= Dn # std::nullptr_t (i.e., decltype(nullptr)) + ::= [DS] DA # [_Sat] T _Accum + ::= [DS] DR # [_Sat] T _Fract ::= u <source-name> [<template-args>] # vendor extended type + + <fixed-point-size> + ::= s # short + ::= t # unsigned short + ::= i # plain + ::= j # unsigned + ::= l # long + ::= m # unsigned long