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 to SHmedia divide patterns


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


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