Please enter what you're looking for to continue your search
 

vec_splat_s64
ADD TO COMPARE ADDED TO COMPARE

 IBM-Z (64 bits)/ IBM-Z  View official documentation
Purpose:
Returns a vector with each of the 2 signed 64-bits element equal to the given value. Minimum Arch: Z11.

Prototypes

Usage:
vector signed long long result = vec_splat_s64( 5_bit_literal a )
Example:
#include <vecintrin.h>
#include <stdio.h>
int main() {
 signed long long a = -42;
 vector signed long long d = vec_splat_s64(a);
 printf("a: %lld\n", a);
 printf("d: ");
 for (int i = 0; i < 2; i++) {
   printf("%4lld ", d[i]);
  }
  printf("\n");

  return 0;
 }
SIMD Intrinsics Summary
SIMD Engines: 6
C Intrinsics: 10444
NEON: 4353
AVX2: 405
AVX512: 4717
SSE4.2: 598
VSX: 192
IBM-Z: 179