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: Unreviewed Patch: Use of powerpc 64bit instructions in 32bit ABI



On Friday, November 14, 2003, at 11:31 AM, Geoff Keating wrote:


David Edelsohn <dje@watson.ibm.com> writes:

	The revised patch to fix PowerPC mixed 32/64-mode by using the
mode of the elements of the PARALLEL instead of word_mode is awaiting
review:

http://gcc.gnu.org/ml/gcc-patches/2003-11/msg00167.html

Is this bit:


+         offset = used % (PARM_BOUNDARY / BITS_PER_UNIT);
+       }
+       else
+       offset = used % (PARM_BOUNDARY / BITS_PER_UNITS);

right? I don't think we have a BITS_PER_UNITS.

In defaults.h:


/* Default sizes for base C types.  If the sizes are different for
   your target, you should override these values by defining the
   appropriate symbols in your tm.h file.  */

#ifndef BITS_PER_UNIT
#define BITS_PER_UNIT 8
#endif

- Fariborz


On what platform was this patch bootstrapped, and how was it tested?


--
- Geoffrey Keating <geoffk@geoffk.org>


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