This is the mail archive of the gcc@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: IA64 floating point division question


Steve Ellcey <sje@cup.hp.com> writes:

> y.c: In function `foo':
> y.c:9: error: unrecognizable insn:
> (insn 36 19 37 0 (parallel [
>             (set (reg:SF 351)
>                 (div:SF (const_int 1 [0x1])
>                     (reg:SF 350 [ b ])))
>             (set (scratch:BI)
>                 (unspec:BI [
>                         (reg:SF 349 [ a ])
>                         (reg:SF 350 [ b ])
>                     ] 14))
>             (use (const_int 1 [0x1]))
>         ]) -1 (nil)
>     (expr_list:REG_UNUSED (scratch:BI)
>         (expr_list:REG_UNUSED (scratch:BI)
>             (nil))))
> y.c:9: internal compiler error: in extract_insn, at recog.c:2037

I'm fairly sure that your problem is with the "*recip_approx"
instruction, which is what is supposed to match this pattern.  The
catch is, it *only* allows XFmode operands, whereas you're trying to
feed it SFmode.

I'm not sure how to fix this.  When I tried to do something similar, I
got completely stuck because I couldn't make GCC refer to the *same*
pseudo register in two different modes.

zw


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