Commit a633a38f authored by gdeepti's avatar gdeepti Committed by Commit bot

[simdjs] Update spec version to 0.8.4

Merge ShiftRightArithmetic and ShiftRightLogical Functions.

BUG=v8:4124
LOG=Y

Review URL: https://codereview.chromium.org/1351663002

Cr-Commit-Position: refs/heads/master@{#30812}
parent 2088752c
......@@ -102,8 +102,8 @@ function NAMEShiftLeftByScalarJS(instance, shift) {
return %NAMEShiftLeftByScalar(instance, shift);
}
function NAMEShiftRightArithmeticByScalarJS(instance, shift) {
return %NAMEShiftRightArithmeticByScalar(instance, shift);
function NAMEShiftRightByScalarJS(instance, shift) {
return %NAMEShiftRightByScalar(instance, shift);
}
endmacro
......@@ -114,8 +114,8 @@ function NAMEShiftLeftByScalarJS(instance, shift) {
return %NAMEShiftLeftByScalar(instance, shift);
}
function NAMEShiftRightLogicalByScalarJS(instance, shift) {
return %NAMEShiftRightLogicalByScalar(instance, shift);
function NAMEShiftRightByScalarJS(instance, shift) {
return %NAMEShiftRightByScalar(instance, shift);
}
function NAMEHorizontalSumJS(instance) {
......@@ -659,7 +659,7 @@ utils.InstallFunctions(GlobalInt32x4, DONT_ENUM, [
'xor', Int32x4XorJS,
'not', Int32x4NotJS,
'shiftLeftByScalar', Int32x4ShiftLeftByScalarJS,
'shiftRightArithmeticByScalar', Int32x4ShiftRightArithmeticByScalarJS,
'shiftRightByScalar', Int32x4ShiftRightByScalarJS,
'lessThan', Int32x4LessThanJS,
'lessThanOrEqual', Int32x4LessThanOrEqualJS,
'greaterThan', Int32x4GreaterThanJS,
......@@ -702,7 +702,7 @@ utils.InstallFunctions(GlobalUint32x4, DONT_ENUM, [
'xor', Uint32x4XorJS,
'not', Uint32x4NotJS,
'shiftLeftByScalar', Uint32x4ShiftLeftByScalarJS,
'shiftRightLogicalByScalar', Uint32x4ShiftRightLogicalByScalarJS,
'shiftRightByScalar', Uint32x4ShiftRightByScalarJS,
'horizontalSum', Uint32x4HorizontalSumJS,
'lessThan', Uint32x4LessThanJS,
'lessThanOrEqual', Uint32x4LessThanOrEqualJS,
......@@ -764,7 +764,7 @@ utils.InstallFunctions(GlobalInt16x8, DONT_ENUM, [
'xor', Int16x8XorJS,
'not', Int16x8NotJS,
'shiftLeftByScalar', Int16x8ShiftLeftByScalarJS,
'shiftRightArithmeticByScalar', Int16x8ShiftRightArithmeticByScalarJS,
'shiftRightByScalar', Int16x8ShiftRightByScalarJS,
'lessThan', Int16x8LessThanJS,
'lessThanOrEqual', Int16x8LessThanOrEqualJS,
'greaterThan', Int16x8GreaterThanJS,
......@@ -802,7 +802,7 @@ utils.InstallFunctions(GlobalUint16x8, DONT_ENUM, [
'xor', Uint16x8XorJS,
'not', Uint16x8NotJS,
'shiftLeftByScalar', Uint16x8ShiftLeftByScalarJS,
'shiftRightLogicalByScalar', Uint16x8ShiftRightLogicalByScalarJS,
'shiftRightByScalar', Uint16x8ShiftRightByScalarJS,
'horizontalSum', Uint16x8HorizontalSumJS,
'absoluteDifference', Uint16x8AbsoluteDifferenceJS,
'widenedAbsoluteDifference', Uint16x8WidenedAbsoluteDifferenceJS,
......@@ -859,7 +859,7 @@ utils.InstallFunctions(GlobalInt8x16, DONT_ENUM, [
'xor', Int8x16XorJS,
'not', Int8x16NotJS,
'shiftLeftByScalar', Int8x16ShiftLeftByScalarJS,
'shiftRightArithmeticByScalar', Int8x16ShiftRightArithmeticByScalarJS,
'shiftRightByScalar', Int8x16ShiftRightByScalarJS,
'lessThan', Int8x16LessThanJS,
'lessThanOrEqual', Int8x16LessThanOrEqualJS,
'greaterThan', Int8x16GreaterThanJS,
......@@ -897,7 +897,7 @@ utils.InstallFunctions(GlobalUint8x16, DONT_ENUM, [
'xor', Uint8x16XorJS,
'not', Uint8x16NotJS,
'shiftLeftByScalar', Uint8x16ShiftLeftByScalarJS,
'shiftRightLogicalByScalar', Uint8x16ShiftRightLogicalByScalarJS,
'shiftRightByScalar', Uint8x16ShiftRightByScalarJS,
'horizontalSum', Uint8x16HorizontalSumJS,
'absoluteDifference', Uint8x16AbsoluteDifferenceJS,
'widenedAbsoluteDifference', Uint8x16WidenedAbsoluteDifferenceJS,
......
......@@ -458,7 +458,7 @@ SIMD_MAXNUM_FUNCTION(Float32x4, float, 4)
}
#define SIMD_LSR_FUNCTION(type, lane_type, lane_bits, lane_count) \
RUNTIME_FUNCTION(Runtime_##type##ShiftRightLogicalByScalar) { \
RUNTIME_FUNCTION(Runtime_##type##ShiftRightByScalar) { \
static const int kLaneCount = lane_count; \
HandleScope scope(isolate); \
DCHECK(args.length() == 2); \
......@@ -476,7 +476,7 @@ SIMD_MAXNUM_FUNCTION(Float32x4, float, 4)
}
#define SIMD_ASR_FUNCTION(type, lane_type, lane_bits, lane_count) \
RUNTIME_FUNCTION(Runtime_##type##ShiftRightArithmeticByScalar) { \
RUNTIME_FUNCTION(Runtime_##type##ShiftRightByScalar) { \
static const int kLaneCount = lane_count; \
HandleScope scope(isolate); \
DCHECK(args.length() == 2); \
......
This diff is collapsed.
......@@ -14,8 +14,8 @@ from testrunner.local import testsuite
from testrunner.local import utils
from testrunner.objects import testcase
SIMDJS_ARCHIVE_REVISION = "0fecaab13e57e9be50d87e3fa49b2729838bb75c"
SIMDJS_ARCHIVE_MD5 = "ce25acf841b76624607b39252122bb0e"
SIMDJS_ARCHIVE_REVISION = "a0cc399c46c160748eae77c3c656b5fa3c8f36cb"
SIMDJS_ARCHIVE_MD5 = "574b9be4456c55183710f25165b99f81"
SIMDJS_URL = ("https://github.com/tc39/ecmascript_simd/archive/%s.tar.gz")
SIMDJS_SUITE_PATH = ["data", "src"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment