Grid 0.7.0
IBM_qpx_double.h
Go to the documentation of this file.
1/*************************************************************************************
2
3 Grid physics library, www.github.com/paboyle/Grid
4
5 Source file: ./lib/simd/Avx512Asm.h
6
7 Copyright (C) 2015
8
9Author: paboyle <paboyle@ph.ed.ac.uk>
10
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License along
22 with this program; if not, write to the Free Software Foundation, Inc.,
23 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24
25 See the full license in the file "LICENSE" in the top level distribution directory
26*************************************************************************************/
27/* END LEGAL */
28// No guard; ok multi-include
29#undef VSIZE
30#undef VLOAD
31#undef VLOADu
32#undef VSPLAT
33#undef VSTORE
34#undef VSTOREu
35#undef MULT_2SPIN_QPX_LS
36#undef MULT_2SPIN_QPX
37
38#define VSIZE VSIZEd
39#define VLOAD(A,B,C) VLOADd(A,B,C)
40#define VLOADu(A,B,C) VLOADud(A,B,C)
41#define VSPLAT(A,B,DEST) VSPLATd(A,B,DEST)
42#define VSTORE(A,B,C) VSTOREd(A,B,C)
43#define VSTOREu(A,B,C) VSTOREud(A,B,C)
44#define MULT_2SPIN_QPX_LS(ptr,p) MULT_2SPIN_QPX_LSd(ptr,p)
45#define MULT_2SPIN_QPX(ptr,p) MULT_2SPIN_QPXd(ptr,p)
46