Home | History | Annotate | Download | only in priv
      1 
      2 /*---------------------------------------------------------------*/
      3 /*--- begin                             host_generic_simd256.h ---*/
      4 /*---------------------------------------------------------------*/
      5 
      6 /*
      7    This file is part of Valgrind, a dynamic binary instrumentation
      8    framework.
      9 
     10    Copyright (C) 2012-2013 OpenWorks GbR
     11       info (at) open-works.net
     12 
     13    This program is free software; you can redistribute it and/or
     14    modify it under the terms of the GNU General Public License as
     15    published by the Free Software Foundation; either version 2 of the
     16    License, or (at your option) any later version.
     17 
     18    This program is distributed in the hope that it will be useful, but
     19    WITHOUT ANY WARRANTY; without even the implied warranty of
     20    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     21    General Public License for more details.
     22 
     23    You should have received a copy of the GNU General Public License
     24    along with this program; if not, write to the Free Software
     25    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
     26    02110-1301, USA.
     27 
     28    The GNU General Public License is contained in the file COPYING.
     29 */
     30 
     31 /* Generic helper functions for doing 256-bit SIMD arithmetic in cases
     32    where the instruction selectors cannot generate code in-line.
     33    These are purely back-end entities and cannot be seen/referenced
     34    as clean helper functions from IR.
     35 
     36    These will get called from generated code and therefore should be
     37    well behaved -- no floating point or mmx insns, just straight
     38    integer code.
     39 
     40    Each function implements the correspondingly-named IR primop.
     41 */
     42 
     43 #ifndef __VEX_HOST_GENERIC_SIMD256_H
     44 #define __VEX_HOST_GENERIC_SIMD256_H
     45 
     46 #include "libvex_basictypes.h"
     47 
     48 extern VEX_REGPARM(3)
     49        void h_generic_calc_Perm32x8   ( /*OUT*/V256*, V256*, V256* );
     50 
     51 #endif /* ndef __VEX_HOST_GENERIC_SIMD256_H */
     52 
     53 /*---------------------------------------------------------------*/
     54 /*--- end                              host_generic_simd256.h ---*/
     55 /*---------------------------------------------------------------*/
     56