testsse2.pp 277 B

123456789101112131415161718
  1. { %version=1.1}
  2. uses
  3. mmx;
  4. { only a small test to see if it works in principal }
  5. var
  6. q : array[0..15] of byte;
  7. begin
  8. if is_sse2_cpu then
  9. asm
  10. movdqa %xmm1,%xmm2
  11. movdqa q,%xmm4
  12. psubq %xmm1,%xmm2
  13. psubq q,%xmm4
  14. end;
  15. end.