Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. __asm__(
  2. "incq (%0)nt"
  3. "jno 0fnt"
  4. "movl $0x0, (%0)nt"
  5. "movl $0x43e00000, 0x4(%0)nt"
  6. "movb %1, %c2(%0)n"
  7. "0:"
  8. :
  9. : "r"(&op1->value),
  10. "n"(IS_DOUBLE),
  11. "n"(ZVAL_OFFSETOF_TYPE)
  12. : "cc");
  13.  
  14. __asm__(
  15. "add %0, %0, #1nt"
  16. "bvc 0fnt"
  17. "mov %0, #0x0nt"
  18. "ldr x3, [%0, 0x4]nt"
  19. "mov x3, #0x43e00000nt"
  20. "ldr x3, [%0, %c2]nt"
  21. "mov x3, %1nt"
  22. "0:"
  23. :
  24. : "r"(&op1->value),
  25. "n"(IS_DOUBLE),
  26. "n"(ZVAL_OFFSETOF_TYPE)
  27. : "cc",
  28. "x3");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement