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] Disable TARGET_POWER on Darwin and PPC SVR4.



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
away.

Thanks,
Andrew Pinski


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