Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / v8 / src / x64 / assembler-x64-inl.h
index 6a6f4a1..c3d2cdf 100644 (file)
@@ -15,7 +15,6 @@ namespace v8 {
 namespace internal {
 
 bool CpuFeatures::SupportsCrankshaft() { return true; }
-bool CpuFeatures::SupportsSIMD128InCrankshaft() { return true; }
 
 
 // -----------------------------------------------------------------------------
@@ -179,11 +178,12 @@ void Assembler::emit_optional_rex_32(Register rm_reg) {
   if (rm_reg.high_bit()) emit(0x41);
 }
 
-void Assembler::emit_optional_rex_32(XMMRegister reg) {
-  byte rex_bits =  (reg.code() & 0x8) >> 1;
-  if (rex_bits != 0) emit(0x40 | rex_bits);
+
+void Assembler::emit_optional_rex_32(XMMRegister rm_reg) {
+  if (rm_reg.high_bit()) emit(0x41);
 }
 
+
 void Assembler::emit_optional_rex_32(const Operand& op) {
   if (op.rex_ != 0) emit(0x40 | op.rex_);
 }