> That looks good. I was a little surprised when I realized that the old code looked like this:
>
> ins_encode %{
> __ fcmps($src1$$FloatRegister, $src2$$FloatRegister);
>
> %}
> ins_encode( floating_cmp( dst ) );
>
> It hadn't occurred to me that that would work but apparently it does since the underlying machinery is the same.
It doesn't work. The fcmps doesn't get emitted.
Roland.
|