1 //===---------------------------------------------------------------------===//
2 // Random ideas for the X86 backend: MMX-specific stuff.
3 //===---------------------------------------------------------------------===//
5 //===---------------------------------------------------------------------===//
12 return (__v2si){ 0, A };
44 //===---------------------------------------------------------------------===//
47 __m64 A[1] = { _mm_cvtsi32_si64(1) };
48 __m64 B[1] = { _mm_cvtsi32_si64(10) };
49 __m64 sum = _mm_cvtsi32_si64(0);
51 sum = __builtin_ia32_paddq(__builtin_ia32_paddq(A[0], B[0]), sum);
53 printf("Sum = %d\n", _mm_cvtsi64_si32(sum));
61 ### movq %mm0, 8(%esp)
62 ### movl 8(%esp), %eax
69 These instructions are unnecessary.