Closed Bug 1867339 Opened 2 years ago Closed 2 years ago

Update xsimd to new version 12.1.0 from 2023-11-29 14:34:39

Categories

(Toolkit :: General, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: update-bot, Assigned: sergesanspaille)

References

Details

(Whiteboard: [3pl-filed][task_id: ceTHYJgEQbKnPdI7WxkFYA])

Attachments

(1 file, 1 obsolete file)

This update covers 22 commits. Here are the overall diff statistics, and then the commit information.


third_party/xsimd/Changelog.rst | 17 +
third_party/xsimd/include/xsimd/arch/generic/xsimd_generic_math.hpp | 8 +-
third_party/xsimd/include/xsimd/arch/generic/xsimd_generic_memory.hpp | 55 +
third_party/xsimd/include/xsimd/arch/xsimd_avx512f.hpp | 64 +
third_party/xsimd/include/xsimd/arch/xsimd_constants.hpp | 9 +-
third_party/xsimd/include/xsimd/arch/xsimd_isa.hpp | 4 +
third_party/xsimd/include/xsimd/arch/xsimd_rvv.hpp | 1485 ++++++++++
third_party/xsimd/include/xsimd/config/xsimd_arch.hpp | 5 +-
third_party/xsimd/include/xsimd/config/xsimd_config.hpp | 19 +-
third_party/xsimd/include/xsimd/config/xsimd_cpuid.hpp | 15 +-
third_party/xsimd/include/xsimd/types/xsimd_all_registers.hpp | 2 +
third_party/xsimd/include/xsimd/types/xsimd_api.hpp | 26 +
third_party/xsimd/include/xsimd/types/xsimd_avx512f_register.hpp | 1 -
third_party/xsimd/include/xsimd/types/xsimd_avx_register.hpp | 1 -
third_party/xsimd/include/xsimd/types/xsimd_batch.hpp | 1 +
third_party/xsimd/include/xsimd/types/xsimd_generic_arch.hpp | 2 +-
third_party/xsimd/include/xsimd/types/xsimd_rvv_register.hpp | 417 ++
third_party/xsimd/include/xsimd/types/xsimd_sse2_register.hpp | 1 -
third_party/xsimd/include/xsimd/types/xsimd_wasm_register.hpp | 1 -
third_party/xsimd/moz.yaml | 4 +-
20 files changed, 2118 insertions(+), 19 deletions(-)


a44581a8d0832857713747b86ca6a72911c5e8a9 by Johan Mabille

https://github.com/QuantStack/xsimd/commit/a44581a8d0832857713747b86ca6a72911c5e8a9
Authored: 2023-11-29 14:34:39 +0100
Committed: 2023-11-29 14:34:39 +0100

Release 12.0.0

Files Modified:

  • Changelog.rst
  • include/xsimd/config/xsimd_config.hpp

7a275ba56b33d128104cab48eb988cf11e10933b by serge-sans-paille

https://github.com/QuantStack/xsimd/commit/7a275ba56b33d128104cab48eb988cf11e10933b
Authored: 2023-11-21 23:56:14 +0100
Committed: 2023-11-29 08:56:43 +0000

Generic, simple implementation fox xsimd::expand

Also provide a specialization for avx512f.

Related to #975

Files Modified:

  • include/xsimd/arch/generic/xsimd_generic_memory.hpp
  • include/xsimd/arch/xsimd_avx512f.hpp
  • include/xsimd/types/xsimd_api.hpp
  • test/test_shuffle.cpp

d21e8a10202f63aa0d5fa940250f5c844c0c2a7f by serge-sans-paille

https://github.com/QuantStack/xsimd/commit/d21e8a10202f63aa0d5fa940250f5c844c0c2a7f
Authored: 2023-11-22 15:23:12 +0100
Committed: 2023-11-29 08:56:43 +0000

Remove duplicate doc entry for xsimd::insert

Files Modified:

  • docs/source/api/data_transfer.rst

d94d7dd21b72e5760294938f88521e64d120f5f5 by serge-sans-paille

https://github.com/QuantStack/xsimd/commit/d94d7dd21b72e5760294938f88521e64d120f5f5
Authored: 2023-11-28 22:08:42 +0000
Committed: 2023-11-28 22:08:42 +0000

Generic, simple implementation fox xsimd::compress (#981)

  • Generic, simple implementation fox xsimd::compress

Related to #975

  • fixup! Generic, simple implementation fox xsimd::compress

  • fixup! Generic, simple implementation fox xsimd::compress

Files Modified:

  • docs/source/api/data_transfer.rst
  • include/xsimd/arch/generic/xsimd_generic_memory.hpp
  • include/xsimd/arch/xsimd_avx512f.hpp
  • include/xsimd/types/xsimd_api.hpp
  • test/test_shuffle.cpp

dc9fbff27a0b495f2ddf0509838e7f516a65b5e1 by Ludovic Henry

https://github.com/QuantStack/xsimd/commit/dc9fbff27a0b495f2ddf0509838e7f516a65b5e1
Authored: 2023-11-27 15:23:38 +0000
Committed: 2023-11-27 15:30:40 +0000

clang-format

Files Modified:

  • include/xsimd/arch/xsimd_rvv.hpp
  • include/xsimd/config/xsimd_config.hpp
  • include/xsimd/config/xsimd_cpuid.hpp
  • include/xsimd/types/xsimd_generic_arch.hpp
  • include/xsimd/types/xsimd_rvv_register.hpp

15cf8954dc4702803031426fcb61153b3d42a0a6 by Ludovic Henry

https://github.com/QuantStack/xsimd/commit/15cf8954dc4702803031426fcb61153b3d42a0a6
Authored: 2023-11-27 15:07:00 +0000
Committed: 2023-11-27 15:07:00 +0000

fixup! review

Files Modified:

  • include/xsimd/types/xsimd_rvv_register.hpp

22e68e7e507223b640c2a4e12ce88ea2d246fbcc by Ludovic Henry

https://github.com/QuantStack/xsimd/commit/22e68e7e507223b640c2a4e12ce88ea2d246fbcc
Authored: 2023-11-27 14:57:00 +0000
Committed: 2023-11-27 14:57:00 +0000

review

Files Modified:

  • include/xsimd/arch/xsimd_rvv.hpp
  • include/xsimd/config/xsimd_cpuid.hpp
  • include/xsimd/types/xsimd_generic_arch.hpp
  • include/xsimd/types/xsimd_rvv_register.hpp

6fb60f21cb8369b7472ee8f5fe602e4803038b6e by Ludovic Henry

https://github.com/QuantStack/xsimd/commit/6fb60f21cb8369b7472ee8f5fe602e4803038b6e
Authored: 2023-11-27 14:21:39 +0000
Committed: 2023-11-27 14:21:39 +0000

Propagate lmul value

Files Modified:

  • include/xsimd/arch/xsimd_rvv.hpp

f8240ae1000fd2cb6f7daab89846ae42504845c9 by Ludovic Henry

https://github.com/QuantStack/xsimd/commit/f8240ae1000fd2cb6f7daab89846ae42504845c9
Authored: 2023-11-27 14:03:04 +0000
Committed: 2023-11-27 14:03:04 +0000

review

Files Modified:

  • include/xsimd/arch/xsimd_rvv.hpp
  • include/xsimd/types/xsimd_rvv_register.hpp

f7b7dc62f7e921a9ab958d486a5d03a2bf97f2a4 by Ludovic Henry

https://github.com/QuantStack/xsimd/commit/f7b7dc62f7e921a9ab958d486a5d03a2bf97f2a4
Authored: 2023-11-27 11:12:07 +0000
Committed: 2023-11-27 12:50:00 +0000

Fix rounding mode

Files Modified:

  • include/xsimd/arch/xsimd_rvv.hpp

72adc237828a4be91276d3edd090889a613dfa2e by Maxime COUTANT

https://github.com/QuantStack/xsimd/commit/72adc237828a4be91276d3edd090889a613dfa2e
Authored: 2023-11-24 19:24:26 +0100
Committed: 2023-11-24 19:24:26 +0100

Fixed typo in comment

Files Modified:

  • include/xsimd/arch/xsimd_constants.hpp

4b482fd02de535601995b51e01a1b5d7cc8c23c6 by Maxime COUTANT

https://github.com/QuantStack/xsimd/commit/4b482fd02de535601995b51e01a1b5d7cc8c23c6
Authored: 2023-11-24 19:08:21 +0100
Committed: 2023-11-24 19:08:21 +0100

Removed unused minuszero constant

Files Modified:

  • include/xsimd/arch/xsimd_constants.hpp

fdd5cad96999cbc8cb97e6e2729ba124494ae34c by Maxime COUTANT

https://github.com/QuantStack/xsimd/commit/fdd5cad96999cbc8cb97e6e2729ba124494ae34c
Authored: 2023-11-24 15:21:19 +0100
Committed: 2023-11-24 15:21:19 +0100

Removed useless #include

Files Modified:

  • include/xsimd/arch/generic/xsimd_generic_math.hpp

085a73215b5315472e3527216c66fef58faac10b by Maxime COUTANT

https://github.com/QuantStack/xsimd/commit/085a73215b5315472e3527216c66fef58faac10b
Authored: 2023-11-24 14:38:19 +0100
Committed: 2023-11-24 14:38:19 +0100

Fixed signmask by disabling no-signed-zeros and stopped using minuszero

Files Modified:

  • include/xsimd/arch/generic/xsimd_generic_math.hpp
  • include/xsimd/arch/xsimd_constants.hpp

884b1f52da68b47b52069816df11f6b05f2efbda by Simon Hosie

https://github.com/QuantStack/xsimd/commit/884b1f52da68b47b52069816df11f6b05f2efbda
Authored: 2023-11-15 12:04:43 +0000
Committed: 2023-11-24 10:35:18 +0000

Add RISC-V Vector support.

Co-authored-by: Ludovic Henry <git@ludovic.dev>

Files Added:

  • .github/toolchains/clang-riscv64-linux-gnu.cmake
  • .github/toolchains/gcc-riscv64-linux-gnu.cmake
  • .github/workflows/cross-rvv.yml
  • include/xsimd/arch/xsimd_rvv.hpp
  • include/xsimd/types/xsimd_rvv_register.hpp

Files Modified:

  • CMakeLists.txt
  • docs/Doxyfile
  • include/xsimd/arch/xsimd_isa.hpp
  • include/xsimd/config/xsimd_arch.hpp
  • include/xsimd/config/xsimd_config.hpp
  • include/xsimd/config/xsimd_cpuid.hpp
  • include/xsimd/types/xsimd_all_registers.hpp
  • test/test_arch.cpp

d303f97d860c41f57ef2d72cdddabeaddf8d1c59 by Maxime COUTANT

https://github.com/QuantStack/xsimd/commit/d303f97d860c41f57ef2d72cdddabeaddf8d1c59
Authored: 2023-11-23 18:02:41 +0100
Committed: 2023-11-23 18:02:41 +0100

Fixed bitsign under ffast-math

Files Modified:

  • include/xsimd/arch/generic/xsimd_generic_math.hpp

e7edad89a6834d97317bc67ac8d06b134cbaed52 by Drew Smith

https://github.com/QuantStack/xsimd/commit/e7edad89a6834d97317bc67ac8d06b134cbaed52
Authored: 2023-11-19 11:52:36 -0500
Committed: 2023-11-21 22:57:52 +0000

Fix grammar in basic_usage.rst

Made the warning message clearer

Files Modified:

  • docs/source/basic_usage.rst

35bcf39ab433039762bd5c4b43350200bff3ffe1 by Johan Mabille

https://github.com/QuantStack/xsimd/commit/35bcf39ab433039762bd5c4b43350200bff3ffe1
Authored: 2023-11-14 10:41:15 +0100
Committed: 2023-11-14 10:41:15 +0100

Upgraded minimal version of cmake to remove deprecation warning

Files Modified:

  • CMakeLists.txt
  • test/CMakeLists.txt

ead311fda435d7401c2ad5b34985a032515a945b by serge-sans-paille

https://github.com/QuantStack/xsimd/commit/ead311fda435d7401c2ad5b34985a032515a945b
Authored: 2023-11-12 22:42:54 +0100
Committed: 2023-11-12 23:01:36 +0100

Disable batch of bools, and suggest using batch_bool instead

It was only supported on Intel architectures and wasm, for no clear
reason. Provide a unified experience by enforcing batch_bool instead. If
someone really wants a batch of bool, then use another type to store it,
e.g. uint8_t.

Fix #945

Files Modified:

  • include/xsimd/types/xsimd_avx512f_register.hpp
  • include/xsimd/types/xsimd_avx_register.hpp
  • include/xsimd/types/xsimd_batch.hpp
  • include/xsimd/types/xsimd_sse2_register.hpp
  • include/xsimd/types/xsimd_wasm_register.hpp

127872f538fe2525f25f8aec432dcd856b8c6518 by ToKiNoBug

https://github.com/QuantStack/xsimd/commit/127872f538fe2525f25f8aec432dcd856b8c6518
Authored: 2023-11-12 22:58:18 +0800
Committed: 2023-11-12 22:58:18 +0800

Add an option to skip installation

Signed-off-by: ToKiNoBug <tokinobug@163.com>

Files Modified:

  • CMakeLists.txt

7b3982bea58de1c6eb8f8d6888179896a5c7f982 by ToKiNoBug

https://github.com/QuantStack/xsimd/commit/7b3982bea58de1c6eb8f8d6888179896a5c7f982
Authored: 2023-11-12 22:43:34 +0800
Committed: 2023-11-12 22:43:34 +0800

ignore IDEA files

Signed-off-by: ToKiNoBug <tokinobug@163.com>

Files Modified:

  • .gitignore

c3f7bddb625ebb30f0fc91ec14b752f0be020084 by serge-sans-paille

https://github.com/QuantStack/xsimd/commit/c3f7bddb625ebb30f0fc91ec14b752f0be020084
Authored: 2023-11-08 22:28:29 +0100
Committed: 2023-11-09 21:06:29 +0100

Remove wasm by pass for sincos

I've double-checked and there is absolutely no difference between
calling sin then cos or just sincos. They perform the exact same
operation.

Files Modified:

  • include/xsimd/arch/generic/xsimd_generic_math.hpp

Attached file Bug 1867339 - Update xsimd to 12.0.0 (obsolete) —

It looks like we experienced one or more build failures when trying to apply this
update. You will need to apply this update manually; you can replicate the patch
locally with ./mach vendor third_party/xsimd/moz.yaml. I'm going to abandon the Phabricator patch and
let you submit a new one.

If the build failure wasn't caused by a library change, and was instead caused by
something structural in the build system please let my maintainers know in
Slack:#secinf.

I do my best to automatically add new files to the build, but some moz.build files
are complicated and you may need to fix them manually.

Flags: needinfo?(padenot)
Attachment #9366130 - Attachment is obsolete: true
Assignee: nobody → sguelton
Summary: Update xsimd to new version 12.0.0 from 2023-11-29 14:34:39 → Update xsimd to new version 12.1.0 from 2023-11-29 14:34:39

This most notably introduces support for avx vnni that's going to be
useful to improve gemmology performances.

Attachment #9367587 - Attachment description: Bug 1867339 - Update xsimd to 12.1.0 r=padenot → Bug 1867339 - Update xsimd to 12.1.1 r=padenot
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
Flags: needinfo?(padenot)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: