Possible API for vector operations: did you seen ForwardCompatible Arhitecture?
Lev Serebryakov
lev at serebryakov.spb.ru
Thu Sep 15 14:41:57 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I've watched Ian Graves' talk
(https://www.youtube.com/watch?v=Z2XgO1H6xPM) about all these problems
how to express vector operations in Java platform-agnostic (different
length of vectors, for example).
And one thing jump to my mind: here is proposal of new ISA from Agner
Fog (very well-known expert at x86 platform and all x86
implementations). And this ISA has very elegant solution for forward-
and backward- compatible vector operations, where native vector length
could be different from chip to chip, but same binary code will use
given vector unit effectively without additional branches, checks, etc.
I don't say, that Java Vector API should mimic some "hardware"
architecture, but this idea about abstracting-out vector length is
very elegant and could be useful.
Latest version of ISA:
http://www.agner.org/optimize/instructionset.pdf, looks at paragraphs
2.4-2.6
- --
// Black Lion AKA Lev Serebryakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQJ8BAEBCgBmBQJX2rM1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePFwUQAIPbdBQkFvi7v0SV8jlwOGM+
24f4zn7HoxseuUaYkcGKs+oCAND8JsRCorswd0o9GI/uVQyXFB8FI9qHWaFzoJ11
guFwXsVySX2NVTx+/6Bg2DMaZDPoxLGOr8zP1s2MvjJy4M4IhB/+bp2O7CDVGOTX
CN2innAcPqC32XqXAO8t9nHtKlihuqKwZ0GAdMB02vWuoEsgarZyd59DE5Q5IgTT
KoP2iiqhfEcMRj2zOs9Iqe/MF8KCeDAyUV2InwiJ3ul4g/o+TMbjiGNHl0W6wpg2
iLHnhW5jGOG92237SwoXAkt2PE9aViXBRjjCSLkLnudFIk23HXNotg6gw2VgYExb
UdKlieVJhno9BHEq/hi0WXgnb9P7Ri6VrBoelkRjR7sSNuf6qFWmztEH0n++s/ls
b8wmAePb7JVQ1DbOSYOg4QxBwE7kMFUNhIRDJan6lYNljANzwNVlRNyzFdbnjb3a
lEyqkfDrSPuDYLQIWmxm9dKBg/Q0rc3NNV79lRCCRu5e/EnVMjF5K8WEDQn2XKtN
I1dEFlzOBJ3fZ7/wt5tI/GbQRtzOuQrMBG+dK08k2y6Fg5WgaXFAUjOCGqVVfbyS
XClRaegPnAMKo1+wSYHzXhtrHK1OpNbzgmt8DjaevmtXrBa7eDBGPjn9H8ZM50qQ
tBQpP4PHng9qYul+MbzJ
=ihHI
-----END PGP SIGNATURE-----
More information about the panama-dev
mailing list