Comparing BloombergLP::bdlmt::ThreadPool::enqueueJob(bsl::function const&) in assumed vs ignored

Files changed (1) hide show
  1. bdlmt_multiqueuethreadpool.t/{2.assume.s → 2.none.s} +45 -42
bdlmt_multiqueuethreadpool.t/{2.assume.s → 2.none.s} RENAMED
@@ -1,45 +1,48 @@
1
- 0000000000437c30 <BloombergLP::bdlmt::ThreadPool::enqueueJob(bsl::function<void ()> const&)>:
2
  0000000000000000: 02 pushq %r15
3
  0000000000000002: 02 pushq %r14
4
  0000000000000004: 01 pushq %rbx
5
- 0000000000000005: 03 movq %rsi, %r15
6
- 0000000000000008: 03 movq %rdi, %rbx
7
- 000000000000000b: 04 leaq 56(%rdi), %r14
8
- 000000000000000f: 03 movq %r14, %rdi
9
- 0000000000000012: 05 callq 0x405bd0 <pthread_mutex_lock@plt>
10
- 0000000000000017: 07 cmpl $0, 252(%rbx)
11
- 000000000000001e: 02 je 0x437cb6 <BloombergLP::bdlmt::ThreadPool::enqueueJob(bsl::function<void ()> const&)+0x86>
12
- 0000000000000020: 03 movq %rbx, %rdi
13
- 0000000000000023: 03 movq %r15, %rsi
14
- 0000000000000026: 05 callq 0x435d80 <bsl::deque<bsl::function<void ()>, bsl::allocator<bsl::function<void ()> > >::push_back(bsl::function<void ()> const&)>
15
- 000000000000002b: 08 cmpq $0, 256(%rbx)
16
- 0000000000000033: 02 je 0x437caa <BloombergLP::bdlmt::ThreadPool::enqueueJob(bsl::function<void ()> const&)+0x7a>
17
- 0000000000000035: 07 movq 256(%rbx), %rax
18
- 000000000000003c: 07 movl $1, 72(%rax)
19
- 0000000000000043: 07 movq 256(%rbx), %rdi
20
- 000000000000004a: 05 callq 0x405440 <pthread_cond_signal@plt>
21
- 000000000000004f: 07 movq 256(%rbx), %rax
22
- 0000000000000056: 04 movq 56(%rax), %rax
23
- 000000000000005a: 07 movq %rax, 256(%rbx)
24
- 0000000000000061: 08 cmpq $0, 256(%rbx)
25
- 0000000000000069: 02 je 0x437caa <BloombergLP::bdlmt::ThreadPool::enqueueJob(bsl::function<void ()> const&)+0x7a>
26
- 000000000000006b: 07 movq 256(%rbx), %rax
27
- 0000000000000072: 08 movq $0, 64(%rax)
28
- 000000000000007a: 03 movq %rbx, %rdi
29
- 000000000000007d: 05 callq 0x4373a0 <BloombergLP::bdlmt::ThreadPool::startThreadIfNeeded()>
30
- 0000000000000082: 02 movl %eax, %ebx
31
- 0000000000000084: 02 jmp 0x437cbb <BloombergLP::bdlmt::ThreadPool::enqueueJob(bsl::function<void ()> const&)+0x8b>
32
- 0000000000000086: 05 movl $4294967295, %ebx
33
- 000000000000008b: 03 movq %r14, %rdi
34
- 000000000000008e: 05 callq 0x405cf0 <pthread_mutex_unlock@plt>
35
- 0000000000000093: 02 movl %ebx, %eax
36
- 0000000000000095: 01 popq %rbx
37
- 0000000000000096: 02 popq %r14
38
- 0000000000000098: 02 popq %r15
39
- 000000000000009a: 01 retq
40
- 000000000000009b: 03 movq %rax, %rbx
41
- 000000000000009e: 03 movq %r14, %rdi
42
- 00000000000000a1: 05 callq 0x405cf0 <pthread_mutex_unlock@plt>
43
- 00000000000000a6: 03 movq %rbx, %rdi
44
- 00000000000000a9: 05 callq 0x405c80 <_Unwind_Resume@plt>
45
- 00000000000000ae: 02 nop
 
 
 
1
+ 0000000000437c70 <BloombergLP::bdlmt::ThreadPool::enqueueJob(bsl::function<void ()> const&)>:
2
  0000000000000000: 02 pushq %r15
3
  0000000000000002: 02 pushq %r14
4
  0000000000000004: 01 pushq %rbx
5
+ 0000000000000005: 05 cmpq $0, 64(%rsi)
6
+ 000000000000000a: 06 je 0x437d16 <BloombergLP::bdlmt::ThreadPool::enqueueJob(bsl::function<void ()> const&)+0xa6>
7
+ 0000000000000010: 03 movq %rsi, %r15
8
+ 0000000000000013: 03 movq %rdi, %rbx
9
+ 0000000000000016: 04 leaq 56(%rdi), %r14
10
+ 000000000000001a: 03 movq %r14, %rdi
11
+ 000000000000001d: 05 callq 0x405bd0 <pthread_mutex_lock@plt>
12
+ 0000000000000022: 07 cmpl $0, 252(%rbx)
13
+ 0000000000000029: 02 je 0x437d01 <BloombergLP::bdlmt::ThreadPool::enqueueJob(bsl::function<void ()> const&)+0x91>
14
+ 000000000000002b: 03 movq %rbx, %rdi
15
+ 000000000000002e: 03 movq %r15, %rsi
16
+ 0000000000000031: 05 callq 0x435dc0 <bsl::deque<bsl::function<void ()>, bsl::allocator<bsl::function<void ()> > >::push_back(bsl::function<void ()> const&)>
17
+ 0000000000000036: 08 cmpq $0, 256(%rbx)
18
+ 000000000000003e: 02 je 0x437cf5 <BloombergLP::bdlmt::ThreadPool::enqueueJob(bsl::function<void ()> const&)+0x85>
19
+ 0000000000000040: 07 movq 256(%rbx), %rax
20
+ 0000000000000047: 07 movl $1, 72(%rax)
21
+ 000000000000004e: 07 movq 256(%rbx), %rdi
22
+ 0000000000000055: 05 callq 0x405440 <pthread_cond_signal@plt>
23
+ 000000000000005a: 07 movq 256(%rbx), %rax
24
+ 0000000000000061: 04 movq 56(%rax), %rax
25
+ 0000000000000065: 07 movq %rax, 256(%rbx)
26
+ 000000000000006c: 08 cmpq $0, 256(%rbx)
27
+ 0000000000000074: 02 je 0x437cf5 <BloombergLP::bdlmt::ThreadPool::enqueueJob(bsl::function<void ()> const&)+0x85>
28
+ 0000000000000076: 07 movq 256(%rbx), %rax
29
+ 000000000000007d: 08 movq $0, 64(%rax)
30
+ 0000000000000085: 03 movq %rbx, %rdi
31
+ 0000000000000088: 05 callq 0x4373e0 <BloombergLP::bdlmt::ThreadPool::startThreadIfNeeded()>
32
+ 000000000000008d: 02 movl %eax, %ebx
33
+ 000000000000008f: 02 jmp 0x437d06 <BloombergLP::bdlmt::ThreadPool::enqueueJob(bsl::function<void ()> const&)+0x96>
34
+ 0000000000000091: 05 movl $4294967295, %ebx
35
+ 0000000000000096: 03 movq %r14, %rdi
36
+ 0000000000000099: 05 callq 0x405cf0 <pthread_mutex_unlock@plt>
37
+ 000000000000009e: 02 movl %ebx, %eax
38
+ 00000000000000a0: 01 popq %rbx
39
+ 00000000000000a1: 02 popq %r14
40
+ 00000000000000a3: 02 popq %r15
41
+ 00000000000000a5: 01 retq
42
+ 00000000000000a6: 05 callq 0x405370 <abort@plt>
43
+ 00000000000000ab: 03 movq %rax, %rbx
44
+ 00000000000000ae: 03 movq %r14, %rdi
45
+ 00000000000000b1: 05 callq 0x405cf0 <pthread_mutex_unlock@plt>
46
+ 00000000000000b6: 03 movq %rbx, %rdi
47
+ 00000000000000b9: 05 callq 0x405c80 <_Unwind_Resume@plt>
48
+ 00000000000000be: 02 nop