runtime: SPARCv9 fixes for lfstack.
From Rainer Orth. From-SVN: r195534
This commit is contained in:
parent
83ba4d6f2b
commit
656e11a924
1 changed files with 4 additions and 1 deletions
|
@ -19,7 +19,10 @@
|
|||
|
||||
#if __SIZEOF_POINTER__ == 8 && defined(__sparc__)
|
||||
// SPARC64 uses all 64 bits of virtual addresses. Use low-order three
|
||||
bits as ABA counter.
|
||||
// bits as ABA counter.
|
||||
#undef PTR_BITS
|
||||
#undef CNT_MASK
|
||||
#undef PTR_MASK
|
||||
#define PTR_BITS 0
|
||||
#define CNT_MASK 7
|
||||
#define PTR_MASK ((0ull-1)<<3)
|
||||
|
|
Loading…
Add table
Reference in a new issue