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

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

Issue 762853004: MIPS: [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/mips/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 // 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/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 inline void FmoveLow(Register dst_low, FPURegister src) { 244 inline void FmoveLow(Register dst_low, FPURegister src) {
245 mfc1(dst_low, src); 245 mfc1(dst_low, src);
246 } 246 }
247 247
248 inline void Move(FPURegister dst, Register src_low, Register src_high) { 248 inline void Move(FPURegister dst, Register src_low, Register src_high) {
249 mtc1(src_low, dst); 249 mtc1(src_low, dst);
250 Mthc1(src_high, dst); 250 Mthc1(src_high, dst);
251 } 251 }
252 252
253 void Move(FPURegister dst, float imm);
254 void Move(FPURegister dst, double imm);
255
253 // Conditional move. 256 // Conditional move.
254 void Move(FPURegister dst, double imm);
255 void Movz(Register rd, Register rs, Register rt); 257 void Movz(Register rd, Register rs, Register rt);
256 void Movn(Register rd, Register rs, Register rt); 258 void Movn(Register rd, Register rs, Register rt);
257 void Movt(Register rd, Register rs, uint16_t cc = 0); 259 void Movt(Register rd, Register rs, uint16_t cc = 0);
258 void Movf(Register rd, Register rs, uint16_t cc = 0); 260 void Movf(Register rd, Register rs, uint16_t cc = 0);
259 261
260 void Clz(Register rd, Register rs); 262 void Clz(Register rd, Register rs);
261 263
262 // Jump unconditionally to given label. 264 // Jump unconditionally to given label.
263 // We NEED a nop in the branch delay slot, as it used by v8, for example in 265 // We NEED a nop in the branch delay slot, as it used by v8, for example in
264 // CodeGenerator::ProcessDeferred(). 266 // CodeGenerator::ProcessDeferred().
(...skipping 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1728 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1730 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1729 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1731 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1730 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1732 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1731 #else 1733 #else
1732 #define ACCESS_MASM(masm) masm-> 1734 #define ACCESS_MASM(masm) masm->
1733 #endif 1735 #endif
1734 1736
1735 } } // namespace v8::internal 1737 } } // namespace v8::internal
1736 1738
1737 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1739 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/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