9#ifndef __VEL_INTRIN_H__
10#define __VEL_INTRIN_H__
16#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
28#error need C++ or C99 to use vector intrinsics for VE
59#define _vel_pack_f32p __builtin_ve_vl_pack_f32p
60#define _vel_pack_f32a __builtin_ve_vl_pack_f32a
62static inline unsigned long int _vel_pack_i32(
unsigned int a,
unsigned int b) {
63 return (((
unsigned long int)a) << 32) |
b;
66#define _vel_extract_vm512u(vm) __builtin_ve_vl_extract_vm512u(vm)
67#define _vel_extract_vm512l(vm) __builtin_ve_vl_extract_vm512l(vm)
68#define _vel_insert_vm512u(vm512, vm) __builtin_ve_vl_insert_vm512u(vm512, vm)
69#define _vel_insert_vm512l(vm512, vm) __builtin_ve_vl_insert_vm512l(vm512, vm)
static unsigned long int _vel_pack_i32(unsigned int a, unsigned int b)
double __vr __attribute__((__vector_size__(2048)))