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

Side by Side Diff: src/x64/code-stubs-x64.cc

Issue 10170030: Implement tracking and optimizations of packed arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ia32 ready to go Created 8 years, 7 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 5975 matching lines...) Expand 10 before | Expand all | Expand 10 after
5986 // GenerateStoreField calls the stub with two different permutations of 5986 // GenerateStoreField calls the stub with two different permutations of
5987 // registers. This is the second. 5987 // registers. This is the second.
5988 { REG(rbx), REG(rcx), REG(rdx), EMIT_REMEMBERED_SET }, 5988 { REG(rbx), REG(rcx), REG(rdx), EMIT_REMEMBERED_SET },
5989 // StoreIC::GenerateNormal via GenerateDictionaryStore. 5989 // StoreIC::GenerateNormal via GenerateDictionaryStore.
5990 { REG(rbx), REG(r8), REG(r9), EMIT_REMEMBERED_SET }, 5990 { REG(rbx), REG(r8), REG(r9), EMIT_REMEMBERED_SET },
5991 // KeyedStoreIC::GenerateGeneric. 5991 // KeyedStoreIC::GenerateGeneric.
5992 { REG(rbx), REG(rdx), REG(rcx), EMIT_REMEMBERED_SET}, 5992 { REG(rbx), REG(rdx), REG(rcx), EMIT_REMEMBERED_SET},
5993 // KeyedStoreStubCompiler::GenerateStoreFastElement. 5993 // KeyedStoreStubCompiler::GenerateStoreFastElement.
5994 { REG(rdi), REG(rbx), REG(rcx), EMIT_REMEMBERED_SET}, 5994 { REG(rdi), REG(rbx), REG(rcx), EMIT_REMEMBERED_SET},
5995 { REG(rdx), REG(rdi), REG(rbx), EMIT_REMEMBERED_SET}, 5995 { REG(rdx), REG(rdi), REG(rbx), EMIT_REMEMBERED_SET},
5996 // ElementsTransitionGenerator::GenerateSmiOnlyToObject 5996 // ElementsTransitionGenerator::GenerateMapChangeElementTransition
5997 // and ElementsTransitionGenerator::GenerateSmiOnlyToObject 5997 // and ElementsTransitionGenerator::GenerateSmiOnlyToDouble
5998 // and ElementsTransitionGenerator::GenerateDoubleToObject 5998 // and ElementsTransitionGenerator::GenerateDoubleToObject
5999 { REG(rdx), REG(rbx), REG(rdi), EMIT_REMEMBERED_SET}, 5999 { REG(rdx), REG(rbx), REG(rdi), EMIT_REMEMBERED_SET},
6000 { REG(rdx), REG(rbx), REG(rdi), OMIT_REMEMBERED_SET}, 6000 { REG(rdx), REG(rbx), REG(rdi), OMIT_REMEMBERED_SET},
6001 // ElementsTransitionGenerator::GenerateSmiOnlyToDouble 6001 // ElementsTransitionGenerator::GenerateSmiOnlyToDouble
6002 // and ElementsTransitionGenerator::GenerateDoubleToObject 6002 // and ElementsTransitionGenerator::GenerateDoubleToObject
6003 { REG(rdx), REG(r11), REG(r15), EMIT_REMEMBERED_SET}, 6003 { REG(rdx), REG(r11), REG(r15), EMIT_REMEMBERED_SET},
6004 // ElementsTransitionGenerator::GenerateDoubleToObject 6004 // ElementsTransitionGenerator::GenerateDoubleToObject
6005 { REG(r11), REG(rax), REG(r15), EMIT_REMEMBERED_SET}, 6005 { REG(r11), REG(rax), REG(r15), EMIT_REMEMBERED_SET},
6006 // StoreArrayLiteralElementStub::Generate 6006 // StoreArrayLiteralElementStub::Generate
6007 { REG(rbx), REG(rax), REG(rcx), EMIT_REMEMBERED_SET}, 6007 { REG(rbx), REG(rax), REG(rcx), EMIT_REMEMBERED_SET},
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
6326 xmm0, 6326 xmm0,
6327 &slow_elements); 6327 &slow_elements);
6328 __ ret(0); 6328 __ ret(0);
6329 } 6329 }
6330 6330
6331 #undef __ 6331 #undef __
6332 6332
6333 } } // namespace v8::internal 6333 } } // namespace v8::internal
6334 6334
6335 #endif // V8_TARGET_ARCH_X64 6335 #endif // V8_TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698