Index: src/compiler/s390/code-generator-s390.cc |
diff --git a/src/compiler/s390/code-generator-s390.cc b/src/compiler/s390/code-generator-s390.cc |
index 1a93b54b0071d1a2a998d0b12ecd81a3737f516d..ccd4ee3f06da5696e3b8e6b93827482e8eeb324e 100644 |
--- a/src/compiler/s390/code-generator-s390.cc |
+++ b/src/compiler/s390/code-generator-s390.cc |
@@ -1657,6 +1657,15 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
case kAtomicLoadWord32: |
__ LoadlW(i.OutputRegister(), i.MemoryOperand()); |
break; |
+ case kAtomicStoreWord8: |
+ __ StoreByte(i.InputRegister(0), i.MemoryOperand(NULL, 1)); |
+ break; |
+ case kAtomicStoreWord16: |
+ __ StoreHalfWord(i.InputRegister(0), i.MemoryOperand(NULL, 1)); |
+ break; |
+ case kAtomicStoreWord32: |
+ __ StoreW(i.InputRegister(0), i.MemoryOperand(NULL, 1)); |
+ break; |
default: |
UNREACHABLE(); |
break; |