summaryrefslogtreecommitdiff
path: root/compiler/utils/mips/assembler_mips.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2014-05-02 16:55:00 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-05-02 16:55:00 +0000
commit6a6a5304e75a1af484975cedc832d0a80c3e5e61 (patch)
tree547cc708e06e6541676b17066023ae6f07b2049b /compiler/utils/mips/assembler_mips.cc
parent56a341a82ece9aa4f2a071629f3e1fd1adf988ae (diff)
parent8194963098247be6bca9cc4a54dbfa65c73e8ccc (diff)
Merge "Replace CountOneBits and __builtin_popcount with POPCOUNT."
Diffstat (limited to 'compiler/utils/mips/assembler_mips.cc')
-rw-r--r--compiler/utils/mips/assembler_mips.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/mips/assembler_mips.cc b/compiler/utils/mips/assembler_mips.cc
index 45d3a97ac1..9001f8a41f 100644
--- a/compiler/utils/mips/assembler_mips.cc
+++ b/compiler/utils/mips/assembler_mips.cc
@@ -123,7 +123,7 @@ void MipsAssembler::EmitJump(Label* label, bool link) {
int32_t MipsAssembler::EncodeBranchOffset(int offset, int32_t inst, bool is_jump) {
CHECK_ALIGNED(offset, 4);
- CHECK(IsInt(CountOneBits(kBranchOffsetMask), offset)) << offset;
+ CHECK(IsInt(POPCOUNT(kBranchOffsetMask), offset)) << offset;
// Properly preserve only the bits supported in the instruction.
offset >>= 2;