#include "stdafx.h" #include <mmintrin.h> int _tmain(int argc, _TCHAR* argv[]) { short B[4]={2000,2000,2000,2000}; short C[4]={3000,3000,3000,3000}; __m64*b =(__m64*)B; __m64*c =(__m64*)C; __m64 r0,r1; r0 =_mm_mullo_pi16(*b,*c); r1 =_mm_add_pi16(*b,*c); return 0; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)