Remove floorMod, floorDiv, div for integral types

Paul Sandoz paul.sandoz at oracle.com
Thu Mar 15 21:49:36 UTC 2018


Hi,

This patch removes the floorMod, floorDiv, div operations for integral types and places them on the helper classes.

I renamed floorMod to mod and floorDiv to div (since floorDiv and div use the same scalar operation).

It feels a little odd there not being a div operation on say IntVector but as i understand it there is no such direct vector operation to avail of.

  http://cr.openjdk.java.net/~psandoz/panama/move-mod-div/webrev/ <http://cr.openjdk.java.net/~psandoz/panama/move-mod-div/webrev/>

Paul.


More information about the panama-dev mailing list