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

Side by Side Diff: src/arm64/assembler-arm64.cc

Issue 2901383004: [instruction scheduler] fix ArchDebugBreak. (Closed)
Patch Set: Created 3 years, 6 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 | « no previous file | src/arm64/simulator-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // 2 //
3 // Redistribution and use in source and binary forms, with or without 3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are 4 // modification, are permitted provided that the following conditions are
5 // met: 5 // met:
6 // 6 //
7 // * Redistributions of source code must retain the above copyright 7 // * Redistributions of source code must retain the above copyright
8 // notice, this list of conditions and the following disclaimer. 8 // notice, this list of conditions and the following disclaimer.
9 // * Redistributions in binary form must reproduce the above 9 // * Redistributions in binary form must reproduce the above
10 // copyright notice, this list of conditions and the following 10 // copyright notice, this list of conditions and the following
(...skipping 2330 matching lines...) Expand 10 before | Expand all | Expand 10 after
2341 DCHECK(SizeOfCodeGeneratedSince(&start) == kDebugMessageOffset); 2341 DCHECK(SizeOfCodeGeneratedSince(&start) == kDebugMessageOffset);
2342 EmitStringData(message); 2342 EmitStringData(message);
2343 hlt(kImmExceptionIsUnreachable); 2343 hlt(kImmExceptionIsUnreachable);
2344 2344
2345 return; 2345 return;
2346 } 2346 }
2347 // Fall through if Serializer is enabled. 2347 // Fall through if Serializer is enabled.
2348 #endif 2348 #endif
2349 2349
2350 if (params & BREAK) { 2350 if (params & BREAK) {
2351 hlt(kImmExceptionIsDebug); 2351 brk(0);
2352 } 2352 }
2353 } 2353 }
2354 2354
2355 2355
2356 void Assembler::Logical(const Register& rd, 2356 void Assembler::Logical(const Register& rd,
2357 const Register& rn, 2357 const Register& rn,
2358 const Operand& operand, 2358 const Operand& operand,
2359 LogicalOp op) { 2359 LogicalOp op) {
2360 DCHECK(rd.SizeInBits() == rn.SizeInBits()); 2360 DCHECK(rd.SizeInBits() == rn.SizeInBits());
2361 DCHECK(!operand.NeedsRelocation(this)); 2361 DCHECK(!operand.NeedsRelocation(this));
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
3224 movk(scratch, (target_offset >> 32) & 0xFFFF, 32); 3224 movk(scratch, (target_offset >> 32) & 0xFFFF, 32);
3225 DCHECK((target_offset >> 48) == 0); 3225 DCHECK((target_offset >> 48) == 0);
3226 add(rd, rd, scratch); 3226 add(rd, rd, scratch);
3227 } 3227 }
3228 3228
3229 3229
3230 } // namespace internal 3230 } // namespace internal
3231 } // namespace v8 3231 } // namespace v8
3232 3232
3233 #endif // V8_TARGET_ARCH_ARM64 3233 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « no previous file | src/arm64/simulator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698