John Platts

Results 13 comments of John Platts

I have ported over the [x86_128-inl.h](https://github.com/johnplatts/highway_ppc_port/blob/master/hwy/ops/x86_128-inl.h) header over to Altivec/VSX, and the changes needed to support Altivec/VSX can be found in the https://github.com/johnplatts/highway_ppc_port repository. The [ppc_altivec-inl.h](https://github.com/johnplatts/highway_ppc_port/blob/master/hwy/ops/ppc_altivec-inl.h) contains the implementation of...

> Ah, that's a clever implementation, thanks for sharing :) We'd be happy to add those saturated adds if you or anyone else has a use case planned? A use...

I have created a branch at https://github.com/johnplatts/FlatLaf_Win32_Native_Fix/tree/flatlaf_win32_native_fix that includes fixes to flatlaf-natives/flatlaf-natives-windows/src/main/cpp/ to fix the issues surrounding memory allocation failures and overflow in HWNDMap::ensureCapacity.

@jan-wassenberg I have been using qemu 6.2.0, qemu 7.2.0, and Ubuntu 22.04 on x86-64 to develop the port of Google Highway to PPC. Here is how to set up a...

> Hi, > > I would like to propose the addition of complex arithmetic instructions to highway. This would allow us to take advantage of the SVE complex arithmetic instructions...

> Thanks @johnplatts for pointing out that we can already target svcadd with existing (Mul)AddSub. I have re-implemented AddSub and MulAddSub on SVE using svcadd in pull request #2054.

> hm. It seems that the CMLA instruction is 'exotic' in the sense that other ISAs do not provide such an instruction. Do you have any suggestion on how we...

Here is an example of a project that allows Google Highway to be used in a header-only manner if compiling for a single HWY_TARGET: https://github.com/johnplatts/simdhwyhash The [CMakeLists.txt](https://github.com/johnplatts/simdhwyhash/blob/4f2f052d1896caa49331391fb4baa638f547a884/CMakeLists.txt) file in [simdhwyhash](https://github.com/johnplatts/simdhwyhash)...

Here is a function that can detect if an optional CPU feature is present on MacOS/iOS/iPad: ``` static HWY_INLINE bool HasCpuFeature(const char* feature_name) { int result = 0; size_t len...

AVX3/AVX3_DL target detection also should be updated for x86_64 on MacOS as (a) XGETBV might fail to report support for ZMM vectors and AVX3 mask registers on MacOS (even in...