This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Disable TARGET_POWER on Darwin and PPC SVR4.
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Dale Johannesen <dalej at apple dot com>
- Date: Fri, 29 Oct 2004 12:02:32 -0400
- Subject: Re: [PATCH] Disable TARGET_POWER on Darwin and PPC SVR4.
- References: <200410291500.i9TF08D28170@makai.watson.ibm.com>
On Oct 29, 2004, at 11:00 AM, David Edelsohn wrote:
This patch converts the TARGET_POWER test to the constant 0,
disabling patterns that use the flag. This will allow genconditions to
find more constant conditions and the optimizers to short-circuit some
tests, and should speed up the compiler on those targets.
Is the Darwin patch okay with the Darwin maintainers?
Even though I am not a Darwin maintainer I think this is a great idea.
There is no reason on darwin to support the POWER as Darwin does not
run on POWER machines at all. Even though the assembler supports the
non PowerPC POWER instructions (which seems wrong), GCC should not
support going into POWER mode as if you try to run a program compiler
in POWER mode you just get an illegal instruction signal almost right