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

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

Issue 2500863003: Revert of MIPS: Optimize load/store with large offset (Closed)
Patch Set: Created 4 years, 1 month 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/mips/instruction-selector-mips.cc ('k') | src/mips/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 (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 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after
1170 bool IsPrevInstrCompactBranch() { return prev_instr_compact_branch_; } 1170 bool IsPrevInstrCompactBranch() { return prev_instr_compact_branch_; }
1171 1171
1172 inline int UnboundLabelsCount() { return unbound_labels_count_; } 1172 inline int UnboundLabelsCount() { return unbound_labels_count_; }
1173 1173
1174 protected: 1174 protected:
1175 // Load Scaled Address instruction. 1175 // Load Scaled Address instruction.
1176 void lsa(Register rd, Register rt, Register rs, uint8_t sa); 1176 void lsa(Register rd, Register rt, Register rs, uint8_t sa);
1177 1177
1178 // Helpers. 1178 // Helpers.
1179 void LoadRegPlusOffsetToAt(const MemOperand& src); 1179 void LoadRegPlusOffsetToAt(const MemOperand& src);
1180 int32_t LoadRegPlusUpperOffsetPartToAt(const MemOperand& src);
1181 int32_t LoadUpperOffsetForTwoMemoryAccesses(const MemOperand& src);
1182 1180
1183 // Relocation for a type-recording IC has the AST id added to it. This 1181 // Relocation for a type-recording IC has the AST id added to it. This
1184 // member variable is a way to pass the information from the call site to 1182 // member variable is a way to pass the information from the call site to
1185 // the relocation info. 1183 // the relocation info.
1186 TypeFeedbackId recorded_ast_id_; 1184 TypeFeedbackId recorded_ast_id_;
1187 1185
1188 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; } 1186 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; }
1189 1187
1190 // Decode branch instruction at pos and return branch target pos. 1188 // Decode branch instruction at pos and return branch target pos.
1191 int target_at(int pos, bool is_internal); 1189 int target_at(int pos, bool is_internal);
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
1474 public: 1472 public:
1475 explicit EnsureSpace(Assembler* assembler) { 1473 explicit EnsureSpace(Assembler* assembler) {
1476 assembler->CheckBuffer(); 1474 assembler->CheckBuffer();
1477 } 1475 }
1478 }; 1476 };
1479 1477
1480 } // namespace internal 1478 } // namespace internal
1481 } // namespace v8 1479 } // namespace v8
1482 1480
1483 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1481 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/compiler/mips/instruction-selector-mips.cc ('k') | src/mips/assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698