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

Unified Diff: src/s390/macro-assembler-s390.cc

Issue 2685733002: S390: Use macro to declare rxy format assember function (Closed)
Patch Set: Use static cast for casting integer to Condition Created 3 years, 10 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 | « src/s390/constants-s390.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/s390/macro-assembler-s390.cc
diff --git a/src/s390/macro-assembler-s390.cc b/src/s390/macro-assembler-s390.cc
index 843b5d061cc8a5f7f7887448fb373e0e076783a3..9b5962c44a7e031b22becf6c6da1a76e2bef155d 100644
--- a/src/s390/macro-assembler-s390.cc
+++ b/src/s390/macro-assembler-s390.cc
@@ -1639,7 +1639,7 @@ void MacroAssembler::Allocate(int object_size, Register result,
// Prefetch the allocation_top's next cache line in advance to
// help alleviate potential cache misses.
// Mode 2 - Prefetch the data into a cache line for store access.
- pfd(r2, MemOperand(result, 256));
+ pfd(static_cast<Condition>(2), MemOperand(result, 256));
}
// Tag object.
@@ -1738,7 +1738,7 @@ void MacroAssembler::Allocate(Register object_size, Register result,
// Prefetch the allocation_top's next cache line in advance to
// help alleviate potential cache misses.
// Mode 2 - Prefetch the data into a cache line for store access.
- pfd(r2, MemOperand(result, 256));
+ pfd(static_cast<Condition>(2), MemOperand(result, 256));
}
// Tag object.
@@ -1798,7 +1798,7 @@ void MacroAssembler::FastAllocate(Register object_size, Register result,
// Prefetch the allocation_top's next cache line in advance to
// help alleviate potential cache misses.
// Mode 2 - Prefetch the data into a cache line for store access.
- pfd(r2, MemOperand(result, 256));
+ pfd(static_cast<Condition>(2), MemOperand(result, 256));
}
// Tag object.
@@ -1866,7 +1866,7 @@ void MacroAssembler::FastAllocate(int object_size, Register result,
// Prefetch the allocation_top's next cache line in advance to
// help alleviate potential cache misses.
// Mode 2 - Prefetch the data into a cache line for store access.
- pfd(r2, MemOperand(result, 256));
+ pfd(static_cast<Condition>(2), MemOperand(result, 256));
}
// Tag object.
« no previous file with comments | « src/s390/constants-s390.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698