Untitled Diff

Created Diff never expires
9 removals
203 lines
16 additions
210 lines
Discovering: System.Net.Http.Unit.Tests (method display = ClassAndMethod, method display options = None)
Discovering: System.Net.Http.Unit.Tests (method display = ClassAndMethod, method display options = None)
Discovered: System.Net.Http.Unit.Tests (found 1 of 924 test case)
Discovered: System.Net.Http.Unit.Tests (found 1 of 924 test case)
Starting: System.Net.Http.Unit.Tests (parallel test collections = on, max threads = 32)
Starting: System.Net.Http.Unit.Tests (parallel test collections = on, max threads = 32)
; Assembly listing for method System.Net.Http.Headers.WarningHeaderValue:TryReadCode(System.String,byref,byref):bool
; Assembly listing for method System.Net.Http.Headers.WarningHeaderValue:TryReadCode(System.String,byref,byref):bool
; Emitting BLENDED_CODE for X64 CPU with AVX - Windows
; Emitting BLENDED_CODE for X64 CPU with AVX - Windows
; optimized code
; optimized code
; rsp based frame
; rsp based frame
; partially interruptible
; partially interruptible
; No PGO data
; No PGO data
; 4 inlinees with PGO data; 4 single block inlinees; 2 inlinees without PGO data
; 4 inlinees with PGO data; 4 single block inlinees; 2 inlinees without PGO data
; Final local variable assignments
; Final local variable assignments
;
;
; V00 arg0 [V00,T01] ( 6, 4.50) ref -> rdi class-hnd single-def
; V00 arg0 [V00,T01] ( 6, 4.50) ref -> rdi class-hnd single-def
; V01 arg1 [V01,T00] ( 10, 6.50) byref -> rsi single-def
; V01 arg1 [V01,T00] ( 10, 6.50) byref -> rsi single-def
; V02 arg2 [V02,T02] ( 5, 4 ) byref -> rbx single-def
; V02 arg2 [V02,T02] ( 5, 4 ) byref -> rbx single-def
; V03 loc0 [V03,T03] ( 8, 5 ) int -> rbp single-def
; V03 loc0 [V03,T03] ( 8, 5 ) int -> rbp single-def
; V04 loc1 [V04,T08] ( 3, 1.50) int -> rax single-def
; V04 loc1 [V04,T08] ( 3, 1.50) int -> rax single-def
; V05 OutArgs [V05 ] ( 1, 1 ) struct (32) [rsp+00H] do-not-enreg[XS] addr-exposed "OutgoingArgSpace"
; V05 OutArgs [V05 ] ( 1, 1 ) struct (32) [rsp+00H] do-not-enreg[XS] addr-exposed "OutgoingArgSpace"
; V06 tmp1 [V06,T09] ( 2, 1 ) bool -> rax "Inline return value spill temp"
; V06 tmp1 [V06,T09] ( 2, 1 ) bool -> rax "Inline return value spill temp"
; V07 tmp2 [V07,T04] ( 5, 5 ) int -> rax "Inlining Arg"
; V07 tmp2 [V07,T04] ( 5, 5 ) int -> rax "Inlining Arg"
;* V08 tmp3 [V08 ] ( 0, 0 ) struct (16) zero-ref "impAppendStmt"
;* V08 tmp3 [V08 ] ( 0, 0 ) struct (16) zero-ref "impAppendStmt"
;* V09 tmp4 [V09 ] ( 0, 0 ) struct (16) zero-ref ld-addr-op "NewObj constructor temp"
;* V09 tmp4 [V09 ] ( 0, 0 ) struct (16) zero-ref ld-addr-op "NewObj constructor temp"
;* V10 tmp5 [V10 ] ( 0, 0 ) struct (16) zero-ref ld-addr-op "Inline ldloca(s) first use temp"
;* V10 tmp5 [V10 ] ( 0, 0 ) struct (16) zero-ref ld-addr-op "Inline ldloca(s) first use temp"
; V11 tmp6 [V11,T07] ( 2, 2 ) byref -> r15 single-def "Inlining Arg"
; V11 tmp6 [V11,T07] ( 2, 2 ) byref -> r15 single-def "Inlining Arg"
;* V12 tmp7 [V12 ] ( 0, 0 ) bool -> zero-ref "Inlining Arg"
;* V12 tmp7 [V12 ] ( 0, 0 ) bool -> zero-ref "Inlining Arg"
;* V13 tmp8 [V13 ] ( 0, 0 ) bool -> zero-ref "Inlining Arg"
;* V13 tmp8 [V13 ] ( 0, 0 ) bool -> zero-ref "Inlining Arg"
; V14 tmp9 [V14,T05] ( 3, 2.78) ref -> rax class-hnd single-def "Inlining Arg"
; V14 tmp9 [V14,T05] ( 3, 2.78) ref -> rax class-hnd single-def "Inlining Arg"
; V15 tmp10 [V15,T10] ( 3, 1 ) ref -> rax class-hnd "Inline return value spill temp"
; V15 tmp10 [V15,T10] ( 3, 1 ) ref -> rax class-hnd "Inline return value spill temp"
;* V16 tmp11 [V16 ] ( 0, 0 ) int -> zero-ref "Inline return value spill temp"
;* V16 tmp11 [V16 ] ( 0, 0 ) int -> zero-ref "Inline return value spill temp"
; V17 tmp12 [V17,T11] ( 2, 1 ) byref -> r15 V08._reference(offs=0x00) P-INDEP "field V08._reference (fldOffset=0x0)"
; V17 tmp12 [V17,T11] ( 2, 1 ) byref -> r15 V08._reference(offs=0x00) P-INDEP "field V08._reference (fldOffset=0x0)"
; V18 tmp13 [V18,T13] ( 2, 1 ) int -> r12 V08._length(offs=0x08) P-INDEP "field V08._length (fldOffset=0x8)"
; V18 tmp13 [V18,T13] ( 2, 1 ) int -> r12 V08._length(offs=0x08) P-INDEP "field V08._length (fldOffset=0x8)"
; V19 tmp14 [V19,T12] ( 2, 1 ) byref -> r15 single-def V09._reference(offs=0x00) P-INDEP "field V09._reference (fldOffset=0x0)"
; V19 tmp14 [V19,T12] ( 2, 1 ) byref -> r15 single-def V09._reference(offs=0x00) P-INDEP "field V09._reference (fldOffset=0x0)"
;* V20 tmp15 [V20,T14] ( 0, 0 ) int -> zero-ref single-def V09._length(offs=0x08) P-INDEP "field V09._length (fldOffset=0x8)"
;* V20 tmp15 [V20,T14] ( 0, 0 ) int -> zero-ref single-def V09._length(offs=0x08) P-INDEP "field V09._length (fldOffset=0x8)"
;* V21 tmp16 [V21 ] ( 0, 0 ) byref -> zero-ref single-def V10._reference(offs=0x00) P-INDEP "field V10._reference (fldOffset=0x0)"
;* V21 tmp16 [V21 ] ( 0, 0 ) byref -> zero-ref single-def V10._reference(offs=0x00) P-INDEP "field V10._reference (fldOffset=0x0)"
;* V22 tmp17 [V22 ] ( 0, 0 ) int -> zero-ref single-def V10._length(offs=0x08) P-INDEP "field V10._length (fldOffset=0x8)"
;* V22 tmp17 [V22 ] ( 0, 0 ) int -> zero-ref single-def V10._length(offs=0x08) P-INDEP "field V10._length (fldOffset=0x8)"
; V23 tmp18 [V23 ] ( 3, 3 ) struct (16) [rsp+20H] do-not-enreg[XSF] must-init addr-exposed "by-value struct argument"
; V23 tmp18 [V23 ] ( 3, 3 ) struct (16) [rsp+20H] do-not-enreg[XSF] must-init addr-exposed "by-value struct argument"
; V24 cse0 [V24,T06] ( 4, 2 ) int -> r14 "CSE - aggressive"
; V24 cse0 [V24,T06] ( 4, 2 ) int -> r14 "CSE - aggressive"
;
;
; Lcl frame size = 48
; Lcl frame size = 48


G_M42235_IG01:
G_M42235_IG01:
push r15
push r15
push r14
push r14
push r12
push r12
push rdi
push rdi
push rsi
push rsi
push rbp
push rbp
push rbx
push rbx
sub rsp, 48
sub rsp, 48
xor eax, eax
xor eax, eax
mov qword ptr [rsp+20H], rax
mov qword ptr [rsp+20H], rax
mov qword ptr [rsp+28H], rax
mov qword ptr [rsp+28H], rax
mov rdi, rcx
mov rdi, rcx
mov rsi, rdx
mov rsi, rdx
mov rbx, r8
mov rbx, r8
;; size=35 bbWeight=1 PerfScore 10.25
;; size=35 bbWeight=1 PerfScore 10.25
G_M42235_IG02:
G_M42235_IG02:
xor edx, edx
xor edx, edx
mov dword ptr [rbx], edx
mov dword ptr [rbx], edx
mov edx, dword ptr [rsi]
mov edx, dword ptr [rsi]
mov rcx, rdi
mov rcx, rdi
xor r8d, r8d
xor r8d, r8d
call [System.Net.Http.HttpRuleParser:GetNumberLength(System.String,int,bool):int]
call [System.Net.Http.HttpRuleParser:GetNumberLength(System.String,int,bool):int]
mov ebp, eax
mov ebp, eax
test ebp, ebp
test ebp, ebp
je SHORT G_M42235_IG04
je SHORT G_M42235_IG04
;; size=24 bbWeight=1 PerfScore 8.25
;; size=24 bbWeight=1 PerfScore 8.25
G_M42235_IG03:
G_M42235_IG03:
cmp ebp, 3
cmp ebp, 3
jle SHORT G_M42235_IG06
jle SHORT G_M42235_IG06
;; size=5 bbWeight=0.50 PerfScore 0.62
;; size=5 bbWeight=0.50 PerfScore 0.62
G_M42235_IG04:
G_M42235_IG04:
xor eax, eax
xor eax, eax
;; size=2 bbWeight=0.50 PerfScore 0.12
;; size=2 bbWeight=0.50 PerfScore 0.12
G_M42235_IG05:
G_M42235_IG05:
add rsp, 48
add rsp, 48
pop rbx
pop rbx
pop rbp
pop rbp
pop rsi
pop rsi
pop rdi
pop rdi
pop r12
pop r12
pop r14
pop r14
pop r15
pop r15
ret
ret
;; size=15 bbWeight=0.50 PerfScore 2.38
;; size=15 bbWeight=0.50 PerfScore 2.38
G_M42235_IG06:
G_M42235_IG06:
mov eax, dword ptr [rsi]
mov eax, dword ptr [rsi]
mov edx, eax
mov edx, eax
or edx, ebp
or edx, ebp
jl SHORT G_M42235_IG07
jl SHORT G_M42235_IG07
mov r14d, dword ptr [rdi+08H]
mov r14d, dword ptr [rdi+08H]
mov edx, r14d
mov edx, r14d
sub edx, ebp
sub edx, ebp
cmp edx, eax
cmp edx, eax
jge SHORT G_M42235_IG08
jge SHORT G_M42235_IG08
;; size=21 bbWeight=0.50 PerfScore 3.62
;; size=21 bbWeight=0.50 PerfScore 3.62
G_M42235_IG07:
G_M42235_IG07:
xor eax, eax
xor eax, eax
mov dword ptr [rbx], eax
mov dword ptr [rbx], eax
jmp SHORT G_M42235_IG11
jmp SHORT G_M42235_IG11
;; size=6 bbWeight=0.50 PerfScore 1.62
;; size=6 bbWeight=0.50 PerfScore 1.62
G_M42235_IG08:
G_M42235_IG08:
mov edx, eax
mov edx, eax
mov ecx, ebp
mov ecx, ebp
add rdx, rcx
add rdx, rcx
mov ecx, r14d
mov ecx, r14d
cmp rdx, rcx
cmp rdx, rcx
ja G_M42235_IG19
ja G_M42235_IG19
mov eax, eax
mov eax, eax
lea r15, bword ptr [rdi+2*rax+0CH]
lea r15, bword ptr [rdi+2*rax+0CH]
mov r12d, ebp
mov r12d, ebp
call [System.Globalization.CultureInfo:get_InvariantCulture():System.Globalization.CultureInfo]
call [System.Globalization.CultureInfo:get_InvariantCulture():System.Globalization.CultureInfo]
test rax, rax
test rax, rax
je SHORT G_M42235_IG13
je SHORT G_M42235_IG13
;; size=40 bbWeight=0.50 PerfScore 4.00
;; size=40 bbWeight=0.50 PerfScore 4.00
G_M42235_IG09:
G_M42235_IG09:
mov rcx, rax
mov rcx, rax
call [System.Globalization.NumberFormatInfo:<GetInstance>g__GetProviderNonNull|58_0(System.IFormatProvider):System.Globalization.NumberFormatInfo]
call [System.Globalization.NumberFormatInfo:<GetInstance>g__GetProviderNonNull|58_0(System.IFormatProvider):System.Globalization.NumberFormatInfo]
;; size=9 bbWeight=0.39 PerfScore 1.26
;; size=9 bbWeight=0.39 PerfScore 1.26
G_M42235_IG10:
G_M42235_IG10:
mov bword ptr [rsp+20H], r15
mov bword ptr [rsp+20H], r15
mov dword ptr [rsp+28H], r12d
mov dword ptr [rsp+28H], r12d
lea rcx, [rsp+20H]
lea rcx, [rsp+20H]
mov r9, rbx
mov r9, rbx
mov r8, rax
mov r8, rax
xor edx, edx
xor edx, edx
call [System.Number:TryParseBinaryIntegerStyle[int](System.ReadOnlySpan`1[ushort],int,System.Globalization.NumberFormatInfo,byref):int]
call [System.Number:TryParseBinaryIntegerStyle[int](System.ReadOnlySpan`1[ushort],int,System.Globalization.NumberFormatInfo,byref):int]
test eax, eax
test eax, eax
sete al
sete al
movzx rax, al
movzx rax, al
test eax, eax
test eax, eax
jne SHORT G_M42235_IG14
jne SHORT G_M42235_IG14
;; size=41 bbWeight=0.50 PerfScore 4.50
;; size=41 bbWeight=0.50 PerfScore 4.50
G_M42235_IG11:
G_M42235_IG11:
xor eax, eax
xor eax, eax
;; size=2 bbWeight=0.50 PerfScore 0.12
;; size=2 bbWeight=0.50 PerfScore 0.12
G_M42235_IG12:
G_M42235_IG12:
add rsp, 48
add rsp, 48
pop rbx
pop rbx
pop rbp
pop rbp
pop rsi
pop rsi
pop rdi
pop rdi
pop r12
pop r12
pop r14
pop r14
pop r15
pop r15
ret
ret
;; size=15 bbWeight=0.50 PerfScore 2.38
;; size=15 bbWeight=0.50 PerfScore 2.38
G_M42235_IG13:
G_M42235_IG13:
call [System.Globalization.NumberFormatInfo:get_CurrentInfo():System.Globalization.NumberFormatInfo]
call [System.Globalization.NumberFormatInfo:get_CurrentInfo():System.Globalization.NumberFormatInfo]
jmp SHORT G_M42235_IG10
jmp SHORT G_M42235_IG10
;; size=8 bbWeight=0.11 PerfScore 0.56
;; size=8 bbWeight=0.11 PerfScore 0.56
G_M42235_IG14:
G_M42235_IG14:
add dword ptr [rsi], ebp
add dword ptr [rsi], ebp
mov edx, dword ptr [rsi]
mov edx, dword ptr [rsi]
mov rcx, rdi
mov rcx, rdi
call [System.Net.Http.HttpRuleParser:GetWhitespaceLength(System.String,int):int]
call [System.Net.Http.HttpRuleParser:GetWhitespaceLength(System.String,int):int]
add dword ptr [rsi], eax
add dword ptr [rsi], eax
test eax, eax
je SHORT G_M42235_IG15
je SHORT G_M42235_IG15
cmp dword ptr [rsi], r14d
cmp dword ptr [rsi], r14d
jne SHORT G_M42235_IG17
jne SHORT G_M42235_IG17
;; size=24 bbWeight=0.50 PerfScore 8.25
;; size=22 bbWeight=0.50 PerfScore 8.12
G_M42235_IG15:
G_M42235_IG15:
xor eax, eax
xor eax, eax
;; size=2 bbWeight=0.50 PerfScore 0.12
;; size=2 bbWeight=0.50 PerfScore 0.12
G_M42235_IG16:
G_M42235_IG16:
add rsp, 48
add rsp, 48
pop rbx
pop rbx
pop rbp
pop rbp
pop rsi
pop rsi
pop rdi
pop rdi
pop r12
pop r12
pop r14
pop r14
pop r15
pop r15
ret
ret
;; size=15 bbWeight=0.50 PerfScore 2.38
;; size=15 bbWeight=0.50 PerfScore 2.38
G_M42235_IG17:
G_M42235_IG17:
mov eax, 1
mov eax, 1
;; size=5 bbWeight=0.50 PerfScore 0.12
;; size=5 bbWeight=0.50 PerfScore 0.12
G_M42235_IG18:
G_M42235_IG18:
add rsp, 48
add rsp, 48
pop rbx
pop rbx
pop rbp
pop rbp
pop rsi
pop rsi
pop rdi
pop rdi
pop r12
pop r12
pop r14
pop r14
pop r15
pop r15
ret
ret
;; size=15 bbWeight=0.50 PerfScore 2.38
;; size=15 bbWeight=0.50 PerfScore 2.38
G_M42235_IG19:
G_M42235_IG19:
mov ecx, 33
mov ecx, 33
call [System.ThrowHelper:ThrowArgumentOutOfRangeException(int)]
call [System.ThrowHelper:ThrowArgumentOutOfRangeException(int)]
int3
int3
;; size=12 bbWeight=0 PerfScore 0.00
;; size=12 bbWeight=0 PerfScore 0.00


; Total bytes of code 296, prolog size 26, PerfScore 82.55, instruction count 117, allocated bytes for code 296 (MethodHash=10875b04) for method System.Net.Http.Headers.WarningHeaderValue:TryReadCode(System.String,byref,byref):bool
; Total bytes of code 294, prolog size 26, PerfScore 82.22, instruction count 116, allocated bytes for code 294 (MethodHash=10875b04) for method System.Net.Http.Headers.WarningHeaderValue:TryReadCode(System.String,byref,byref):bool
; ============================================================
; ============================================================


Assert.Equal() Failure
Expected: 0
Actual: 11
Stack Trace:
C:\dev\dotnet\runtime\src\libraries\System.Net.Http\tests\UnitTests\Headers\WarningHeaderValueTest.cs(271,0): at System.Net.Http.Tests.WarningHeaderValueTest.CheckInvalidWarningViaLength(String input, Int32 startIndex)
C:\dev\dotnet\runtime\src\libraries\System.Net.Http\tests\UnitTests\Headers\WarningHeaderValueTest.cs(175,0): at System.Net.Http.Tests.WarningHeaderValueTest.GetWarningLength_DifferentInvalidScenarios_AllReturnZero()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
C:\dev\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodInvoker.cs(59,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Finished: System.Net.Http.Unit.Tests
Finished: System.Net.Http.Unit.Tests
=== TEST EXECUTION SUMMARY ===
=== TEST EXECUTION SUMMARY ===
System.Net.Http.Unit.Tests Total: 1, Errors: 0, Failed: 0, Skipped: 0, Time: 0.729s
System.Net.Http.Unit.Tests Total: 1, Errors: 0, Failed: 1, Skipped: 0, Time: 0.956s