Skip to content

SIMD Showcase v0.4.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 01:35
· 54 commits to main since this release

Added

  • 3DNow! kernel. It is hand-written MASM using PFMUL/PFADD/PFSUB/PFCMPGT, with two FP32 pixels per MMX register, and runs on K6-2 through Phenom II. No modern CPU or emulator can execute 3DNow!, so --selftest instead checks the same instruction sequence translated one-for-one into SSE.
  • AMX in the Extensions Lab.
    • INT8 tile GEMM (TDPBSSD) and BF16 tile GEMM (TDPBF16PS) tests, using tile configuration, TILELOADD/TILESTORED and VNNI-packed B matrices.
    • They need Sapphire Rapids or newer, and haven't been run on hardware yet.
  • Glass UI.
    • Panels are frosted glass. A GPU compute blur of the fractal sits behind each one, plus vibrancy, a specular rim, soft shadows and large rounded corners.
    • New controls: iOS-style toggle switches, sliding segmented controls, thin sliders, Control Center-style panel tiles, big-number stat cards and a gradient area chart.
    • The mode list shows app-icon chips.
    • Uses Segoe UI Variable.
  • Badge effects.
    • Badges get a perspective 3D tilt (it follows the mouse in the gallery), extruded and bevelled lettering, a holographic foil sheen, sparkles, a light that runs round the rim, an accent glow and a mirror-floor reflection.
    • Engaging a mode plays a 3D flip-in with god-rays, a particle burst, shockwave rings, a letter-by-letter caption and motion trails as the badge flies to its dock.
  • Hardware cards for the detected CPU and GPU, with the same effects:
    • The CPU card is an original "delidded chip" drawing that shows the real L3/core topology. Each core lights with its thread's share of the work.
    • The GPU card shows spinning fans, PCIe fingers, an RGB strip and a compute grid that lights when a GPU mode runs. It also shows VRAM and the available APIs.
    • The cards appear in the controls panel and in a "Your hardware" section of the gallery.

Changed

  • All panels were rebuilt on the new Glass widgets (src/glass_ui.*, src/app_ui.cpp). The window layout file is now simd_showcase_v2.ini.

Self-test on the build machine:

SIMD Showcase 0.4.0 (1d3be03) self-test
CPU: AMD EPYC 7763 64-Core Processor (AuthenticAMD)
AVX10 version 0, 512-bit 0, OS AVX-512 state 0

Scalar       ILPx1    103.79 ms    0.000% pixels differ   OK
Scalar       ILPx2     61.03 ms    0.000% pixels differ   OK
Scalar       ILPx4     56.08 ms    0.000% pixels differ   OK
MMX          ILPx1     86.40 ms    3.159% pixels differ   OK
MMX          ILPx2     97.82 ms    3.159% pixels differ   OK
MMX          ILPx4     89.94 ms    3.159% pixels differ   OK
3DNow!       skipped (not supported)
SSE          ILPx1     28.02 ms    0.344% pixels differ   OK
SSE          ILPx2     16.00 ms    0.344% pixels differ   OK
SSE          ILPx4     20.75 ms    0.344% pixels differ   OK
SSE2         ILPx1     53.03 ms    0.001% pixels differ   OK
SSE2         ILPx2     30.08 ms    0.001% pixels differ   OK
SSE2         ILPx4     38.73 ms    0.001% pixels differ   OK
SSE3         ILPx1    143.19 ms    0.000% pixels differ   OK
SSE3         ILPx2     85.47 ms    0.000% pixels differ   OK
SSE3         ILPx4     74.79 ms    0.000% pixels differ   OK
SSE4.1       ILPx1     58.67 ms    0.001% pixels differ   OK
SSE4.1       ILPx2     34.15 ms    0.001% pixels differ   OK
SSE4.1       ILPx4     37.28 ms    0.001% pixels differ   OK
AVX          ILPx1     27.80 ms    0.001% pixels differ   OK
AVX          ILPx2     15.88 ms    0.001% pixels differ   OK
AVX          ILPx4     15.81 ms    0.001% pixels differ   OK
FMA4         skipped (not supported)
AVX2         ILPx1     26.90 ms    0.005% pixels differ   OK
AVX2         ILPx2     14.78 ms    0.005% pixels differ   OK
AVX2         ILPx4     17.79 ms    0.005% pixels differ   OK
AVX-512/256  skipped (not supported)
AVX-512      skipped (not supported)
AVX10.1      skipped (not supported)
AVX10.2      skipped (not supported)
3DNow! logic (SSE stand-in)           0.056% pixels differ vs FP32   OK

D3D12 FP32     76.041 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D12 FP64    170.553 ms    0.000% pixels differ   OK   [Microsoft Basic Render Driver]
CUDA         skipped (No NVIDIA driver (nvcuda.dll not found))

Extensions Lab
  POPCNT       Popcount                 0.385 ms ->     0.083 ms  (  4.61x)  OK
  LZCNT        Leading zeros            1.634 ms ->     0.084 ms  ( 19.44x)  OK
  BMI1         Bit iteration            6.252 ms ->     1.640 ms  (  3.81x)  OK
  BMI2         Morton codes             0.281 ms ->     0.266 ms  (  1.05x)  OK
  ADX + MULX   Bignum multiply          0.228 ms ->     0.187 ms  (  1.22x)  OK
  MOVBE        Big-endian load          0.233 ms ->     0.043 ms  (  5.43x)  OK
  SSE4.2       CRC-32C                  2.615 ms ->     0.123 ms  ( 21.25x)  OK
  SSE4a        Bit-field extract        0.022 ms ->     0.087 ms  (  0.26x)  OK
  XOP          Vector rotate        skipped
  PCLMULQDQ    Carry-less multiply      3.720 ms ->     0.029 ms  (126.18x)  OK
  AES-NI       AES-128                  1.918 ms ->     0.015 ms  (128.71x)  OK
  SHA          SHA-256                  1.096 ms ->     0.200 ms  (  5.49x)  OK
  F16C         Half floats              3.766 ms ->     0.073 ms  ( 51.71x)  OK
  RDRAND       Hardware RNG             0.061 ms ->     0.861 ms  (  0.07x)  OK
  RDSEED       Entropy source           0.008 ms ->     3.675 ms  (  0.00x)  OK
  VAES         Wide AES                 0.030 ms ->     0.017 ms  (  1.77x)  OK
  VPCLMULQDQ   Wide CLMUL               0.019 ms ->     0.018 ms  (  1.06x)  OK
  GFNI         Bit reverse          skipped
  AVX-VNNI     Int8 dot product     skipped
  AVX512-VNNI  Int8 dot product     skipped
  AVX512-BF16  BF16 dot product     skipped
  AVX512-FP16  FP16 arithmetic      skipped
  VPOPCNTDQ    Vector popcount      skipped
  BITALG       Byte popcount        skipped
  AVX-512F     Stream compaction    skipped
  AVX-512CD    Conflict detection   skipped
  AVX512-IFMA  52-bit MAC           skipped
  AVX512-VBMI  Byte permute         skipped
  AMX-INT8     Int8 tile GEMM       skipped
  AMX-BF16     BF16 tile GEMM       skipped

SELFTEST PASSED