This is the mail archive of the gcc-help@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: Compiler options for PowerPC


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



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