Problems building on HP-UX 11.31/IA

Niels Möller nisse at lysator.liu.se
Mon Aug 26 06:30:08 CEST 2013


Albert Chin <gmp-bugs at mlists.thewrittenword.com> writes:

> Analyzing the failures:
>   tmp-add_n.s:188: error 4119: invalid integer constant
>     }{.mmb; nop     0
>             nop     0
>       (p15) br      1f                 <---- Changed to an 31, the
>                                              int representation,
>                                              and it worked
>             ;;

Isn't that f for "forward"? Then intended to jump to the local label
below,

>   tmp-add_n.s:199: error 4001: syntax error
>             br      .Lcj1
>     }
>     1:                                 <---- Why? Replacing this
>                                              with a `.L<label>'
>                                              works but is it the
>                                              right thing to do?

If I'm guessing correctly, replace both by a regular .L<label>.

>   tmp-add_n.s:364: error 4003: invalid explicit bundle
>     }{.mmi; ld8     r24 = [r34], 8
>             cmp.ltu p6, p0 = r28, r10
>             ld8     r14 = [r33], 8     <---- Why?
>     }{.mbb; add     r29 = r15, r25
>       (p15) br      .Lc5
>             br      .Lend
>     }

Are the instructions independent, so you can reorder them as ld8, ld8,
cmp.ltu, rather than ld8, cmp.ltu, ld8? After a quick look at these
files, putting the loads first in a bundle seems to be the usual order.

>   tmp-add_n.s:655: error 4003: invalid explicit bundle
>      {.mmi; add     r20 = 500, r33
>             add     r21 = 500, r34
>             mov     ar.lc = r35
>             ld8     r25 = [r34], 8     <---- Why?
>             ld8     r15 = [r33], 8
>             nop     0
>             ;;
>
>   tmp-add_n.s:688: error 4003: invalid explicit bundle
>     }{.mmi; add     r20 = 500, r33
>             add     r21 = 500, r34
>             add     r3 = 16, r32
>             ld8     r27 = [r34], 8     <---- Why?
>             ld8     r17 = [r33], 8
>             nop     0
>             ;;

Guessing again, maybe these ought to be split into two explicit bundles
each? Or is it possible to fit 6 instructions in a single bundle?

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.


More information about the gmp-bugs mailing list