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

Side by Side Diff: src/mips/macro-assembler-mips.h

Issue 132373011: A64: Synchronize with r17635. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 272
273 // Jump unconditionally to given label. 273 // Jump unconditionally to given label.
274 // We NEED a nop in the branch delay slot, as it used by v8, for example in 274 // We NEED a nop in the branch delay slot, as it used by v8, for example in
275 // CodeGenerator::ProcessDeferred(). 275 // CodeGenerator::ProcessDeferred().
276 // Currently the branch delay slot is filled by the MacroAssembler. 276 // Currently the branch delay slot is filled by the MacroAssembler.
277 // Use rather b(Label) for code generation. 277 // Use rather b(Label) for code generation.
278 void jmp(Label* L) { 278 void jmp(Label* L) {
279 Branch(L); 279 Branch(L);
280 } 280 }
281 281
282 void Load(Register dst, const MemOperand& src, Representation r);
283 void Store(Register src, const MemOperand& dst, Representation r);
284
282 // Load an object from the root table. 285 // Load an object from the root table.
283 void LoadRoot(Register destination, 286 void LoadRoot(Register destination,
284 Heap::RootListIndex index); 287 Heap::RootListIndex index);
285 void LoadRoot(Register destination, 288 void LoadRoot(Register destination,
286 Heap::RootListIndex index, 289 Heap::RootListIndex index,
287 Condition cond, Register src1, const Operand& src2); 290 Condition cond, Register src1, const Operand& src2);
288 291
289 // Store an object to the root table. 292 // Store an object to the root table.
290 void StoreRoot(Register source, 293 void StoreRoot(Register source,
291 Heap::RootListIndex index); 294 Heap::RootListIndex index);
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 1522
1520 void JumpIfJSArrayHasAllocationMemento(Register receiver_reg, 1523 void JumpIfJSArrayHasAllocationMemento(Register receiver_reg,
1521 Register scratch_reg, 1524 Register scratch_reg,
1522 Label* memento_found) { 1525 Label* memento_found) {
1523 Label no_memento_found; 1526 Label no_memento_found;
1524 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, 1527 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg,
1525 &no_memento_found, eq, memento_found); 1528 &no_memento_found, eq, memento_found);
1526 bind(&no_memento_found); 1529 bind(&no_memento_found);
1527 } 1530 }
1528 1531
1532 // Jumps to found label if a prototype map has dictionary elements.
1533 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0,
1534 Register scratch1, Label* found);
1535
1529 private: 1536 private:
1530 void CallCFunctionHelper(Register function, 1537 void CallCFunctionHelper(Register function,
1531 int num_reg_arguments, 1538 int num_reg_arguments,
1532 int num_double_arguments); 1539 int num_double_arguments);
1533 1540
1534 void BranchShort(int16_t offset, BranchDelaySlot bdslot = PROTECT); 1541 void BranchShort(int16_t offset, BranchDelaySlot bdslot = PROTECT);
1535 void BranchShort(int16_t offset, Condition cond, Register rs, 1542 void BranchShort(int16_t offset, Condition cond, Register rs,
1536 const Operand& rt, 1543 const Operand& rt,
1537 BranchDelaySlot bdslot = PROTECT); 1544 BranchDelaySlot bdslot = PROTECT);
1538 void BranchShort(Label* L, BranchDelaySlot bdslot = PROTECT); 1545 void BranchShort(Label* L, BranchDelaySlot bdslot = PROTECT);
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1642 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1649 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1643 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1650 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1644 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1651 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1645 #else 1652 #else
1646 #define ACCESS_MASM(masm) masm-> 1653 #define ACCESS_MASM(masm) masm->
1647 #endif 1654 #endif
1648 1655
1649 } } // namespace v8::internal 1656 } } // namespace v8::internal
1650 1657
1651 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1658 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698