Issue 13 in jitasm: Expression not evaluating properly.

3 views
Skip to first unread message

jit...@googlecode.com

unread,
Dec 7, 2012, 8:47:25 AM12/7/12
to jitasm...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 13 by mar...@printone.co.uk: Expression not evaluating properly.
http://code.google.com/p/jitasm/issues/detail?id=13

If( eax < 0 );

Error:

Uses JumpCondition JCC_B (unsigned jmp)

Should be JCC_L (singed jmp)?

Looks like it's not actually implemented yet. However it is a problem for
those not verifying output and expect the right behavior.


jit...@googlecode.com

unread,
Dec 10, 2012, 1:39:24 AM12/10/12
to jitasm...@googlegroups.com

Comment #2 on issue 13 by aki.yamasaki: Expression not evaluating properly.
http://code.google.com/p/jitasm/issues/detail?id=13

Current implementation is supposed to use unsigned comparison because we
cannot know that 'eax' is signed or unsigned. We have to consider new
conditional statements which can specify signed or unsigned obviously.

jit...@googlecode.com

unread,
Dec 10, 2012, 9:28:38 AM12/10/12
to jitasm...@googlegroups.com

Comment #3 on issue 13 by mar...@printone.co.uk: Expression not evaluating
properly.
http://code.google.com/p/jitasm/issues/detail?id=13

You can use template specialization can you not and enforce people to use a
class for the rhs argument? Just a thought :)

jit...@googlecode.com

unread,
Dec 8, 2012, 1:42:08 AM12/8/12
to jitasm...@googlegroups.com
Updates:
Owner: hikaruk...@gmail.com

Comment #1 on issue 13 by aki.yamasaki: Expression not evaluating properly.
http://code.google.com/p/jitasm/issues/detail?id=13

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages