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

Side by Side Diff: src/a64/macro-assembler-a64-inl.h

Issue 203443003: A64: Force emission of the veneer pool emission when required. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/a64/lithium-codegen-a64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 const Register& rn, 339 const Register& rn,
340 const Register& rm) { 340 const Register& rm) {
341 ASSERT(allow_macro_instructions_); 341 ASSERT(allow_macro_instructions_);
342 ASSERT(!rd.IsZero()); 342 ASSERT(!rd.IsZero());
343 asrv(rd, rn, rm); 343 asrv(rd, rn, rm);
344 } 344 }
345 345
346 346
347 void MacroAssembler::B(Label* label) { 347 void MacroAssembler::B(Label* label) {
348 b(label); 348 b(label);
349 CheckVeneerPool(false); 349 CheckVeneerPool(false, false);
350 } 350 }
351 351
352 352
353 void MacroAssembler::B(Condition cond, Label* label) { 353 void MacroAssembler::B(Condition cond, Label* label) {
354 ASSERT(allow_macro_instructions_); 354 ASSERT(allow_macro_instructions_);
355 B(label, cond); 355 B(label, cond);
356 } 356 }
357 357
358 358
359 void MacroAssembler::Bfi(const Register& rd, 359 void MacroAssembler::Bfi(const Register& rd,
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 ASSERT(allow_macro_instructions_); 1029 ASSERT(allow_macro_instructions_);
1030 ASSERT(!rd.IsZero()); 1030 ASSERT(!rd.IsZero());
1031 rbit(rd, rn); 1031 rbit(rd, rn);
1032 } 1032 }
1033 1033
1034 1034
1035 void MacroAssembler::Ret(const Register& xn) { 1035 void MacroAssembler::Ret(const Register& xn) {
1036 ASSERT(allow_macro_instructions_); 1036 ASSERT(allow_macro_instructions_);
1037 ASSERT(!xn.IsZero()); 1037 ASSERT(!xn.IsZero());
1038 ret(xn); 1038 ret(xn);
1039 CheckVeneerPool(false); 1039 CheckVeneerPool(false, false);
1040 } 1040 }
1041 1041
1042 1042
1043 void MacroAssembler::Rev(const Register& rd, const Register& rn) { 1043 void MacroAssembler::Rev(const Register& rd, const Register& rn) {
1044 ASSERT(allow_macro_instructions_); 1044 ASSERT(allow_macro_instructions_);
1045 ASSERT(!rd.IsZero()); 1045 ASSERT(!rd.IsZero());
1046 rev(rd, rn); 1046 rev(rd, rn);
1047 } 1047 }
1048 1048
1049 1049
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1667 // characters are reserved for controlling features of the instrumentation. 1667 // characters are reserved for controlling features of the instrumentation.
1668 ASSERT(isprint(marker_name[0]) && isprint(marker_name[1])); 1668 ASSERT(isprint(marker_name[0]) && isprint(marker_name[1]));
1669 1669
1670 InstructionAccurateScope scope(this, 1); 1670 InstructionAccurateScope scope(this, 1);
1671 movn(xzr, (marker_name[1] << 8) | marker_name[0]); 1671 movn(xzr, (marker_name[1] << 8) | marker_name[0]);
1672 } 1672 }
1673 1673
1674 } } // namespace v8::internal 1674 } } // namespace v8::internal
1675 1675
1676 #endif // V8_A64_MACRO_ASSEMBLER_A64_INL_H_ 1676 #endif // V8_A64_MACRO_ASSEMBLER_A64_INL_H_
OLDNEW
« no previous file with comments | « src/a64/lithium-codegen-a64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698