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

Sean Perry perry at ca.ibm.com
Fri Aug 17 16:24:55 UTC 2007


Yes, the native type and the standard class are different types.

--
Sean Perry
Compiler Development
IBM Canada Lab
(905)-413-6031 (tie 969-6031), fax (905)-413-4839



                                                                           
             Dennis Handly                                                 
             <dhandly at cup.hp.c                                             
             om>                                                        To 
                                       Sean Perry/Toronto/IBM at IBMCA        
             08/17/2007 12:27                                           cc 
             AM                        cxx-abi-dev at codesourcery.com,       
                                       Michael Wong/Toronto/IBM at IBMCA,     
                                       premanand.rao at hp.com                
                                                                   Subject 
                                       Re:  Fw: [cxx-abi-dev] Decimal      
                                       Floating Point mangling was(Fw:     
                                       [cxx-abi-dev] C++0x: Mangling of    
                                       rvalue reference type)s             
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




>From: Sean Perry <perry at ca.ibm.com>
>I think we need both mangling.  We need the native type for the C
>compatibility reasons Michael mentioned.

Having both just causes conflicts.
Unless there is a different source for each??

You mention below, C for complex.  Would the difference be:
  std::complex<float>
  float complex  (possibly in an extern "C" block?)

And something similar for Decimal FP??

>The native type will be independent from the C++ class type.

Would we really want that?  I thought you can only do that if they
are exactly the same??

>We should define a mangling for the C++ class types too.  This is similar
>to the complex types.  The ABI has Cx for the C type and mangled forms
>beginning with St for the std::complex<> classes.
Sean Perry

Did anyone ever implement the C prefix type?
This would indicate that Df Dd De would make sense.

Or you could have special Sf, Sd, Se abbreviations for the Decimal FP
template class types.





More information about the cxx-abi-dev mailing list