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

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

Issue 66163007: MIPS: Reland 17588: Add signed/unsigned 8-bit and 16-bit Representations to Crankshaft. (Closed) Base URL: git@github.com:paul99/v8m-rb.git@master
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « src/mips/lithium-codegen-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 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1646 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1649 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1647 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1650 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1648 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1651 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1649 #else 1652 #else
1650 #define ACCESS_MASM(masm) masm-> 1653 #define ACCESS_MASM(masm) masm->
1651 #endif 1654 #endif
1652 1655
1653 } } // namespace v8::internal 1656 } } // namespace v8::internal
1654 1657
1655 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1658 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698