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: PATCH: Darwin-specific 1-liners (2)


Dale Johannesen wrote:
> 
> Set BRANCH_COST to 1, which better reflects the hardware docs
>    and is an empirical improvement.

Let's leave this one in Apple sources only for now;  I think we
ought to understand better when it wins and when it doesn't.

> Set STACK_BOUNDARY to 128, to support Altivec.

We have another local patch that forces TARGET_ALTIVEC_ABI to be
always true for Darwin, so we can use the rs6000.h definition
of STACK_BOUNDARY instead now.  Feel free to upbraid me for not
having installed this patch already...

> Set MAX_LONG_TYPE_SIZE to 32, for compile time speed and
>    space improvement.

This one is OK.

> + /* Get HOST_WIDE_INT and CONST_INT to be 32 bits, for compile time
> +    space/speed. */

Don't forget the all-important two spaces after the period. :-)

Stan


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