1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
.. Copyright (c) 2016, Johan Mabille, Sylvain Corlay
Distributed under the terms of the BSD 3-Clause License.
The full license is in the file LICENSE, distributed with this software.
Architecture manipulation
=========================
xsimd provides an high level description of the instruction sets it manipulates.
The mentioned types are primarily used as template parameters for :ref:`batch
<xsimd-batch-ref>`, and when interacting with :cpp:func:`xsimd::dispatch()`.
The best available architecture is available at compile time through
``xsimd::best_arch`` which also happens to be ``xsimd::default_arch``.
.. doxygengroup:: architectures
:project: xsimd
:members:
Emulated mode
-------------
When compiled with the macro ``XSIMD_WITH_EMULATED`` set to ``1``, xsimd also
exhibits a specific architecture ``xsimd::emulated<N>``, which consists of a
vector of ``N`` bits emulated using scalar mode.
It is mostly available for testing and debugging.
|