psllq.asm 419 B

12345678910111213141516171819202122232425262728293031
  1. global _start
  2. section .data
  3. align 16
  4. myquad:
  5. dq 0x8d0000ceadad00ff
  6. mydword:
  7. dd 0xcafebac0
  8. shift1:
  9. dq 0x07
  10. shift2:
  11. dq -0x22
  12. %include "header.inc"
  13. movq mm0, [myquad]
  14. movq mm1, [myquad]
  15. movq mm2, [myquad]
  16. movq mm3, [myquad]
  17. movq mm4, [myquad]
  18. movq mm6, [myquad]
  19. psllq mm0, [shift1]
  20. psllq mm1, [shift2]
  21. psllq mm2, 0x65
  22. psllq mm3, 0x25
  23. psllq mm4, 0x1F
  24. psllq mm6, 0x5
  25. %include "footer.inc"