comparison src/os/unix/ngx_sunpro_amd64.il @ 3479:bfd1912e55a9

use "rep; nop" instead of "pause" on Solaris/amd64
author Igor Sysoev <igor@sysoev.ru>
date Fri, 26 Mar 2010 13:38:41 +0000
parents 08c6ee7a1b11
children d620f497c50f
comparison
equal deleted inserted replaced
3478:eb8660fecc12 3479:bfd1912e55a9
29 xaddq %rax, (%rdi) 29 xaddq %rax, (%rdi)
30 .end 30 .end
31 31
32 32
33 / ngx_cpu_pause() 33 / ngx_cpu_pause()
34 /
35 / the "rep; nop" is used instead of "pause" to avoid the "[ PAUSE ]" hardware
36 / capability added by linker because Solaris/amd64 does not know about it:
37 /
38 / ld.so.1: nginx: fatal: hardware capability unsupported: 0x2000 [ PAUSE ]
34 39
35 .inline ngx_cpu_pause,0 40 .inline ngx_cpu_pause,0
36 pause 41 rep; nop
37 .end 42 .end