Assembly output from JRuby 'fib'

Charles Oliver Nutter headius at headius.com
Tue May 3 14:54:16 PDT 2011


Well, that's a good question. We would want it for any operation that could overflow. I do not know about such things...someone more familiar with machine/JVM overflow and checks for it would want to flesh out details.

Perhaps something like Math.isCarry(long operand1, long operand2, long result, MathOperation op) where MathOperation is an enum of operations for which we want to detect overflow. Enums don't present any sort of barrier to intrinsification, do they?

- Charlie (mobile)

On May 3, 2011, at 15:51, Rémi Forax <forax at univ-mlv.fr> wrote:

> On 05/03/2011 10:29 PM, Charles Oliver Nutter wrote:
>> An intrinsic was my first thought as well. It would seem quite appropriate to have an operation or set of operations on java.lang.Math for example that we all could use.
>> 
>> Perhaps I should have asked this six months ago :)
>> 
>> - Charlie (mobile)
> 
> What is the API of such methods ?
> 
> Rémi
> 
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


More information about the mlvm-dev mailing list