Index: src/s390/macro-assembler-s390.cc |
diff --git a/src/s390/macro-assembler-s390.cc b/src/s390/macro-assembler-s390.cc |
index 1a31e69e03262caea688e09493bc709264132594..47dd9a6136135f37f12a1fb784f5e3fabffa2bbc 100644 |
--- a/src/s390/macro-assembler-s390.cc |
+++ b/src/s390/macro-assembler-s390.cc |
@@ -5078,6 +5078,22 @@ void MacroAssembler::LoadlW(Register dst, const MemOperand& mem, |
#endif |
} |
+void MacroAssembler::LoadLogicalHalfWordP(Register dst, const MemOperand& mem) { |
+#if V8_TARGET_ARCH_S390X |
+ llgh(dst, mem); |
+#else |
+ llh(dst, mem); |
+#endif |
+} |
+ |
+void MacroAssembler::LoadLogicalHalfWordP(Register dst, Register src) { |
+#if V8_TARGET_ARCH_S390X |
+ llghr(dst, src); |
+#else |
+ llhr(dst, src); |
+#endif |
+} |
+ |
void MacroAssembler::LoadB(Register dst, const MemOperand& mem) { |
#if V8_TARGET_ARCH_S390X |
lgb(dst, mem); |
@@ -5102,6 +5118,20 @@ void MacroAssembler::LoadlB(Register dst, const MemOperand& mem) { |
#endif |
} |
+void MacroAssembler::LoadLogicalReversedWordP(Register dst, |
+ const MemOperand& mem) { |
+ lrv(dst, mem); |
+ LoadlW(dst, dst); |
+} |
+ |
+ |
+void MacroAssembler::LoadLogicalReversedHalfWordP(Register dst, |
+ const MemOperand& mem) { |
+ lrvh(dst, mem); |
+ LoadLogicalHalfWordP(dst, dst); |
+} |
+ |
+ |
// Load And Test (Reg <- Reg) |
void MacroAssembler::LoadAndTest32(Register dst, Register src) { |
ltr(dst, src); |