< prev index next >
src/hotspot/os_cpu/bsd_x86/bsd_x86_32.s
Print this page
@@ -631,13 +631,13 @@
popl %edi
popl %esi
ret
- # Support for int64_t Atomic::cmpxchg(int64_t exchange_value,
+ # Support for int64_t Atomic::cmpxchg(int64_t compare_value,
# volatile int64_t* dest,
- # int64_t compare_value)
+ # int64_t exchange_value)
#
.p2align 4,,15
ELF_TYPE(_Atomic_cmpxchg_long,@function)
SYMBOL(_Atomic_cmpxchg_long):
# 8(%esp) : return PC
@@ -663,6 +663,5 @@
movl 4(%esp), %eax # src
fildll (%eax)
movl 8(%esp), %eax # dest
fistpll (%eax)
ret
-
< prev index next >