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

Unified Diff: src/a64/assembler-a64.cc

Issue 148503002: A64: Synchronize with r15545. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/samples.gyp ('k') | src/a64/builtins-a64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/assembler-a64.cc
diff --git a/src/a64/assembler-a64.cc b/src/a64/assembler-a64.cc
index 08469444d97470ea847bb70a856652306ea98409..58817dfdfe5b93e1ae5ed2b8f9a8342257c4aa5e 100644
--- a/src/a64/assembler-a64.cc
+++ b/src/a64/assembler-a64.cc
@@ -28,7 +28,7 @@
#include "v8.h"
-#if defined(V8_TARGET_ARCH_A64)
+#if V8_TARGET_ARCH_A64
#include "a64/assembler-a64-inl.h"
@@ -149,6 +149,7 @@ CPURegList CPURegList::GetSafepointSavedRegisters() {
return list;
}
+
// -----------------------------------------------------------------------------
// Implementation of RelocInfo
@@ -1335,6 +1336,7 @@ void Assembler::mov(const Register& rd, const Register& rm) {
}
}
+
void Assembler::mvn(const Register& rd, const Operand& operand) {
orn(rd, AppropriateZeroRegFor(rd), operand);
}
@@ -1356,18 +1358,22 @@ void Assembler::hint(SystemHint code) {
Emit(HINT | ImmHint(code) | Rt(xzr));
}
+
void Assembler::dmb(BarrierDomain domain, BarrierType type) {
Emit(DMB | ImmBarrierDomain(domain) | ImmBarrierType(type));
}
+
void Assembler::dsb(BarrierDomain domain, BarrierType type) {
Emit(DSB | ImmBarrierDomain(domain) | ImmBarrierType(type));
}
+
void Assembler::isb() {
Emit(ISB | ImmBarrierDomain(FullSystem) | ImmBarrierType(BarrierAll));
}
+
void Assembler::fmov(FPRegister fd, double imm) {
if (fd.Is64Bits() && IsImmFP64(imm)) {
Emit(FMOV_d_imm | Rd(fd) | ImmFP64(imm));
@@ -2201,6 +2207,7 @@ bool Assembler::IsImmLogical(uint64_t value,
}
}
+
bool Assembler::IsImmConditionalCompare(int64_t immediate) {
return is_uint5(immediate);
}
« no previous file with comments | « samples/samples.gyp ('k') | src/a64/builtins-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698