xsimd Logo

INSTALLATION

  • Installation
    • Getting the library
      • Using the conda-forge Package
      • Using the Spack Package
      • From Source with cmake
    • Using the library inside CMake
  • Build Options
    • Changing Default Architecture
    • Enabling emulated architecture
    • Enabling complex support with xtl

USAGE

  • Basic Usage
    • Manipulating Abstract Batches
    • Manipulating Parametric Batches
    • Explicit Use of an Instruction Set Extension
  • Writing Vectorized Code
    • Explicit Use of an Instruction Set
    • Aligned vs Unaligned Memory
    • Memory Alignment and Tag Dispatching
    • Writing Arch-Independent Code
    • Breaking out of xsimd
  • Integration
    • When Targeting a Single Architecture
    • When Targeting Multiple Architectures
  • Try it online

API REFERENCE

  • Instruction Set Macros
  • Batch Types
    • Batch of Scalars
      • batch
        • batch::value_type
        • batch::arch_type
        • batch::register_type
        • batch::batch_bool_type
        • batch::batch()
        • batch::batch()
        • batch::batch()
        • batch::batch()
        • batch::batch()
        • batch::to_native()
        • batch::store_aligned()
        • batch::store_unaligned()
        • batch::store()
        • batch::store()
        • batch::store()
        • batch::scatter()
        • batch::get()
        • batch::first()
        • batch::load()
        • batch::size
        • batch::operator+()
        • batch::operator-()
        • batch::operator*()
        • batch::operator/()
        • batch::operator&()
        • batch::operator|()
        • batch::operator^()
        • batch::operator&&()
        • batch::operator||()
      • make_sized_batch
    • Batch of Conditions
      • batch_bool
        • batch_bool::value_type
        • batch_bool::arch_type
        • batch_bool::register_type
        • batch_bool::batch_type
        • batch_bool::batch_bool()
        • batch_bool::to_native()
        • batch_bool::mask()
        • batch_bool::from_mask()
        • batch_bool::size
      • Logical Operators
        • bitwise_andnot()
        • select()
      • Reducers
        • count()
        • all()
        • any()
        • none()
        • countl_zero()
        • countl_one()
        • countr_zero()
        • countr_one()
    • Batch of Complex Numbers
      • batch
        • batch::value_type
        • batch::real_batch
        • batch::arch_type
        • batch::batch_bool_type
        • batch::batch()
        • batch::size
        • batch::operator+()
        • batch::operator-()
        • batch::operator*()
        • batch::operator/()
      • Operations Specific to Batches of Complex Numbers
        • abs()
        • arg()
        • conj()
        • imag()
        • norm()
        • proj()
        • real()
    • Batch of Constants
      • batch_constant
        • batch_constant::as_batch()
        • batch_constant::operator batch_type()
        • batch_constant::get()
      • batch_bool_constant
        • batch_bool_constant::as_batch_bool()
        • batch_bool_constant::as_batch()
        • batch_bool_constant::operator batch_type()
      • make_batch_constant()
      • make_batch_bool_constant()
  • Data Transfers
    • broadcast()
    • broadcast_as()
    • compress()
    • expand()
    • get()
    • insert()
    • load_as()
    • load_as()
    • load()
    • load()
    • load()
    • load()
    • load()
    • load_aligned()
    • load_unaligned()
    • rotate_left()
    • rotate_right()
    • shuffle()
    • slide_left()
    • slide_right()
    • store_as()
    • store_as()
    • store()
    • store()
    • store()
    • store()
    • store()
    • store_aligned()
    • store_unaligned()
    • swizzle()
    • swizzle()
    • transpose()
    • zip_hi()
    • zip_lo()
    • aligned_mode
    • unaligned_mode
  • Arithmetic Operations
    • add()
    • decr()
    • decr_if()
    • div()
    • fma()
    • fms()
    • fnma()
    • fnms()
    • fmas()
    • incr()
    • incr_if()
    • mod()
    • mul()
    • mul_lo()
    • mul_hi()
    • mul_hilo()
    • neg()
    • pos()
    • reciprocal()
    • sadd()
    • ssub()
    • sub()
  • Comparison Operators
    • eq()
    • eq()
    • ge()
    • gt()
    • is_even()
    • is_flint()
    • is_odd()
    • isinf()
    • isfinite()
    • isnan()
    • le()
    • lt()
    • neq()
    • neq()
  • Bitwise Operators
    • bitwise_and()
    • bitwise_and()
    • bitwise_andnot()
    • bitwise_lshift()
    • bitwise_not()
    • bitwise_not()
    • bitwise_or()
    • bitwise_or()
    • bitwise_rshift()
    • bitwise_xor()
    • bitwise_xor()
    • rotl()
    • rotr()
  • Mathematical Functions
    • abs()
    • avg()
    • avgr()
    • cbrt()
    • clip()
    • exp()
    • exp10()
    • exp2()
    • expm1()
    • fabs()
    • fdim()
    • fmax()
    • fmin()
    • fmod()
    • hypot()
    • log()
    • log2()
    • log10()
    • log1p()
    • max()
    • min()
    • polar()
    • pow()
    • pow()
    • pow()
    • pow()
    • remainder()
    • rsqrt()
    • sqrt()
    • acos()
    • acosh()
    • asin()
    • asinh()
    • atan()
    • atan2()
    • atanh()
    • cos()
    • cosh()
    • sin()
    • sincos()
    • sinh()
    • tan()
    • tanh()
    • ceil()
    • floor()
    • nearbyint()
    • nearbyint_as_int()
    • rint()
    • round()
    • trunc()
    • erf()
    • erfc()
    • ldexp()
    • lgamma()
    • nextafter()
    • tgamma()
  • Reduction Operators
    • haddp()
    • reduce()
    • reduce_add()
    • reduce_max()
    • reduce_min()
    • reduce_mul()
  • Type Conversion
    • batch_bool_cast()
    • batch_cast()
    • bitwise_cast()
    • to_float()
    • to_int()
    • bitwise_cast()
    • widen()
  • Type Traits
    • batch_traits
    • is_batch
    • is_batch_bool
    • is_any_batch
    • is_batch_complex
    • scalar_type
    • mask_type
  • Conditional Expression
    • select()
    • select()
    • select()
    • select()
  • Miscellaneous
    • bitofsign()
    • copysign()
    • sign()
    • signnz()
    • operator<<()
    • operator<<()
  • Alignment Manipulation
    • Aligned Memory Allocator
      • aligned_allocator
        • aligned_allocator::aligned_allocator()
        • aligned_allocator::aligned_allocator()
        • aligned_allocator::~aligned_allocator()
        • aligned_allocator::address()
        • aligned_allocator::address()
        • aligned_allocator::allocate()
        • aligned_allocator::deallocate()
        • aligned_allocator::max_size()
        • aligned_allocator::size_max()
        • aligned_allocator::construct()
        • aligned_allocator::destroy()
        • aligned_allocator::aligned_allocator()
        • aligned_allocator::rebind
    • Alignment Checker
      • is_aligned()
  • Architecture Manipulation
    • unavailable
    • common
      • common::supported()
      • common::available()
      • common::alignment()
      • common::requires_alignment()
      • common::name()
    • vsx
    • avx2
    • avx2_128
    • avx512bw
    • avx512cd
    • avx512dq
    • avx512f
    • avx512vl
    • avx512vl_128
    • avx512vl_256
    • avx
    • avx_128
    • fma3
    • fma3
    • fma3
    • fma4
    • neon64
    • neon
    • rvv
    • sse2
    • sse3
    • sse4_1
    • sse4_2
    • ssse3
    • sve
    • Emulated Mode
  • Arch Dispatching
    • dispatch()

MIGRATION GUIDE

  • From 7.x to 8.x
    • Why 8.x
    • Most Notable Changes
      • Batch Types
      • Batch of Complex Types
      • Loading Batches
      • Indexing Batches
      • Architecture Detection
xsimd
  • Search


© Copyright 2016, Johan Mabille and Sylvain Corlay.

Built with Sphinx using a theme provided by Read the Docs.