This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: altivec patches
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: altivec patches
- From: Aldy Hernandez <aldyh at redhat dot com>
- Date: 07 Nov 2001 17:27:41 -0500
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>
- References: <200111072218.RAA22554@makai.watson.ibm.com>
On Wed, 2001-11-07 at 17:18, David Edelsohn wrote:
> Please apply the ROUND_TYPE_ALIGN changes to rs6000/linux64.h and
> rs6000/darwin.h as well ASAP. I did not see those files changed in the
> final version of your patch.
>
> While Apple may have overridden the ROUND_TYPE_ALIGN macro
> further, the FSF sources should not be broken with an unintended ABI
> change on Darwin.
no problem. applying this.
btw, i'm testing all the altivec changes on a spare AIX box, just in
case.
2001-11-07 Aldy Hernandez <aldyh@redhat.com>
* darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT to 64.
* linux64.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT to 64.
Index: darwin.h
===================================================================
RCS file: /cvs/uberbaum/gcc/config/rs6000/darwin.h,v
retrieving revision 1.10
diff -c -p -r1.10 darwin.h
*** darwin.h 2001/10/29 21:29:29 1.10
--- darwin.h 2001/11/07 22:22:24
*************** Boston, MA 02111-1307, USA. */
*** 211,217 ****
|| TREE_CODE (STRUCT) == QUAL_UNION_TYPE) \
&& TYPE_FIELDS (STRUCT) != 0 \
&& DECL_MODE (TYPE_FIELDS (STRUCT)) == DFmode \
! ? MAX (MAX ((COMPUTED), (SPECIFIED)), BIGGEST_ALIGNMENT) \
: MAX ((COMPUTED), (SPECIFIED)))
/* XXX: Darwin supports neither .quad, or .llong, but it also doesn't
support 64 bit powerpc either, so this just keeps things happy. */
--- 211,217 ----
|| TREE_CODE (STRUCT) == QUAL_UNION_TYPE) \
&& TYPE_FIELDS (STRUCT) != 0 \
&& DECL_MODE (TYPE_FIELDS (STRUCT)) == DFmode \
! ? MAX (MAX ((COMPUTED), (SPECIFIED)), 64) \
: MAX ((COMPUTED), (SPECIFIED)))
/* XXX: Darwin supports neither .quad, or .llong, but it also doesn't
support 64 bit powerpc either, so this just keeps things happy. */
Index: linux64.h
===================================================================
RCS file: /cvs/uberbaum/gcc/config/rs6000/linux64.h,v
retrieving revision 1.3
diff -c -p -r1.3 linux64.h
*** linux64.h 2001/08/06 22:17:09 1.3
--- linux64.h 2001/11/07 22:22:24
*************** Boston, MA 02111-1307, USA. */
*** 47,53 ****
|| TREE_CODE (STRUCT) == QUAL_UNION_TYPE) \
&& TYPE_FIELDS (STRUCT) != 0 \
&& DECL_MODE (TYPE_FIELDS (STRUCT)) == DFmode \
! ? MAX (MAX ((COMPUTED), (SPECIFIED)), BIGGEST_ALIGNMENT) \
: MAX ((COMPUTED), (SPECIFIED)))
/* Indicate that jump tables go in the text section. */
--- 47,53 ----
|| TREE_CODE (STRUCT) == QUAL_UNION_TYPE) \
&& TYPE_FIELDS (STRUCT) != 0 \
&& DECL_MODE (TYPE_FIELDS (STRUCT)) == DFmode \
! ? MAX (MAX ((COMPUTED), (SPECIFIED)), 64) \
: MAX ((COMPUTED), (SPECIFIED)))
/* Indicate that jump tables go in the text section. */