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

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

Issue 773113005: MIPS64: [turbofan] Add checked load/store operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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/mips64/lithium-codegen-mips64.cc ('k') | src/mips64/macro-assembler-mips64.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.h"
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 inline void FmoveLow(Register dst_low, FPURegister src) { 265 inline void FmoveLow(Register dst_low, FPURegister src) {
266 mfc1(dst_low, src); 266 mfc1(dst_low, src);
267 } 267 }
268 268
269 inline void Move(FPURegister dst, Register src_low, Register src_high) { 269 inline void Move(FPURegister dst, Register src_low, Register src_high) {
270 mtc1(src_low, dst); 270 mtc1(src_low, dst);
271 mthc1(src_high, dst); 271 mthc1(src_high, dst);
272 } 272 }
273 273
274 void Move(FPURegister dst, float imm);
275 void Move(FPURegister dst, double imm);
276
274 // Conditional move. 277 // Conditional move.
275 void Move(FPURegister dst, double imm);
276 void Movz(Register rd, Register rs, Register rt); 278 void Movz(Register rd, Register rs, Register rt);
277 void Movn(Register rd, Register rs, Register rt); 279 void Movn(Register rd, Register rs, Register rt);
278 void Movt(Register rd, Register rs, uint16_t cc = 0); 280 void Movt(Register rd, Register rs, uint16_t cc = 0);
279 void Movf(Register rd, Register rs, uint16_t cc = 0); 281 void Movf(Register rd, Register rs, uint16_t cc = 0);
280 282
281 void Clz(Register rd, Register rs); 283 void Clz(Register rd, Register rs);
282 284
283 // Jump unconditionally to given label. 285 // Jump unconditionally to given label.
284 // We NEED a nop in the branch delay slot, as it used by v8, for example in 286 // We NEED a nop in the branch delay slot, as it used by v8, for example in
285 // CodeGenerator::ProcessDeferred(). 287 // CodeGenerator::ProcessDeferred().
(...skipping 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after
1794 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1796 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1795 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1797 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1796 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1798 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1797 #else 1799 #else
1798 #define ACCESS_MASM(masm) masm-> 1800 #define ACCESS_MASM(masm) masm->
1799 #endif 1801 #endif
1800 1802
1801 } } // namespace v8::internal 1803 } } // namespace v8::internal
1802 1804
1803 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1805 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/lithium-codegen-mips64.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698