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 rs6000] Disable some Cell microcoded instructions


On Thu, Sep 18, 2008 at 11:58 PM, Andrew Pinski
<Andrew_Pinski@playstation.sony.com> wrote:
> Hi,
>  The Cell has some instructions which are microcoded and microcoded
> instructions have a couple of effects on the performance.  First there
> is a 7 cycle bubble to fetch the opcodes from the microcoded ROM and
> also the second hardware thread has to be off while these microcoded
> instructions are executing.  These two factors together make it
> profitable to turn these microcoded instructions into non microcoded
> instructions.  This patch does just do that.  It also adds a warning
> if the instruction was emitted was a microcoded instruction.
>
> The only remaining microcoded instruction which is not emitted as a
> non microcoded instruction is the non immediate shift/rotate
> instructions.  Even though they could be, I have not done this yet.
> Since that means producing a loop or some jump table method.

Would doing this via a call to libgcc be still profitable over the microcoded
instruction?  That would at least save code-size.

Richard.


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