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

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

Issue 1334273002: [MIPS] Remove obsolete MacroAssembler::FlushICache. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove dead code. Created 5 years, 3 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/mips/macro-assembler-mips.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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 // RegList constant kSafepointSavedRegisters. 789 // RegList constant kSafepointSavedRegisters.
790 void PushSafepointRegisters(); 790 void PushSafepointRegisters();
791 void PopSafepointRegisters(); 791 void PopSafepointRegisters();
792 // Store value in register src in the safepoint stack slot for 792 // Store value in register src in the safepoint stack slot for
793 // register dst. 793 // register dst.
794 void StoreToSafepointRegisterSlot(Register src, Register dst); 794 void StoreToSafepointRegisterSlot(Register src, Register dst);
795 // Load the value of the src register from its safepoint stack slot 795 // Load the value of the src register from its safepoint stack slot
796 // into register dst. 796 // into register dst.
797 void LoadFromSafepointRegisterSlot(Register dst, Register src); 797 void LoadFromSafepointRegisterSlot(Register dst, Register src);
798 798
799 // Flush the I-cache from asm code. You should use CpuFeatures::FlushICache
800 // from C.
801 // Does not handle errors.
802 void FlushICache(Register address, unsigned instructions);
803
804 // MIPS64 R2 instruction macro. 799 // MIPS64 R2 instruction macro.
805 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size); 800 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size);
806 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size); 801 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size);
807 void Dext(Register rt, Register rs, uint16_t pos, uint16_t size); 802 void Dext(Register rt, Register rs, uint16_t pos, uint16_t size);
808 803
809 // --------------------------------------------------------------------------- 804 // ---------------------------------------------------------------------------
810 // FPU macros. These do not handle special cases like NaN or +- inf. 805 // FPU macros. These do not handle special cases like NaN or +- inf.
811 806
812 // Convert unsigned word to double. 807 // Convert unsigned word to double.
813 void Cvt_d_uw(FPURegister fd, FPURegister fs, FPURegister scratch); 808 void Cvt_d_uw(FPURegister fd, FPURegister fs, FPURegister scratch);
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after
1839 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1834 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1840 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1835 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1841 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1836 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1842 #else 1837 #else
1843 #define ACCESS_MASM(masm) masm-> 1838 #define ACCESS_MASM(masm) masm->
1844 #endif 1839 #endif
1845 1840
1846 } } // namespace v8::internal 1841 } } // namespace v8::internal
1847 1842
1848 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1843 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698