equal
deleted
inserted
replaced
631 popl %edi |
631 popl %edi |
632 popl %esi |
632 popl %esi |
633 ret |
633 ret |
634 |
634 |
635 |
635 |
636 # Support for int64_t Atomic::cmpxchg(int64_t exchange_value, |
636 # Support for int64_t Atomic::cmpxchg(int64_t compare_value, |
637 # volatile int64_t* dest, |
637 # volatile int64_t* dest, |
638 # int64_t compare_value) |
638 # int64_t exchange_value) |
639 # |
639 # |
640 .p2align 4,,15 |
640 .p2align 4,,15 |
641 ELF_TYPE(_Atomic_cmpxchg_long,@function) |
641 ELF_TYPE(_Atomic_cmpxchg_long,@function) |
642 SYMBOL(_Atomic_cmpxchg_long): |
642 SYMBOL(_Atomic_cmpxchg_long): |
643 # 8(%esp) : return PC |
643 # 8(%esp) : return PC |
663 movl 4(%esp), %eax # src |
663 movl 4(%esp), %eax # src |
664 fildll (%eax) |
664 fildll (%eax) |
665 movl 8(%esp), %eax # dest |
665 movl 8(%esp), %eax # dest |
666 fistpll (%eax) |
666 fistpll (%eax) |
667 ret |
667 ret |
668 |
|