This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix RETURN_IN_MEMORY for x86 Solaris


On Wed, Apr 25, 2007 at 07:55:05PM +0100, Richard Sandiford wrote:
> But the old definition is checking TYPE_MODE, not type_natural_mode,
> whereas the new definition is checking type_natural_mode.  AIUI,
> you won't get an 8-byte vector TYPE_MODE if !TARGET_MMX.

You're right, though that surely was also a mistake.

I'm sure the native solaris compiler won't compile the
Intel __m64 datatype without mmx enabled, so it's not
like we could actually test to see if __m64 got returned
in integer registers.

Left as-is it means we'd change the ABI if we changed
ix86_vector_mode_supported_p to implement 64-bit vector
operations in the SSE unit.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]