BSD Ports

graphics/libhighway 1.4.0 NetBSD

C++ library for SIMD

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
apache-2.0
Categories
graphics
Package size
994.5 KiB, 8897.8 KiB installed

Description

Highway is a C++ library for SIMD (Single Instruction, Multiple Data), i.e. applying the same operation to 'lanes'.

## Why Highway?

  • more portable (same source code) than platform-specific intrinsics,
  • works on a wider range of compilers than compiler-specific vector extensions,
  • more dependable than autovectorization,
  • easier to write/maintain than assembly language,
  • supports runtime dispatch,
  • supports variable-length vector architectures.

## Current status

Supported targets: scalar, SSE4, AVX2, AVX-512, NEON (ARMv7 and v8), WASM SIMD. Ports to RVV and SVE/SVE2 are in progress.

Install

Binary package:

pkgin install libhighway

From pkgsrc:

cd /usr/pkgsrc/graphics/libhighway && make install clean

Dependencies

Required by 1