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

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

Issue 181873002: A64: Move veneer emission checking in the Assembler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove the force_emit parameter in CheckVeneerPool 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/macro-assembler-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 CheckVeneers(false); 349 CheckVeneerPool(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 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 ASSERT(allow_macro_instructions_); 1007 ASSERT(allow_macro_instructions_);
1008 ASSERT(!rd.IsZero()); 1008 ASSERT(!rd.IsZero());
1009 rbit(rd, rn); 1009 rbit(rd, rn);
1010 } 1010 }
1011 1011
1012 1012
1013 void MacroAssembler::Ret(const Register& xn) { 1013 void MacroAssembler::Ret(const Register& xn) {
1014 ASSERT(allow_macro_instructions_); 1014 ASSERT(allow_macro_instructions_);
1015 ASSERT(!xn.IsZero()); 1015 ASSERT(!xn.IsZero());
1016 ret(xn); 1016 ret(xn);
1017 CheckVeneers(false); 1017 CheckVeneerPool(false);
1018 } 1018 }
1019 1019
1020 1020
1021 void MacroAssembler::Rev(const Register& rd, const Register& rn) { 1021 void MacroAssembler::Rev(const Register& rd, const Register& rn) {
1022 ASSERT(allow_macro_instructions_); 1022 ASSERT(allow_macro_instructions_);
1023 ASSERT(!rd.IsZero()); 1023 ASSERT(!rd.IsZero());
1024 rev(rd, rn); 1024 rev(rd, rn);
1025 } 1025 }
1026 1026
1027 1027
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
1639 // characters are reserved for controlling features of the instrumentation. 1639 // characters are reserved for controlling features of the instrumentation.
1640 ASSERT(isprint(marker_name[0]) && isprint(marker_name[1])); 1640 ASSERT(isprint(marker_name[0]) && isprint(marker_name[1]));
1641 1641
1642 InstructionAccurateScope scope(this, 1); 1642 InstructionAccurateScope scope(this, 1);
1643 movn(xzr, (marker_name[1] << 8) | marker_name[0]); 1643 movn(xzr, (marker_name[1] << 8) | marker_name[0]);
1644 } 1644 }
1645 1645
1646 } } // namespace v8::internal 1646 } } // namespace v8::internal
1647 1647
1648 #endif // V8_A64_MACRO_ASSEMBLER_A64_INL_H_ 1648 #endif // V8_A64_MACRO_ASSEMBLER_A64_INL_H_
OLDNEW
« no previous file with comments | « src/a64/macro-assembler-a64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698