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

Side by Side Diff: src/x64/stub-cache-x64.cc

Issue 196893003: Introduce addp, idivp, imulp and subp for x64 port (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 #ifdef DEBUG 96 #ifdef DEBUG
97 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) { 97 if (FLAG_test_secondary_stub_cache && table == StubCache::kPrimary) {
98 __ jmp(&miss); 98 __ jmp(&miss);
99 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) { 99 } else if (FLAG_test_primary_stub_cache && table == StubCache::kSecondary) {
100 __ jmp(&miss); 100 __ jmp(&miss);
101 } 101 }
102 #endif 102 #endif
103 103
104 // Jump to the first instruction in the code stub. 104 // Jump to the first instruction in the code stub.
105 __ addq(kScratchRegister, Immediate(Code::kHeaderSize - kHeapObjectTag)); 105 __ addp(kScratchRegister, Immediate(Code::kHeaderSize - kHeapObjectTag));
106 __ jmp(kScratchRegister); 106 __ jmp(kScratchRegister);
107 107
108 __ bind(&miss); 108 __ bind(&miss);
109 } 109 }
110 110
111 111
112 void StubCompiler::GenerateDictionaryNegativeLookup(MacroAssembler* masm, 112 void StubCompiler::GenerateDictionaryNegativeLookup(MacroAssembler* masm,
113 Label* miss_label, 113 Label* miss_label,
114 Register receiver, 114 Register receiver,
115 Handle<Name> name, 115 Handle<Name> name,
(...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 // ----------------------------------- 1442 // -----------------------------------
1443 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); 1443 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss);
1444 } 1444 }
1445 1445
1446 1446
1447 #undef __ 1447 #undef __
1448 1448
1449 } } // namespace v8::internal 1449 } } // namespace v8::internal
1450 1450
1451 #endif // V8_TARGET_ARCH_X64 1451 #endif // V8_TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698