bad integer division library call on sh-elf target

Joern Rennecke amylaar@cygnus.co.uk
Fri Jun 2 11:21:00 GMT 2000


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.


More information about the Gcc-patches mailing list