This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to SHmedia divide patterns
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: Richard Sandiford <rsandifo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Nov 2002 16:36:23 +0000
- Subject: Re: Patch to SHmedia divide patterns
- Organization: SuperH UK Ltd.
So, question is: is gcse wrong to reuse a value from inside a libcall
block, or shouldn't the backend have created one in the first place?
Both.
* config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
into a libcall block.
(divsi3): Likewise divsi3_i4_media.
OK.
--
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658