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

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

Issue 980073003: MIPS: [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix shifts. Created 5 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
« no previous file with comments | « src/compiler/mips64/instruction-selector-mips64.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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 inline void Move(Register dst_low, Register dst_high, FPURegister src) { 235 inline void Move(Register dst_low, Register dst_high, FPURegister src) {
236 mfc1(dst_low, src); 236 mfc1(dst_low, src);
237 Mfhc1(dst_high, src); 237 Mfhc1(dst_high, src);
238 } 238 }
239 239
240 inline void FmoveHigh(Register dst_high, FPURegister src) { 240 inline void FmoveHigh(Register dst_high, FPURegister src) {
241 Mfhc1(dst_high, src); 241 Mfhc1(dst_high, src);
242 } 242 }
243 243
244 inline void FmoveHigh(FPURegister dst, Register src_high) {
245 Mthc1(src_high, dst);
246 }
247
244 inline void FmoveLow(Register dst_low, FPURegister src) { 248 inline void FmoveLow(Register dst_low, FPURegister src) {
245 mfc1(dst_low, src); 249 mfc1(dst_low, src);
246 } 250 }
247 251
252 void FmoveLow(FPURegister dst, Register src_low);
253
248 inline void Move(FPURegister dst, Register src_low, Register src_high) { 254 inline void Move(FPURegister dst, Register src_low, Register src_high) {
249 mtc1(src_low, dst); 255 mtc1(src_low, dst);
250 Mthc1(src_high, dst); 256 Mthc1(src_high, dst);
251 } 257 }
252 258
253 void Move(FPURegister dst, float imm); 259 void Move(FPURegister dst, float imm);
254 void Move(FPURegister dst, double imm); 260 void Move(FPURegister dst, double imm);
255 261
256 // Conditional move. 262 // Conditional move.
257 void Movz(Register rd, Register rs, Register rt); 263 void Movz(Register rd, Register rs, Register rt);
(...skipping 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1708 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1714 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1709 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1715 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1710 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1716 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1711 #else 1717 #else
1712 #define ACCESS_MASM(masm) masm-> 1718 #define ACCESS_MASM(masm) masm->
1713 #endif 1719 #endif
1714 1720
1715 } } // namespace v8::internal 1721 } } // namespace v8::internal
1716 1722
1717 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1723 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/compiler/mips64/instruction-selector-mips64.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698