public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* unrecognizable insn help
@ 2003-02-28  5:54 Tupshin Harper
  2003-02-28 15:38 ` Peter Barada
  0 siblings, 1 reply; 2+ messages in thread
From: Tupshin Harper @ 2003-02-28  5:54 UTC (permalink / raw)
  To: gcc

Are there any docs on how to interpret the call_insn that is spewed back 
as in below?

I'm not sure of a reasonable way to debug my md file.

-Tupshin

../../gcc/libgcc2.c: In function `__mulhi3':
../../gcc/libgcc2.c:365: unrecognizable insn:
(call_insn/u 26 24 27 (set (reg:SI 0 r0)
         (call (mem:SI (reg/f:SI 34) [0 S4 A32])
             (const_int 0 [0x0]))) -1 (insn_list 25 (nil))
     (expr_list:REG_EH_REGION (const_int -1 [0xffffffff])
         (nil))
     (expr_list (clobber (reg/f:SI 14 sp))
         (nil)))
../../gcc/libgcc2.c:365: Internal compiler error in extract_insn, at 
recog.c:2148

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: unrecognizable insn help
  2003-02-28  5:54 unrecognizable insn help Tupshin Harper
@ 2003-02-28 15:38 ` Peter Barada
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Barada @ 2003-02-28 15:38 UTC (permalink / raw)
  To: tupshin; +Cc: gcc


>Are there any docs on how to interpret the call_insn that is spewed back 
>as in below?
>
>I'm not sure of a reasonable way to debug my md file.
>
>-Tupshin
>
>../../gcc/libgcc2.c: In function `__mulhi3':
>../../gcc/libgcc2.c:365: unrecognizable insn:
>(call_insn/u 26 24 27 (set (reg:SI 0 r0)
>         (call (mem:SI (reg/f:SI 34) [0 S4 A32])
>             (const_int 0 [0x0]))) -1 (insn_list 25 (nil))
>     (expr_list:REG_EH_REGION (const_int -1 [0xffffffff])
>         (nil))
>     (expr_list (clobber (reg/f:SI 14 sp))
>         (nil)))

Well, this looks like RTL to call a function with the function address
located in (reg:SI 34) and returns a value in (reg:SI 0).  The
base pattern for this is usually called "call_value".  Your best bet
is to debug extract_insn/recog for this particular insn to see why it is
being rejected.

-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-28 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-28  5:54 unrecognizable insn help Tupshin Harper
2003-02-28 15:38 ` Peter Barada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).