[ptr-compr] Use branchful pointer decompression in generated code
Locally tested, octane results are the same or better when using branchful decompression in generated code. The biggest one is DeltaBlue in x64 which improves about 25%. x64's EarleyBoyer is another important one with ~10% improvement. Bug: v8:7703 Change-Id: Ie1edd6e216b307a1f5263b22472c0a64f76400fc Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1690955 Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org> Reviewed-by: Sigurd Schneider <sigurds@chromium.org> Cr-Commit-Position: refs/heads/master@{#62577}
This commit is contained in:
parent
e9169905ab
commit
6ad6dd1a7a
@ -240,7 +240,7 @@ using AtomicTagged_t = base::AtomicWord;
|
||||
// Defines whether the branchless or branchful implementation of pointer
|
||||
// decompression should be used.
|
||||
constexpr bool kUseBranchlessPtrDecompressionInRuntime = false;
|
||||
constexpr bool kUseBranchlessPtrDecompressionInGeneratedCode = true;
|
||||
constexpr bool kUseBranchlessPtrDecompressionInGeneratedCode = false;
|
||||
|
||||
STATIC_ASSERT(kTaggedSize == (1 << kTaggedSizeLog2));
|
||||
STATIC_ASSERT((kTaggedSize == 8) == TAGGED_SIZE_8_BYTES);
|
||||
|
Loading…
Reference in New Issue
Block a user