Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v13]

2025-04-25 Thread Vladimir Ivanov
On Fri, 25 Apr 2025 09:41:21 GMT, Jatin Bhateja wrote: >> It does look attractive, but macro expansion-based solution requires JVM to >> internalize such operations and their properties. >> >> IMO a higher-level solution based on more generic JVM primitives would >> enable libraries to proper

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v15]

2025-04-25 Thread Vladimir Ivanov
On Fri, 25 Apr 2025 05:26:35 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v15]

2025-04-25 Thread Jatin Bhateja
On Fri, 25 Apr 2025 05:26:35 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v13]

2025-04-25 Thread Jatin Bhateja
On Thu, 24 Apr 2025 23:03:09 GMT, Vladimir Ivanov wrote: >> src/hotspot/share/opto/vectorIntrinsics.cpp line 563: >> >>> 561: debug_name = >>> debug_name_oop->const_oop()->as_instance()->java_lang_String_str(buf, >>> buflen); >>> 562: } >>> 563: Node* vcall = make_runtime_call(RC_VECTO

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v14]

2025-04-24 Thread Vladimir Ivanov
On Fri, 25 Apr 2025 00:06:28 GMT, Fei Yang wrote: >> Vladimir Ivanov has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Improve comments > > src/hotspot/cpu/riscv/riscv.ad line 1947: > >> 1945: // Vector calling convention not yet implemen

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v15]

2025-04-24 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v14]

2025-04-24 Thread Fei Yang
On Thu, 24 Apr 2025 23:29:28 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v12]

2025-04-24 Thread Vladimir Ivanov
On Thu, 24 Apr 2025 11:33:43 GMT, Hamlin Li wrote: >> FTR both `VectorSupport.getMaxLaneCount()` and `CPUFeatures` don't rely on >> raw list of ISA extensions CPU supports, but only those reported by the JVM. >> So, if some feature support is disabled on JVM side, it won't be reported by >> `

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v14]

2025-04-24 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v13]

2025-04-24 Thread Vladimir Ivanov
On Thu, 24 Apr 2025 18:57:11 GMT, Jatin Bhateja wrote: >> Vladimir Ivanov has updated the pull request incrementally with one >> additional commit since the last revision: >> >> CPUFeatures: RISC-V support > > src/hotspot/share/opto/vectorIntrinsics.cpp line 563: > >> 561: debug_name =

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v13]

2025-04-24 Thread Jatin Bhateja
On Wed, 23 Apr 2025 23:54:01 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v12]

2025-04-24 Thread Hamlin Li
On Wed, 23 Apr 2025 23:55:50 GMT, Vladimir Ivanov wrote: >> Does the following check catch `UseRVV == false` case on RISC-V? >> >> public boolean isSupported(Operator op, VectorSpecies vspecies) { >> ... >> int maxLaneCount = >> VectorSupport.getMaxLaneCount(vspecies.elementType())

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v13]

2025-04-24 Thread Hamlin Li
On Wed, 23 Apr 2025 23:54:01 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v12]

2025-04-23 Thread Vladimir Ivanov
On Wed, 23 Apr 2025 18:11:42 GMT, Vladimir Ivanov wrote: >> In previous code, we use `UseRVV` to detect if rvv extension is supported. >> >> On the other hand, user can choose to disable UseRVV if they want even if >> rvv extension is supported on the running machine. In this sense, there >> c

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v10]

2025-04-23 Thread Vladimir Ivanov
On Wed, 23 Apr 2025 08:54:23 GMT, Hamlin Li wrote: >> The intention is to align `_features_string` with `_features` which >> enumerates well-known CPU capabilities JVM manages. As of now, >> `_features_string` contains more information, so I introduced >> `_cpu_info_string` to keep it. >> >>

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v13]

2025-04-23 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v12]

2025-04-23 Thread Vladimir Ivanov
On Wed, 23 Apr 2025 08:43:47 GMT, Hamlin Li wrote: >> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorMathLibrary.java >> line 288: >> >>> 286: IntFunction> >>> implSupplier, >>> 287: V v) { >>> 288: var entry = lookup(op, opc, vspe

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v10]

2025-04-23 Thread Hamlin Li
On Wed, 23 Apr 2025 00:23:46 GMT, Vladimir Ivanov wrote: >> A simple fix could be: >> >> diff --git a/src/hotspot/os_cpu/linux_riscv/vm_version_linux_riscv.cpp >> b/src/hotspot/os_cpu/linux_riscv/vm_version_linux_riscv.cpp >> index 484a2a645aa..a785dc65c9e 100644 >> --- a/src/hotspot/os_cpu/lin

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v12]

2025-04-23 Thread Hamlin Li
On Wed, 23 Apr 2025 08:40:44 GMT, Hamlin Li wrote: >> Vladimir Ivanov has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Avoid thread state transition in VectorSupport_GetCPUFeatures > > src/jdk.incubator.vector/share/classes/jdk/incubator/

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v12]

2025-04-23 Thread Hamlin Li
On Wed, 23 Apr 2025 01:02:19 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v12]

2025-04-22 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v10]

2025-04-22 Thread Vladimir Ivanov
On Fri, 18 Apr 2025 16:16:28 GMT, Jorn Vernee wrote: >> Vladimir Ivanov has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 24 additional >> commits

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v10]

2025-04-22 Thread Vladimir Ivanov
On Tue, 22 Apr 2025 14:46:21 GMT, Ludovic Henry wrote: >> Vladimir Ivanov has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 24 additional >> commi

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v10]

2025-04-22 Thread Vladimir Ivanov
On Tue, 22 Apr 2025 16:46:44 GMT, Hamlin Li wrote: >> src/hotspot/share/runtime/abstract_vm_version.cpp line 349: >> >>> 347: assert(features_offset <= cpu_info_string_len, ""); >>> 348: if (features_offset < cpu_info_string_len) { >>> 349: assert(cpu_info_string[features_offset + 0] ==

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v10]

2025-04-22 Thread Vladimir Ivanov
On Tue, 22 Apr 2025 13:45:26 GMT, Hamlin Li wrote: >> Vladimir Ivanov has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 24 additional >> commits s

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v11]

2025-04-22 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v10]

2025-04-22 Thread Hamlin Li
On Thu, 17 Apr 2025 18:03:47 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v10]

2025-04-22 Thread Hamlin Li
On Tue, 22 Apr 2025 16:34:21 GMT, Hamlin Li wrote: >> Vladimir Ivanov has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 24 additional >> commits s

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v10]

2025-04-22 Thread Ludovic Henry
On Thu, 17 Apr 2025 18:03:47 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v10]

2025-04-18 Thread Jorn Vernee
On Thu, 17 Apr 2025 18:03:47 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-18 Thread Vladimir Ivanov
On Thu, 17 Apr 2025 01:36:39 GMT, Xiaohong Gong wrote: >> How does it work now? The code in `generate_vector_math_stubs()` in >> `stubGenerator_aarch64.cpp` only populates `VEC_SIZE_SCALABLE` shapes with >> SVE versions. > > Please see the `addr` definition code in > https://github.com/openjdk

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v10]

2025-04-17 Thread Xiaohong Gong
On Thu, 17 Apr 2025 18:03:47 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-17 Thread Xiaohong Gong
On Thu, 17 Apr 2025 18:08:21 GMT, Vladimir Ivanov wrote: >> Please see the `addr` definition code in >> https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/vectorIntrinsics.cpp#L1877 >> . If queried `addr` returns `nullptr` for 256-bit vectors, and the arch >> supports scalable v

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v10]

2025-04-17 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v9]

2025-04-17 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-16 Thread Xiaohong Gong
On Wed, 16 Apr 2025 18:26:18 GMT, Vladimir Ivanov wrote: >> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorMathLibrary.java >> line 240: >> >>> 238: if (isAARCH64() && vspecies.vectorBitSize() > 128) { >>> 239: return false; // FIXME: SVE s

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v8]

2025-04-16 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v7]

2025-04-16 Thread Paul Sandoz
On Wed, 16 Apr 2025 19:29:07 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v7]

2025-04-16 Thread Paul Sandoz
On Wed, 16 Apr 2025 21:27:32 GMT, Vladimir Ivanov wrote: > Both `CPUFeatures.validateFeatures` and the checks it performs are > assertions, so it has to be explicitly enabled by `-esa`. The assert > validates some assumptions the code has about the format of features string > VM produces. And

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v7]

2025-04-16 Thread Vladimir Ivanov
On Wed, 16 Apr 2025 19:29:07 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-16 Thread Vladimir Ivanov
On Wed, 16 Apr 2025 02:11:09 GMT, Xiaohong Gong wrote: >> Vladimir Ivanov has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 19 additional >> commi

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v7]

2025-04-16 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-16 Thread Vladimir Ivanov
On Wed, 16 Apr 2025 00:25:59 GMT, Paul Sandoz wrote: >> Vladimir Ivanov has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 19 additional >> commits

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-16 Thread Vladimir Ivanov
On Wed, 16 Apr 2025 01:47:02 GMT, Xiaohong Gong wrote: >> src/hotspot/share/opto/vectorIntrinsics.cpp line 488: >> >>> 486: // V binaryOp(long address, Class vClass, Class >>> elementType, int length, >>> 487: //V v1, V v2, >>> 488: //BinaryOperation defaultImpl) >> >>

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v6]

2025-04-16 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-15 Thread Xiaohong Gong
On Fri, 11 Apr 2025 21:23:52 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-15 Thread Xiaohong Gong
On Wed, 16 Apr 2025 00:20:07 GMT, Paul Sandoz wrote: >> Vladimir Ivanov has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 19 additional >> commits

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-15 Thread Xiaohong Gong
On Tue, 15 Apr 2025 17:43:52 GMT, Vladimir Ivanov wrote: >> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorMathLibrary.java >> line 198: >> >>> 196: if (vspecies.vectorBitSize() < 128) { >>> 197: return false; // 64-bit vectors are not supported >>

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-15 Thread Paul Sandoz
On Fri, 11 Apr 2025 21:23:52 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-15 Thread Vladimir Ivanov
On Tue, 15 Apr 2025 09:29:32 GMT, Xiaohong Gong wrote: >> Vladimir Ivanov has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 19 additional >> commi

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-15 Thread Xiaohong Gong
On Fri, 11 Apr 2025 21:23:52 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still e

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v5]

2025-04-11 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v4]

2025-04-10 Thread Vladimir Kozlov
On Mon, 7 Apr 2025 23:20:05 GMT, Vladimir Ivanov wrote: >> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/CPUFeatures.java >> line 60: >> >>> 58: } >>> 59: >>> 60: public static class X64 { >> >> Should we create `src/jdk.incubator.vector/cpu/` for CPU specific >> inform

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v4]

2025-04-10 Thread Vladimir Kozlov
On Mon, 7 Apr 2025 23:32:05 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still en

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v3]

2025-04-10 Thread Vladimir Ivanov
On Mon, 7 Apr 2025 06:44:16 GMT, Per Minborg wrote: >> Vladimir Ivanov has updated the pull request incrementally with one >> additional commit since the last revision: >> >> features_string -> cpu_info_string > > src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorMathLibrary.j

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v3]

2025-04-10 Thread Vladimir Ivanov
On Mon, 7 Apr 2025 17:01:19 GMT, Vladimir Kozlov wrote: >> Vladimir Ivanov has updated the pull request incrementally with one >> additional commit since the last revision: >> >> features_string -> cpu_info_string > > src/jdk.incubator.vector/share/classes/jdk/incubator/vector/CPUFeatures.jav

Re: RFR: 8353786: Migrate Vector API math library support to FFM API

2025-04-10 Thread Chen Liang
On Fri, 4 Apr 2025 22:52:24 GMT, Vladimir Ivanov wrote: > Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v3]

2025-04-07 Thread Vladimir Ivanov
On Mon, 7 Apr 2025 17:44:33 GMT, Chen Liang wrote: >> Vladimir Ivanov has updated the pull request incrementally with one >> additional commit since the last revision: >> >> features_string -> cpu_info_string > > src/jdk.incubator.vector/share/classes/jdk/incubator/vector/CPUFeatures.java >

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v4]

2025-04-07 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v3]

2025-04-07 Thread Vladimir Ivanov
On Mon, 7 Apr 2025 23:03:03 GMT, Vladimir Ivanov wrote: >> Migrate Vector API math library (SVML and SLEEF) linkage from native code >> (in JVM) to Java FFM API. >> >> Since FFM API doesn't support vector calling conventions yet, migration >> affects only symbol lookup for now. But it still en

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v3]

2025-04-07 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API [v2]

2025-04-07 Thread Vladimir Ivanov
> Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables significant > simplifications on JVM side. > > The patc

Re: RFR: 8353786: Migrate Vector API math library support to FFM API

2025-04-07 Thread Vladimir Kozlov
On Fri, 4 Apr 2025 22:52:24 GMT, Vladimir Ivanov wrote: > Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables

Re: RFR: 8353786: Migrate Vector API math library support to FFM API

2025-04-06 Thread Per Minborg
On Fri, 4 Apr 2025 22:52:24 GMT, Vladimir Ivanov wrote: > Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables

Re: RFR: 8353786: Migrate Vector API math library support to FFM API

2025-04-04 Thread Chen Liang
On Fri, 4 Apr 2025 22:52:24 GMT, Vladimir Ivanov wrote: > Migrate Vector API math library (SVML and SLEEF) linkage from native code (in > JVM) to Java FFM API. > > Since FFM API doesn't support vector calling conventions yet, migration > affects only symbol lookup for now. But it still enables