1
0

cvtpi2ps.asm 351 B

12345678910111213141516171819202122
  1. global _start
  2. section .data
  3. align 16
  4. quad0low:
  5. dd 1
  6. quad0high:
  7. dd 2
  8. quad1low:
  9. dd -1234567
  10. quad1high:
  11. dd 0
  12. myaddress:
  13. dd 0xdeadbeef
  14. %include "header.inc"
  15. cvtpi2ps xmm0, [quad0low]
  16. ; fill xmm1 in order to ensure that the high quadword remain inchanged
  17. pshufd xmm1, xmm0, 0
  18. cvtpi2ps xmm1, [quad1low]
  19. %include "footer.inc"