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/assembler-mips.h

Issue 1272883003: [turbofan] Remove architecture-specific linkage files and LinkageTraits. Use macro-assembler-define… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/ia32/macro-assembler-ia32.h ('k') | src/mips/macro-assembler-mips.h » ('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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 325
326 // Register aliases. 326 // Register aliases.
327 // cp is assumed to be a callee saved register. 327 // cp is assumed to be a callee saved register.
328 // Defined using #define instead of "static const Register&" because Clang 328 // Defined using #define instead of "static const Register&" because Clang
329 // complains otherwise when a compilation unit that includes this header 329 // complains otherwise when a compilation unit that includes this header
330 // doesn't use the variables. 330 // doesn't use the variables.
331 #define kRootRegister s6 331 #define kRootRegister s6
332 #define cp s7 332 #define cp s7
333 #define kLithiumScratchReg s3 333 #define kLithiumScratchReg s3
334 #define kLithiumScratchReg2 s4 334 #define kLithiumScratchReg2 s4
335 #define kInterpreterBytecodeOffsetRegister t4
336 #define kInterpreterBytecodeArrayRegister t5
337 #define kInterpreterDispatchTableRegister t6
338 #define kLithiumScratchDouble f30 335 #define kLithiumScratchDouble f30
339 #define kDoubleRegZero f28 336 #define kDoubleRegZero f28
340 // Used on mips32r6 for compare operations. 337 // Used on mips32r6 for compare operations.
341 #define kDoubleCompareReg f31 338 #define kDoubleCompareReg f31
342 339
343 // FPU (coprocessor 1) control registers. 340 // FPU (coprocessor 1) control registers.
344 // Currently only FCSR (#31) is implemented. 341 // Currently only FCSR (#31) is implemented.
345 struct FPUControlRegister { 342 struct FPUControlRegister {
346 bool is_valid() const { return code_ == kFCSRRegister; } 343 bool is_valid() const { return code_ == kFCSRRegister; }
347 bool is(FPUControlRegister creg) const { return code_ == creg.code_; } 344 bool is(FPUControlRegister creg) const { return code_ == creg.code_; }
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1448 class EnsureSpace BASE_EMBEDDED { 1445 class EnsureSpace BASE_EMBEDDED {
1449 public: 1446 public:
1450 explicit EnsureSpace(Assembler* assembler) { 1447 explicit EnsureSpace(Assembler* assembler) {
1451 assembler->CheckBuffer(); 1448 assembler->CheckBuffer();
1452 } 1449 }
1453 }; 1450 };
1454 1451
1455 } } // namespace v8::internal 1452 } } // namespace v8::internal
1456 1453
1457 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1454 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.h ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698