From c204e5f4ac15af2aad97a578e0f67dfd142970a2 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..5f12131 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, notably 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 # N1169 fixed-point [_Sat] T _Accum + ::= [DS] DR # N1169 fixed-point [_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