Comparing BloombergLP::bdlde::CharConvertUtf16::utf8ToUtf16(bsl::vector >*, std::__1::basic_string_view > const&, unsigned long*, unsigned short, BloombergLP::bdlde::ByteOrder::Enum) in assumed vs ignored

Files changed (1) hide show
  1. bdlde_charconvertutf16.t/{16.assume.s → 16.none.s} +51 -55
bdlde_charconvertutf16.t/{16.assume.s → 16.none.s} RENAMED
@@ -1,61 +1,57 @@
1
- 000000000042b700 <BloombergLP::bdlde::CharConvertUtf16::utf8ToUtf16(bsl::vector<unsigned short, bsl::allocator<unsigned short> >*, std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, unsigned long*, unsigned short, BloombergLP::bdlde::ByteOrder::Enum)>:
2
  0000000000000000: 01 pushq %rbp
3
  0000000000000001: 02 pushq %r15
4
  0000000000000003: 02 pushq %r14
5
  0000000000000005: 02 pushq %r13
6
  0000000000000007: 02 pushq %r12
7
  0000000000000009: 01 pushq %rbx
8
- 000000000000000a: 04 subq $24, %rsp
9
- 000000000000000e: 03 movl %r8d, %ebp
10
- 0000000000000011: 03 movl %ecx, %r13d
11
- 0000000000000014: 05 movq %rdx, 8(%rsp)
12
- 0000000000000019: 03 movq %rsi, %r15
13
- 000000000000001c: 03 movq %rdi, %r12
14
- 000000000000001f: 03 movq (%rsi), %rdi
15
- 0000000000000022: 04 movq 8(%rsi), %rbx
16
- 0000000000000026: 03 addq %rdi, %rbx
17
- 0000000000000029: 03 movq %rbx, %rsi
18
- 000000000000002c: 05 callq 0x430bc0 <unsigned long (anonymous namespace)::utf16BufferLength<(anonymous namespace)::Utf8::PtrBasedEnd>(char const*, (anonymous namespace)::Utf8::PtrBasedEnd)>
19
- 0000000000000031: 03 movq %rax, %r14
20
- 0000000000000034: 04 movq (%r12), %rdi
21
- 0000000000000038: 05 movq 8(%r12), %rax
22
- 000000000000003d: 03 subq %rdi, %rax
23
- 0000000000000040: 03 sarq %rax
24
- 0000000000000043: 03 cmpq %rax, %r14
25
- 0000000000000046: 02 jbe 0x42b757 <BloombergLP::bdlde::CharConvertUtf16::utf8ToUtf16(bsl::vector<unsigned short, bsl::allocator<unsigned short> >*, std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, unsigned long*, unsigned short, BloombergLP::bdlde::ByteOrder::Enum)+0x57>
26
- 0000000000000048: 03 movq %r12, %rdi
27
- 000000000000004b: 03 movq %r14, %rsi
28
- 000000000000004e: 05 callq 0x447ab0 <bsl::vector<unsigned short, bsl::allocator<unsigned short> >::resize(unsigned long)>
29
- 0000000000000053: 04 movq (%r12), %rdi
30
- 0000000000000057: 03 movq (%r15), %rsi
31
- 000000000000005a: 04 movzwl %r13w, %r9d
32
- 000000000000005e: 05 leaq 16(%rsp), %r8
33
- 0000000000000063: 03 movq %rbx, %rdx
34
- 0000000000000066: 02 testl %ebp, %ebp
35
- 0000000000000068: 02 je 0x42b776 <BloombergLP::bdlde::CharConvertUtf16::utf8ToUtf16(bsl::vector<unsigned short, bsl::allocator<unsigned short> >*, std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, unsigned long*, unsigned short, BloombergLP::bdlde::ByteOrder::Enum)+0x76>
36
- 000000000000006a: 05 movq 8(%rsp), %rcx
37
- 000000000000006f: 05 callq 0x432240 <int (anonymous namespace)::localUtf8ToUtf16<unsigned short, (anonymous namespace)::NoOpCapacity, (anonymous namespace)::Utf8::PtrBasedEnd, (anonymous namespace)::Swapper<unsigned short> >(unsigned short*, (anonymous namespace)::NoOpCapacity, char const*, (anonymous namespace)::Utf8::PtrBasedEnd, (anonymous namespace)::Swapper<unsigned short>, unsigned long*, unsigned long*, unsigned short)>
38
- 0000000000000074: 02 jmp 0x42b780 <BloombergLP::bdlde::CharConvertUtf16::utf8ToUtf16(bsl::vector<unsigned short, bsl::allocator<unsigned short> >*, std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, unsigned long*, unsigned short, BloombergLP::bdlde::ByteOrder::Enum)+0x80>
39
- 0000000000000076: 05 movq 8(%rsp), %rcx
40
- 000000000000007b: 05 callq 0x431e70 <int (anonymous namespace)::localUtf8ToUtf16<unsigned short, (anonymous namespace)::NoOpCapacity, (anonymous namespace)::Utf8::PtrBasedEnd, (anonymous namespace)::NoOpSwapper<unsigned short> >(unsigned short*, (anonymous namespace)::NoOpCapacity, char const*, (anonymous namespace)::Utf8::PtrBasedEnd, (anonymous namespace)::NoOpSwapper<unsigned short>, unsigned long*, unsigned long*, unsigned short)>
41
- 0000000000000080: 02 movl %eax, %ebx
42
- 0000000000000082: 05 movq 16(%rsp), %rsi
43
- 0000000000000087: 03 cmpq %r14, %rsi
44
- 000000000000008a: 05 movq 8(%r12), %rax
45
- 000000000000008f: 04 subq (%r12), %rax
46
- 0000000000000093: 03 sarq %rax
47
- 0000000000000096: 03 cmpq %rsi, %rax
48
- 0000000000000099: 02 je 0x42b7a3 <BloombergLP::bdlde::CharConvertUtf16::utf8ToUtf16(bsl::vector<unsigned short, bsl::allocator<unsigned short> >*, std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, unsigned long*, unsigned short, BloombergLP::bdlde::ByteOrder::Enum)+0xa3>
49
- 000000000000009b: 03 movq %r12, %rdi
50
- 000000000000009e: 05 callq 0x447ab0 <bsl::vector<unsigned short, bsl::allocator<unsigned short> >::resize(unsigned long)>
51
- 00000000000000a3: 02 movl %ebx, %eax
52
- 00000000000000a5: 04 addq $24, %rsp
53
- 00000000000000a9: 01 popq %rbx
54
- 00000000000000aa: 02 popq %r12
55
- 00000000000000ac: 02 popq %r13
56
- 00000000000000ae: 02 popq %r14
57
- 00000000000000b0: 02 popq %r15
58
- 00000000000000b2: 01 popq %rbp
59
- 00000000000000b3: 01 retq
60
- 00000000000000b4: 10 nopw %cs:(%rax,%rax)
61
- 00000000000000be: 02 nop
1
+ 000000000042b6c0 <BloombergLP::bdlde::CharConvertUtf16::utf8ToUtf16(bsl::vector<unsigned short, bsl::allocator<unsigned short> >*, std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, unsigned long*, unsigned short, BloombergLP::bdlde::ByteOrder::Enum)>:
2
  0000000000000000: 01 pushq %rbp
3
  0000000000000001: 02 pushq %r15
4
  0000000000000003: 02 pushq %r14
5
  0000000000000005: 02 pushq %r13
6
  0000000000000007: 02 pushq %r12
7
  0000000000000009: 01 pushq %rbx
8
+ 000000000000000a: 01 pushq %rax
9
+ 000000000000000b: 03 movl %r8d, %r13d
10
+ 000000000000000e: 03 movl %ecx, %r12d
11
+ 0000000000000011: 03 movq %rdx, %r14
12
+ 0000000000000014: 03 movq %rsi, %rbp
13
+ 0000000000000017: 03 movq %rdi, %r15
14
+ 000000000000001a: 03 movq (%rsi), %rdi
15
+ 000000000000001d: 04 movq 8(%rsi), %rbx
16
+ 0000000000000021: 03 addq %rdi, %rbx
17
+ 0000000000000024: 03 movq %rbx, %rsi
18
+ 0000000000000027: 05 callq 0x4309a0 <unsigned long (anonymous namespace)::utf16BufferLength<(anonymous namespace)::Utf8::PtrBasedEnd>(char const*, (anonymous namespace)::Utf8::PtrBasedEnd)>
19
+ 000000000000002c: 03 movq (%r15), %rdi
20
+ 000000000000002f: 04 movq 8(%r15), %rcx
21
+ 0000000000000033: 03 subq %rdi, %rcx
22
+ 0000000000000036: 03 sarq %rcx
23
+ 0000000000000039: 03 cmpq %rcx, %rax
24
+ 000000000000003c: 02 jbe 0x42b70c <BloombergLP::bdlde::CharConvertUtf16::utf8ToUtf16(bsl::vector<unsigned short, bsl::allocator<unsigned short> >*, std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, unsigned long*, unsigned short, BloombergLP::bdlde::ByteOrder::Enum)+0x4c>
25
+ 000000000000003e: 03 movq %r15, %rdi
26
+ 0000000000000041: 03 movq %rax, %rsi
27
+ 0000000000000044: 05 callq 0x447890 <bsl::vector<unsigned short, bsl::allocator<unsigned short> >::resize(unsigned long)>
28
+ 0000000000000049: 03 movq (%r15), %rdi
29
+ 000000000000004c: 04 movq (%rbp), %rsi
30
+ 0000000000000050: 04 movzwl %r12w, %r9d
31
+ 0000000000000054: 03 movq %rsp, %r8
32
+ 0000000000000057: 03 movq %rbx, %rdx
33
+ 000000000000005a: 03 movq %r14, %rcx
34
+ 000000000000005d: 03 testl %r13d, %r13d
35
+ 0000000000000060: 02 je 0x42b729 <BloombergLP::bdlde::CharConvertUtf16::utf8ToUtf16(bsl::vector<unsigned short, bsl::allocator<unsigned short> >*, std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, unsigned long*, unsigned short, BloombergLP::bdlde::ByteOrder::Enum)+0x69>
36
+ 0000000000000062: 05 callq 0x432020 <int (anonymous namespace)::localUtf8ToUtf16<unsigned short, (anonymous namespace)::NoOpCapacity, (anonymous namespace)::Utf8::PtrBasedEnd, (anonymous namespace)::Swapper<unsigned short> >(unsigned short*, (anonymous namespace)::NoOpCapacity, char const*, (anonymous namespace)::Utf8::PtrBasedEnd, (anonymous namespace)::Swapper<unsigned short>, unsigned long*, unsigned long*, unsigned short)>
37
+ 0000000000000067: 02 jmp 0x42b72e <BloombergLP::bdlde::CharConvertUtf16::utf8ToUtf16(bsl::vector<unsigned short, bsl::allocator<unsigned short> >*, std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, unsigned long*, unsigned short, BloombergLP::bdlde::ByteOrder::Enum)+0x6e>
38
+ 0000000000000069: 05 callq 0x431c50 <int (anonymous namespace)::localUtf8ToUtf16<unsigned short, (anonymous namespace)::NoOpCapacity, (anonymous namespace)::Utf8::PtrBasedEnd, (anonymous namespace)::NoOpSwapper<unsigned short> >(unsigned short*, (anonymous namespace)::NoOpCapacity, char const*, (anonymous namespace)::Utf8::PtrBasedEnd, (anonymous namespace)::NoOpSwapper<unsigned short>, unsigned long*, unsigned long*, unsigned short)>
39
+ 000000000000006e: 02 movl %eax, %ebx
40
+ 0000000000000070: 04 movq (%rsp), %rsi
41
+ 0000000000000074: 04 movq 8(%r15), %rax
42
+ 0000000000000078: 03 subq (%r15), %rax
43
+ 000000000000007b: 03 sarq %rax
44
+ 000000000000007e: 03 cmpq %rsi, %rax
45
+ 0000000000000081: 02 je 0x42b74b <BloombergLP::bdlde::CharConvertUtf16::utf8ToUtf16(bsl::vector<unsigned short, bsl::allocator<unsigned short> >*, std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, unsigned long*, unsigned short, BloombergLP::bdlde::ByteOrder::Enum)+0x8b>
46
+ 0000000000000083: 03 movq %r15, %rdi
47
+ 0000000000000086: 05 callq 0x447890 <bsl::vector<unsigned short, bsl::allocator<unsigned short> >::resize(unsigned long)>
48
+ 000000000000008b: 02 movl %ebx, %eax
49
+ 000000000000008d: 04 addq $8, %rsp
50
+ 0000000000000091: 01 popq %rbx
51
+ 0000000000000092: 02 popq %r12
52
+ 0000000000000094: 02 popq %r13
53
+ 0000000000000096: 02 popq %r14
54
+ 0000000000000098: 02 popq %r15
55
+ 000000000000009a: 01 popq %rbp
56
+ 000000000000009b: 01 retq
57
+ 000000000000009c: 04 nopl (%rax)