This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compiler options for PowerPC
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Jakob Lechner <jakob dot lechner at student dot tuwien dot ac dot at>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 31 Jul 2007 17:58:51 +0200
- Subject: Re: Compiler options for PowerPC
- References: <20070731165658.vo0ab6cok4c0k0kc@webmail.tuwien.ac.at>
This "clrlwi" instruction belongs to some extended mnemonics of the
PowerPC ISA and it seems that the simulator I'm using doesn't support
these instructions.
Extended mnemonics compile to the same opcodes as some basic
mnemonic does.
If your simulator doesn't support the actual instruction, rlwinm
in this case, you better get it fixed. There is no way to tell
GCC not to use this insn, just like you cannot tell it not to
use the "add" insns -- it's a very very basic instruction and it
is a required instruction in the PowerPC architecture.
Segher