-
Notifications
You must be signed in to change notification settings - Fork 15.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added const qualifier to iterator to enable compiling with VS2008 #1
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi, please sign this Google Individual Contributor License Agreement: |
I've submitted the form electronically so we'll see where we go from there... |
xfxyjwf
added a commit
that referenced
this pull request
Sep 2, 2014
Added const qualifier to iterator to enable compiling with VS2008
anandolee
pushed a commit
that referenced
this pull request
Apr 18, 2015
Rewrite of C# protogen to C++ (initial version)
TeBoring
pushed a commit
that referenced
this pull request
Jun 2, 2015
A few corrections to the proposed podspec
stoneStyle
added a commit
to stoneStyle/protobuf
that referenced
this pull request
Dec 1, 2015
liujisi
pushed a commit
that referenced
this pull request
May 12, 2016
ghost
mentioned this pull request
Sep 29, 2016
Closed
Closed
Closed
xfxyjwf
pushed a commit
that referenced
this pull request
Feb 22, 2018
Added instruction for existing ZLIB configuration
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 12, 2024
PiperOrigin-RevId: 661433949
Merged
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 12, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 15, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 15, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 15, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 15, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 15, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 15, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 15, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 15, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 15, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 15, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 16, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 16, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 16, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 16, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 16, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 16, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 16, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 16, 2024
PiperOrigin-RevId: 661433949
copybara-service bot
pushed a commit
that referenced
this pull request
Aug 17, 2024
PiperOrigin-RevId: 663974332
copybara-service bot
pushed a commit
that referenced
this pull request
Nov 28, 2024
Loop body before: ``` .LBB0_2: add w8, w12, #1 cmp w8, w11 b.gt .LBB0_6 // Predictable branch, ends the loop .LBB0_3: add w12, w8, w11 add w12, w12, w12, lsr #31 asr w12, w12, #1 smaddl x0, w12, w10, x9 ldr w13, [x0] cmp w13, w1 b.lo .LBB0_2 // Unpredictable branch here! Will be hit 50/50 in prod b.ls .LBB0_7 // Predictable branch - ends the loop sub w11, w12, #1 cmp w8, w11 b.le .LBB0_3 // Predictable branch - continues the loop ``` Loop body after: ``` .LBB7_1: cmp w9, w11 b.hi .LBB7_4 // Predictable branch - ends the loop add w12, w9, w11 lsr w12, w12, #1 umaddl x0, w12, w8, x10 sub w14, w12, #1 ldr w13, [x0] cmp w13, w1 csel w11, w14, w11, hs csinc w9, w9, w12, hs b.ne .LBB7_1 // Predictable branch - continues the loop ``` PiperOrigin-RevId: 700864625
copybara-service bot
pushed a commit
that referenced
this pull request
Dec 4, 2024
On a Cortex-A55 this resulted in a 28.30% reduction in CPU and wall time for the binary search path. Loop body before: ``` .LBB0_2: add w8, w12, #1 cmp w8, w11 b.gt .LBB0_6 // Predictable branch, ends the loop .LBB0_3: add w12, w8, w11 add w12, w12, w12, lsr #31 asr w12, w12, #1 smaddl x0, w12, w10, x9 ldr w13, [x0] cmp w13, w1 b.lo .LBB0_2 // Unpredictable branch here! Will be hit 50/50 in prod b.ls .LBB0_7 // Predictable branch - ends the loop sub w11, w12, #1 cmp w8, w11 b.le .LBB0_3 // Predictable branch - continues the loop ``` Loop body after: ``` .LBB7_1: cmp w9, w11 b.hi .LBB7_4 // Predictable branch - ends the loop add w12, w9, w11 lsr w12, w12, #1 umaddl x0, w12, w8, x10 sub w14, w12, #1 ldr w13, [x0] cmp w13, w1 csel w11, w14, w11, hs csinc w9, w9, w12, hs b.ne .LBB7_1 // Predictable branch - continues the loop ``` PiperOrigin-RevId: 700864625
copybara-service bot
pushed a commit
that referenced
this pull request
Dec 4, 2024
On a Cortex-A55 this resulted in a 28.30% reduction in CPU and wall time for the binary search path. Loop body before: ``` .LBB0_2: add w8, w12, #1 cmp w8, w11 b.gt .LBB0_6 // Predictable branch, ends the loop .LBB0_3: add w12, w8, w11 add w12, w12, w12, lsr #31 asr w12, w12, #1 smaddl x0, w12, w10, x9 ldr w13, [x0] cmp w13, w1 b.lo .LBB0_2 // Unpredictable branch here! Will be hit 50/50 in prod b.ls .LBB0_7 // Predictable branch - ends the loop sub w11, w12, #1 cmp w8, w11 b.le .LBB0_3 // Predictable branch - continues the loop ``` Loop body after: ``` .LBB7_1: cmp w9, w11 b.hi .LBB7_4 // Predictable branch - ends the loop add w12, w9, w11 lsr w12, w12, #1 umaddl x0, w12, w8, x10 sub w14, w12, #1 ldr w13, [x0] cmp w13, w1 csel w11, w14, w11, hs csinc w9, w9, w12, hs b.ne .LBB7_1 // Predictable branch - continues the loop ``` PiperOrigin-RevId: 700864625
copybara-service bot
pushed a commit
that referenced
this pull request
Dec 4, 2024
On a Cortex-A55 this resulted in a 28.30% reduction in CPU and wall time for the binary search path. Loop body before: ``` .LBB0_2: add w8, w12, #1 cmp w8, w11 b.gt .LBB0_6 // Predictable branch, ends the loop .LBB0_3: add w12, w8, w11 add w12, w12, w12, lsr #31 asr w12, w12, #1 smaddl x0, w12, w10, x9 ldr w13, [x0] cmp w13, w1 b.lo .LBB0_2 // Unpredictable branch here! Will be hit 50/50 in prod b.ls .LBB0_7 // Predictable branch - ends the loop sub w11, w12, #1 cmp w8, w11 b.le .LBB0_3 // Predictable branch - continues the loop ``` Loop body after: ``` .LBB7_1: cmp w9, w11 b.hi .LBB7_4 // Predictable branch - ends the loop add w12, w9, w11 lsr w12, w12, #1 umaddl x0, w12, w8, x10 sub w14, w12, #1 ldr w13, [x0] cmp w13, w1 csel w11, w14, w11, hs csinc w9, w9, w12, hs b.ne .LBB7_1 // Predictable branch - continues the loop ``` PiperOrigin-RevId: 700864625
copybara-service bot
pushed a commit
that referenced
this pull request
Dec 4, 2024
On a Cortex-A55 this resulted in a 28.30% reduction in CPU and wall time for the binary search path. Loop body before: ``` .LBB0_2: add w8, w12, #1 cmp w8, w11 b.gt .LBB0_6 // Predictable branch, ends the loop .LBB0_3: add w12, w8, w11 add w12, w12, w12, lsr #31 asr w12, w12, #1 smaddl x0, w12, w10, x9 ldr w13, [x0] cmp w13, w1 b.lo .LBB0_2 // Unpredictable branch here! Will be hit 50/50 in prod b.ls .LBB0_7 // Predictable branch - ends the loop sub w11, w12, #1 cmp w8, w11 b.le .LBB0_3 // Predictable branch - continues the loop ``` Loop body after: ``` .LBB7_1: cmp w9, w11 b.hi .LBB7_4 // Predictable branch - ends the loop add w12, w9, w11 lsr w12, w12, #1 umaddl x0, w12, w8, x10 sub w14, w12, #1 ldr w13, [x0] cmp w13, w1 csel w11, w14, w11, hs csinc w9, w9, w12, hs b.ne .LBB7_1 // Predictable branch - continues the loop ``` PiperOrigin-RevId: 700864625
copybara-service bot
pushed a commit
that referenced
this pull request
Dec 5, 2024
On a Cortex-A55 this resulted in a 28.30% reduction in CPU and wall time for the binary search path. Loop body before: ``` .LBB0_2: add w8, w12, #1 cmp w8, w11 b.gt .LBB0_6 // Predictable branch, ends the loop .LBB0_3: add w12, w8, w11 add w12, w12, w12, lsr #31 asr w12, w12, #1 smaddl x0, w12, w10, x9 ldr w13, [x0] cmp w13, w1 b.lo .LBB0_2 // Unpredictable branch here! Will be hit 50/50 in prod b.ls .LBB0_7 // Predictable branch - ends the loop sub w11, w12, #1 cmp w8, w11 b.le .LBB0_3 // Predictable branch - continues the loop ``` Loop body after: ``` .LBB7_1: cmp w9, w11 b.hi .LBB7_4 // Predictable branch - ends the loop add w12, w9, w11 lsr w12, w12, #1 umaddl x0, w12, w8, x10 sub w14, w12, #1 ldr w13, [x0] cmp w13, w1 csel w11, w14, w11, hs csinc w9, w9, w12, hs b.ne .LBB7_1 // Predictable branch - continues the loop ``` PiperOrigin-RevId: 703213921
copybara-service bot
pushed a commit
that referenced
this pull request
Dec 5, 2024
On a Cortex-A55 this resulted in a 28.30% reduction in CPU and wall time for the binary search path. Loop body before: ``` .LBB0_2: add w8, w12, #1 cmp w8, w11 b.gt .LBB0_6 // Predictable branch, ends the loop .LBB0_3: add w12, w8, w11 add w12, w12, w12, lsr #31 asr w12, w12, #1 smaddl x0, w12, w10, x9 ldr w13, [x0] cmp w13, w1 b.lo .LBB0_2 // Unpredictable branch here! Will be hit 50/50 in prod b.ls .LBB0_7 // Predictable branch - ends the loop sub w11, w12, #1 cmp w8, w11 b.le .LBB0_3 // Predictable branch - continues the loop ``` Loop body after: ``` .LBB7_1: cmp w9, w11 b.hi .LBB7_4 // Predictable branch - ends the loop add w12, w9, w11 lsr w12, w12, #1 umaddl x0, w12, w8, x10 sub w14, w12, #1 ldr w13, [x0] cmp w13, w1 csel w11, w14, w11, hs csinc w9, w9, w12, hs b.ne .LBB7_1 // Predictable branch - continues the loop ``` PiperOrigin-RevId: 703214356
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.