Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: src/base/bits.h

Issue 974313002: [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: arm port. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/base/bits.cc » ('j') | src/compiler/machine-operator.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/bits.h
diff --git a/src/base/bits.h b/src/base/bits.h
index 5c7cd74c610d5f8f59b21214d888d2b284825935..36dcf29a4b284d81d32c3fc5e1dae40fdcfad054 100644
--- a/src/base/bits.h
+++ b/src/base/bits.h
@@ -238,6 +238,11 @@ inline uint32_t UnsignedMod32(uint32_t lhs, uint32_t rhs) {
return rhs ? lhs % rhs : 0u;
}
+
+// InsertElement64(val, elm, off) returns |val| with the 32 bits at |off|
+// replaced by |elm|. |off| must be either 0 or 1.
+uint64_t InsertElement64(uint64_t val, uint32_t elm, uint8_t off);
+
} // namespace bits
} // namespace base
} // namespace v8
« no previous file with comments | « no previous file | src/base/bits.cc » ('j') | src/compiler/machine-operator.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698