[PATCH] AAPCS-VFP: double and long double have the same machine type

Oliver Stannard oliver.stannard at arm.com
Wed Feb 5 09:23:02 PST 2014


Whoops, I had meant to remove that. Updated patch attached.

 

Oliver

 

From: Renato Golin [mailto:renato.golin at linaro.org] 
Sent: 05 February 2014 16:17
To: Oliver Stannard
Cc: Clang Commits
Subject: Re: [PATCH] AAPCS-VFP: double and long double have the same machine
type

 

On 5 February 2014 14:25, Oliver Stannard <oliver.stannard at arm.com> wrote:

In the AAPCS, for the purposes of deciding if a struct is a homogeneous
floating-point aggregate, two fundamental types are considered the same if
their machine types are the same. The `double' and `long double' C types
have the same machine type in the 32-bit version of the ABI.

 

Hi Oliver,

 

Shouldn't getTypeSize() return the same value for both?

 

--renato 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140205/235de90b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hfa-long-double-2.patch
Type: application/octet-stream
Size: 1890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140205/235de90b/attachment.obj>


More information about the cfe-commits mailing list