From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Carr To: egcs@cygnus.com Subject: Re: double alignment patch for x86 Date: Sun, 17 Aug 1997 19:41:24 -0000 Message-id: <199708171940.PAA05296@jfc.> In-reply-to: double alignment patch for x86 X-SW-Source: 1997-08/0048.html SPARC has a similar problem -- the calling convention has a maximum 4 byte alignment. 8 byte alignment is desirable (and has always been -- Sun made a bad choice 10 years ago). gcc copies misaligned double arguments to aligned locations on the stack. Doing this on x86 might help performance without breaking compatibility (or it might not: on x86 there is only a cost if the dynamic value of the pointer is not aligned but SPARC requires two instructions instead of one to support possibly misaligned pointers).