Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / v8 / src / arm64 / assembler-arm64.h
index 047256a..53496f3 100644 (file)
@@ -276,6 +276,11 @@ struct FPRegister : public CPURegister {
       (kAllocatableHighRangeEnd - kAllocatableHighRangeBegin + 1);
   static int NumAllocatableRegisters() { return kMaxNumAllocatableRegisters; }
 
+  // TODO(turbofan): Proper float32 support.
+  static int NumAllocatableAliasedRegisters() {
+    return NumAllocatableRegisters();
+  }
+
   // Return true if the register is one that crankshaft can allocate.
   bool IsAllocatable() const {
     return (Bit() & kAllocatableFPRegisters) != 0;
@@ -320,20 +325,6 @@ struct FPRegister : public CPURegister {
   // End of V8 compatibility section -----------------------
 };
 
-struct SIMD128Register {
-  static const int kMaxNumRegisters = 0;
-
-  static int ToAllocationIndex(SIMD128Register reg) {
-    UNIMPLEMENTED();
-    return -1;
-  }
-
-  static const char* AllocationIndexToString(int index) {
-    UNIMPLEMENTED();
-    return NULL;
-  }
-};
-
 
 STATIC_ASSERT(sizeof(CPURegister) == sizeof(Register));
 STATIC_ASSERT(sizeof(CPURegister) == sizeof(FPRegister));
@@ -1672,6 +1663,9 @@ class Assembler : public AssemblerBase {
   // FP round to integer (nearest with ties to even).
   void frintn(const FPRegister& fd, const FPRegister& fn);
 
+  // FP round to integer (towards plus infinity).
+  void frintp(const FPRegister& fd, const FPRegister& fn);
+
   // FP round to integer (towards zero.)
   void frintz(const FPRegister& fd, const FPRegister& fn);