diff options
Diffstat (limited to 'deps/v8/src/runtime/runtime-simd.cc')
-rw-r--r-- | deps/v8/src/runtime/runtime-simd.cc | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/deps/v8/src/runtime/runtime-simd.cc b/deps/v8/src/runtime/runtime-simd.cc index 59e4fa1edb..9e5614242a 100644 --- a/deps/v8/src/runtime/runtime-simd.cc +++ b/deps/v8/src/runtime/runtime-simd.cc @@ -164,46 +164,6 @@ RUNTIME_FUNCTION(Runtime_IsSimdValue) { } -RUNTIME_FUNCTION(Runtime_SimdSameValue) { - HandleScope scope(isolate); - DCHECK(args.length() == 2); - CONVERT_ARG_HANDLE_CHECKED(Simd128Value, a, 0); - bool result = false; - // args[1] is of unknown type. - if (args[1]->IsSimd128Value()) { - Simd128Value* b = Simd128Value::cast(args[1]); - if (a->map() == b->map()) { - if (a->IsFloat32x4()) { - result = Float32x4::cast(*a)->SameValue(Float32x4::cast(b)); - } else { - result = a->BitwiseEquals(b); - } - } - } - return isolate->heap()->ToBoolean(result); -} - - -RUNTIME_FUNCTION(Runtime_SimdSameValueZero) { - HandleScope scope(isolate); - DCHECK(args.length() == 2); - CONVERT_ARG_HANDLE_CHECKED(Simd128Value, a, 0); - bool result = false; - // args[1] is of unknown type. - if (args[1]->IsSimd128Value()) { - Simd128Value* b = Simd128Value::cast(args[1]); - if (a->map() == b->map()) { - if (a->IsFloat32x4()) { - result = Float32x4::cast(*a)->SameValueZero(Float32x4::cast(b)); - } else { - result = a->BitwiseEquals(b); - } - } - } - return isolate->heap()->ToBoolean(result); -} - - //------------------------------------------------------------------- // Utility macros. |