This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] - fix optimizations on vector ROTATERT in combine.c
- From: Jeff Law <law at porcupine dot slc dot redhat dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: "Igor Shevlyakov" <igor at microunity dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 28 Aug 2002 11:20:36 -0600
- Subject: Re: [PATCH] - fix optimizations on vector ROTATERT in combine.c
- Reply-to: law at redhat dot com
In message <m3n0r7m5st.fsf@flamingo.sfbay.redhat.com>, Aldy Hernandez writes:
>>>>>> "Igor" == Igor Shevlyakov <igor@microunity.com> writes:
>
> > When combine.c (simplify_shift_const) converting ROTATERT to ROTATE new
> > shift count is calculated incorrectly for vector operands since each
> > element is rotated by count not whole vector as bit-stream. This patch
> > fixes it
>
>Hmmm, I didn't know we had any ports that used rotate* on SIMD
>operands. And I don't think we've even defined what a rotate on SIMD
>operands is supposed to do.
You might check the emotion engine documentation. I believe it defines
SIMD rotates as well.
jeff