summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorRafael Folco <rfolco@br.ibm.com>2017-04-10 12:39:38 (GMT)
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-04-10 19:33:02 (GMT)
commit701daa5298b3befe2aff05ce590533165abb9ba4 (patch)
tree81cbe601f59a31cb913ef4b0b55adac74be378e2 /m4
parent04ef218d872ae73964f9f6c8d1186c4a1e270d70 (diff)
downloadjemalloc-701daa5298b3befe2aff05ce590533165abb9ba4.zip
jemalloc-701daa5298b3befe2aff05ce590533165abb9ba4.tar.gz
jemalloc-701daa5298b3befe2aff05ce590533165abb9ba4.tar.bz2
Port CPU_SPINWAIT to __powerpc64__
Hyper-threaded CPUs may need a special instruction inside spin loops in order to yield to another virtual CPU. The 'pause' instruction that is available for x86 is not supported on Power. Apparently the extended mnemonics like yield, mdoio, and mdoom are not actually implemented on POWER8, although mentioned in the ISA 2.07 document. The recommended magic bits are an 'or 31,31,31'.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions