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

Unified Diff: src/compiler/s390/instruction-scheduler-s390.cc

Issue 2045943002: [compiler] [wasm] Introduce Word32/64ReverseBytes as TF Optional Opcode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: update on store and some optimization on load Created 4 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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/s390/instruction-scheduler-s390.cc
diff --git a/src/compiler/s390/instruction-scheduler-s390.cc b/src/compiler/s390/instruction-scheduler-s390.cc
index 3d8be57d81597b4d0be7ffcafd2122bce7a0beae..5085454887887773ca78e5cdd855e73676740105 100644
--- a/src/compiler/s390/instruction-scheduler-s390.cc
+++ b/src/compiler/s390/instruction-scheduler-s390.cc
@@ -120,6 +120,9 @@ int InstructionScheduler::GetTargetInstructionFlags(
case kS390_BitcastFloat32ToInt32:
case kS390_BitcastInt64ToDouble:
case kS390_BitcastDoubleToInt64:
+ case kS390_LoadReverse16RR:
+ case kS390_LoadReverse32RR:
+ case kS390_LoadReverse64RR:
return kNoOpcodeFlags;
case kS390_LoadWordS8:
@@ -131,12 +134,18 @@ int InstructionScheduler::GetTargetInstructionFlags(
case kS390_LoadWord64:
case kS390_LoadFloat32:
case kS390_LoadDouble:
+ case kS390_LoadReverse16:
+ case kS390_LoadReverse32:
+ case kS390_LoadReverse64:
return kIsLoadOperation;
case kS390_StoreWord8:
case kS390_StoreWord16:
case kS390_StoreWord32:
case kS390_StoreWord64:
+ case kS390_StoreReverse16:
+ case kS390_StoreReverse32:
+ case kS390_StoreReverse64:
case kS390_StoreFloat32:
case kS390_StoreDouble:
case kS390_Push:

Powered by Google App Engine
This is Rietveld 408576698