Revision: 4847
Author: [email protected]
Date: Fri Jun 11 05:26:41 2010
Log: Fix thinko in arm transcendental cache probing introduced just before
committing.
Review URL: http://codereview.chromium.org/2764009
http://code.google.com/p/v8/source/detail?r=4847
Modified:
/branches/bleeding_edge/src/arm/codegen-arm.cc
=======================================
--- /branches/bleeding_edge/src/arm/codegen-arm.cc Fri Jun 11 03:18:44 2010
+++ /branches/bleeding_edge/src/arm/codegen-arm.cc Fri Jun 11 05:26:41 2010
@@ -8278,7 +8278,7 @@
// r3 = high 32 bits of double value
// Compute hash:
// h = (low ^ high); h ^= h >> 16; h ^= h >> 8; h = h & (cacheSize -
1);
- __ eor(r1, r2, Operand(r2));
+ __ eor(r1, r2, Operand(r3));
__ eor(r1, r1, Operand(r1, LSR, 16));
__ eor(r1, r1, Operand(r1, LSR, 8));
ASSERT(IsPowerOf2(TranscendentalCache::kCacheSize));
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev