Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #31726] [TODO] non-branching compare opcodes - JIT

13 views
Skip to first unread message

Leopold Toetsch

unread,
Sep 26, 2004, 5:40:29 AM9/26/04
to bugs-bi...@rt.perl.org
# New Ticket Created by Leopold Toetsch
# Please include the string: [perl #31726]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31726 >


The integer and number variants of these opcodes could need JIT support.

Thanks,
leo

Stephane Peiry

unread,
Oct 2, 2004, 7:31:22 AM10/2/04
to perl6-i...@perl.org

These two patches add jit support for is<compare> style ops (isgt, isge, isle,
islt, iseq, isne) on integers for the sun/sparc platform.

The jitted code follows this "pattern":

cmp %r2, %r3
b<c>,a next
mov 1, %r1
mov 0, %r1
next: ..

<c> defining the branch condition.
Thanks,
Stéphane

jit.sun4.core.jit.patch
jit.sun4.jit_emit.h.patch

Stephane Peiry

unread,
Oct 2, 2004, 7:56:22 AM10/2/04
to perl6-i...@perl.org

Sorry the previous core.jit patch for sun contained a typo. The correct
patch file is attached here again.
Thanks!
Stephane

On Sun, Sep 26, 2004 at 02:40:29AM -0700, Leopold Toetsch wrote:

jit.sun4.core.jit.patch

Leopold Toetsch

unread,
Oct 4, 2004, 8:07:29 AM10/4/04
to Stephane Peiry, perl6-i...@perl.org
Stephane Peiry <step...@modxml.org> wrote:

> These two patches add jit support for is<compare> style ops (isgt,
> isge, isle, islt, iseq, isne) on integers for the sun/sparc platform.

Thanks, applied.
leo

0 new messages