toggle for intrisinics (original) (raw)

gustav trede gustav.trede at gmail.com
Thu Jun 25 13:45:46 UTC 2009


Hello,

Is it from a technical standpoint possible to:

Add an -XX parameter that toggles direct intrinsics to the cpu native version of some Math methods like cos , sin without any extra (parameter range check with its fast and slow code paths).

If so i would be happy to implement it myself , with some minor initial guideline to the codebase please.

Despite breaking spec, the non exact results are good enough for many practical uses, like 3D engines etc where competitive performance with other languages is of importance.

It would be nice if such a patch could be integrated into the jdk itself so others can use it, else i will have to bundle a private compiled version with my application.

-- regards gustav trede -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20090625/c837d286/attachment.html>



More information about the core-libs-dev mailing list