diff --git a/src/x86.cpp b/src/x86.cpp
index 13d9673c9b..7e565dc179 100644
--- a/src/x86.cpp
+++ b/src/x86.cpp
@@ -2948,7 +2948,7 @@ class MyArchitecture: public Assembler::Architecture {
       break;
 
     case Move:
-      *aTypeMask = (1 << RegisterOperand) | (1 << MemoryOperand);
+      *aTypeMask = ~0;
       *aRegisterMask = ~static_cast<uint64_t>(0);
 
       if (BytesPerWord == 4) {