Mercurial > hg > graal-jvmci-8
comparison src/os_cpu/linux_sparc/vm/atomic_linux_sparc.inline.hpp @ 10997:46c544b8fbfc
8008407: remove SPARC V8 support
Summary: Removed most of the SPARC V8 instructions
Reviewed-by: kvn, twisti
author | morris |
---|---|
date | Fri, 07 Jun 2013 16:46:37 -0700 |
parents | 63e54c37ac64 |
children | 7f77d17d0f13 |
comparison
equal
deleted
inserted
replaced
10996:ea60d1de6735 | 10997:46c544b8fbfc |
---|---|
167 : "=r" (rv) | 167 : "=r" (rv) |
168 : "0" (exchange_value), "r" (dest), "r" (compare_value) | 168 : "0" (exchange_value), "r" (dest), "r" (compare_value) |
169 : "memory"); | 169 : "memory"); |
170 return rv; | 170 return rv; |
171 #else | 171 #else |
172 assert(VM_Version::v9_instructions_work(), "cas only supported on v9"); | |
173 volatile jlong_accessor evl, cvl, rv; | 172 volatile jlong_accessor evl, cvl, rv; |
174 evl.long_value = exchange_value; | 173 evl.long_value = exchange_value; |
175 cvl.long_value = compare_value; | 174 cvl.long_value = compare_value; |
176 | 175 |
177 __asm__ volatile( | 176 __asm__ volatile( |