Decimal Floating Point mangling was(Fw: [cxx-abi-dev] C++0x: Mangling of rvalue reference type)s

Michael Wong michaelw at ca.ibm.com
Thu Jun 28 23:02:15 UTC 2007


I also agree.
Also I meant to add that for Decimal Floating Point, Mark and I have spoke
late last year about adding the following mangling:


     Decimal32:           "p"
     Decimal64:            "q"
     Decimal128:         "r"

Basically, we looked at the holes that remain in the one letter case and
chose this rather then multiple letters. I should also write one up for
this per Mark's instructions.


Michael Wong
XL C++ Compiler kernel Development
IBM Canada Ltd., C2/KD2/8200/MKM
8200 Warden Avenue
Markham, Ontario  L6G 1C7
W:905-413-3283 F:905-413-4839
C/C++ Compilers Support Page
http://www.ibm.com/software/awdtools/ccompilers/support/
C/C++ Feature Request Interface
http://www.ibm.com/support/docview.wss?uid=swg27005811
XL Fortran Compiler Support Page
http://www.ibm.com/software/awdtools/fortran/xlfortran/support/
XL Fortran Feature Request Interface
http://www.ibm.com/support/docview.wss?uid=swg27005812
----- Forwarded by Michael Wong/Toronto/IBM on 06/28/2007 06:59 PM -----
                                                                           
             Dennis Handly                                                 
             <dhandly at cup.hp.c                                             
             om>                                                        To 
                                       cxx-abi-dev at codesourcery.com,       
             06/28/2007 06:40          doug.gregor at gmail.com               
             PM                                                         cc 
                                                                           
                                                                   Subject 
                                       Re:  [cxx-abi-dev] C++0x: Mangling  
                                       of rvalue reference types           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




>From: "Doug Gregor" <doug.gregor at gmail.com>
>I suggest that rvalue references be mangled as 'RR' (lvalue references
>are mangled as 'R'). Since we can't have a reference-to-reference,
>there is no ambiguity.
     <type> ::= RR <type>   # rvalue reference-to

Generating this is easy.  Demangling would need a simple look ahead to
look for both.

Would using up another capital letter solve this trivial issue and save
more space?  We could use "B".  ;-)

(We do have two letter combos in TV TT TI TS and in ctor/dtor names.)




More information about the cxx-abi-dev mailing list