Skip to content

Instantly share code, notes, and snippets.

@kathawala
Created March 31, 2017 03:45
Show Gist options
  • Save kathawala/8e179b7caf77768d695780579247d12e to your computer and use it in GitHub Desktop.
Save kathawala/8e179b7caf77768d695780579247d12e to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdint.h>
#include <emmintrin.h>
void print128_num(__m128i var)
{
int64_t *v64val = (int64_t*) &var;
printf("%.16lld %.16lld\n", v64val[1], v64val[0]);
}
int main() {
__m128i var;
var = _mm_set_epi64x(-1588454185101182573, 437384867522774919);
print128_num(var);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment