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

Side by Side Diff: src/ia32/assembler-ia32.cc

Issue 155350: Changed hash table to use more of the hash value when probing. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 } 1233 }
1234 1234
1235 1235
1236 void Assembler::xor_(const Operand& dst, const Immediate& x) { 1236 void Assembler::xor_(const Operand& dst, const Immediate& x) {
1237 EnsureSpace ensure_space(this); 1237 EnsureSpace ensure_space(this);
1238 last_pc_ = pc_; 1238 last_pc_ = pc_;
1239 emit_arith(6, dst, x); 1239 emit_arith(6, dst, x);
1240 } 1240 }
1241 1241
1242 1242
1243 void Assembler::ror(Register dst, uint32_t count) {
1244 EnsureSpace ensure_space(this);
1245 last_pc_ = pc_;
1246 EMIT(0xC1);
1247 emit_operand(ecx, Operand(dst));
1248 ASSERT(count < 32);
1249 EMIT(count);
1250 }
1251
1252
1243 void Assembler::bt(const Operand& dst, Register src) { 1253 void Assembler::bt(const Operand& dst, Register src) {
1244 EnsureSpace ensure_space(this); 1254 EnsureSpace ensure_space(this);
1245 last_pc_ = pc_; 1255 last_pc_ = pc_;
1246 EMIT(0x0F); 1256 EMIT(0x0F);
1247 EMIT(0xA3); 1257 EMIT(0xA3);
1248 emit_operand(src, dst); 1258 emit_operand(src, dst);
1249 } 1259 }
1250 1260
1251 1261
1252 void Assembler::bts(const Operand& dst, Register src) { 1262 void Assembler::bts(const Operand& dst, Register src) {
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
2211 push_insn[1] = 13; // Skip over coverage insns. 2221 push_insn[1] = 13; // Skip over coverage insns.
2212 if (coverage_log != NULL) { 2222 if (coverage_log != NULL) {
2213 fprintf(coverage_log, "%s\n", file_line); 2223 fprintf(coverage_log, "%s\n", file_line);
2214 fflush(coverage_log); 2224 fflush(coverage_log);
2215 } 2225 }
2216 } 2226 }
2217 2227
2218 #endif 2228 #endif
2219 2229
2220 } } // namespace v8::internal 2230 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698