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]

Re: bad integer division library call on sh-elf target


In article <200006020144.KAA26109@rr.iij4u.or.jp> you wrote:
: ..
: mov     r8,r4
: jal	@r10
: mov     #100,r5
: ..

: but no one sets the value to r10.

I cannot reproduce this.

: It seems that first should be set to the insn returned by the 1st
: emit_move_insn for the loading of the symbol reference to __sdivsi3_i4
: or __sdivsi3. If not so, the invariant code motion might forget this

No, this load is not part of the libcall.

: load instruction. But I'm confused somehow about the comment -

If it does than it is broken.

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