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) { ...@@ -102,8 +102,8 @@ function NAMEShiftLeftByScalarJS(instance, shift) {
return %NAMEShiftLeftByScalar(instance, shift); return %NAMEShiftLeftByScalar(instance, shift);
} }
function NAMEShiftRightArithmeticByScalarJS(instance, shift) { function NAMEShiftRightByScalarJS(instance, shift) {
return %NAMEShiftRightArithmeticByScalar(instance, shift); return %NAMEShiftRightByScalar(instance, shift);
} }
endmacro endmacro
...@@ -114,8 +114,8 @@ function NAMEShiftLeftByScalarJS(instance, shift) { ...@@ -114,8 +114,8 @@ function NAMEShiftLeftByScalarJS(instance, shift) {
return %NAMEShiftLeftByScalar(instance, shift); return %NAMEShiftLeftByScalar(instance, shift);
} }
function NAMEShiftRightLogicalByScalarJS(instance, shift) { function NAMEShiftRightByScalarJS(instance, shift) {
return %NAMEShiftRightLogicalByScalar(instance, shift); return %NAMEShiftRightByScalar(instance, shift);
} }
function NAMEHorizontalSumJS(instance) { function NAMEHorizontalSumJS(instance) {
...@@ -659,7 +659,7 @@ utils.InstallFunctions(GlobalInt32x4, DONT_ENUM, [ ...@@ -659,7 +659,7 @@ utils.InstallFunctions(GlobalInt32x4, DONT_ENUM, [
'xor', Int32x4XorJS, 'xor', Int32x4XorJS,
'not', Int32x4NotJS, 'not', Int32x4NotJS,
'shiftLeftByScalar', Int32x4ShiftLeftByScalarJS, 'shiftLeftByScalar', Int32x4ShiftLeftByScalarJS,
'shiftRightArithmeticByScalar', Int32x4ShiftRightArithmeticByScalarJS, 'shiftRightByScalar', Int32x4ShiftRightByScalarJS,
'lessThan', Int32x4LessThanJS, 'lessThan', Int32x4LessThanJS,
'lessThanOrEqual', Int32x4LessThanOrEqualJS, 'lessThanOrEqual', Int32x4LessThanOrEqualJS,
'greaterThan', Int32x4GreaterThanJS, 'greaterThan', Int32x4GreaterThanJS,
...@@ -702,7 +702,7 @@ utils.InstallFunctions(GlobalUint32x4, DONT_ENUM, [ ...@@ -702,7 +702,7 @@ utils.InstallFunctions(GlobalUint32x4, DONT_ENUM, [
'xor', Uint32x4XorJS, 'xor', Uint32x4XorJS,
'not', Uint32x4NotJS, 'not', Uint32x4NotJS,
'shiftLeftByScalar', Uint32x4ShiftLeftByScalarJS, 'shiftLeftByScalar', Uint32x4ShiftLeftByScalarJS,
'shiftRightLogicalByScalar', Uint32x4ShiftRightLogicalByScalarJS, 'shiftRightByScalar', Uint32x4ShiftRightByScalarJS,
'horizontalSum', Uint32x4HorizontalSumJS, 'horizontalSum', Uint32x4HorizontalSumJS,
'lessThan', Uint32x4LessThanJS, 'lessThan', Uint32x4LessThanJS,
'lessThanOrEqual', Uint32x4LessThanOrEqualJS, 'lessThanOrEqual', Uint32x4LessThanOrEqualJS,
...@@ -764,7 +764,7 @@ utils.InstallFunctions(GlobalInt16x8, DONT_ENUM, [ ...@@ -764,7 +764,7 @@ utils.InstallFunctions(GlobalInt16x8, DONT_ENUM, [
'xor', Int16x8XorJS, 'xor', Int16x8XorJS,
'not', Int16x8NotJS, 'not', Int16x8NotJS,
'shiftLeftByScalar', Int16x8ShiftLeftByScalarJS, 'shiftLeftByScalar', Int16x8ShiftLeftByScalarJS,
'shiftRightArithmeticByScalar', Int16x8ShiftRightArithmeticByScalarJS, 'shiftRightByScalar', Int16x8ShiftRightByScalarJS,
'lessThan', Int16x8LessThanJS, 'lessThan', Int16x8LessThanJS,
'lessThanOrEqual', Int16x8LessThanOrEqualJS, 'lessThanOrEqual', Int16x8LessThanOrEqualJS,
'greaterThan', Int16x8GreaterThanJS, 'greaterThan', Int16x8GreaterThanJS,
...@@ -802,7 +802,7 @@ utils.InstallFunctions(GlobalUint16x8, DONT_ENUM, [ ...@@ -802,7 +802,7 @@ utils.InstallFunctions(GlobalUint16x8, DONT_ENUM, [
'xor', Uint16x8XorJS, 'xor', Uint16x8XorJS,
'not', Uint16x8NotJS, 'not', Uint16x8NotJS,
'shiftLeftByScalar', Uint16x8ShiftLeftByScalarJS, 'shiftLeftByScalar', Uint16x8ShiftLeftByScalarJS,
'shiftRightLogicalByScalar', Uint16x8ShiftRightLogicalByScalarJS, 'shiftRightByScalar', Uint16x8ShiftRightByScalarJS,
'horizontalSum', Uint16x8HorizontalSumJS, 'horizontalSum', Uint16x8HorizontalSumJS,
'absoluteDifference', Uint16x8AbsoluteDifferenceJS, 'absoluteDifference', Uint16x8AbsoluteDifferenceJS,
'widenedAbsoluteDifference', Uint16x8WidenedAbsoluteDifferenceJS, 'widenedAbsoluteDifference', Uint16x8WidenedAbsoluteDifferenceJS,
...@@ -859,7 +859,7 @@ utils.InstallFunctions(GlobalInt8x16, DONT_ENUM, [ ...@@ -859,7 +859,7 @@ utils.InstallFunctions(GlobalInt8x16, DONT_ENUM, [
'xor', Int8x16XorJS, 'xor', Int8x16XorJS,
'not', Int8x16NotJS, 'not', Int8x16NotJS,
'shiftLeftByScalar', Int8x16ShiftLeftByScalarJS, 'shiftLeftByScalar', Int8x16ShiftLeftByScalarJS,
'shiftRightArithmeticByScalar', Int8x16ShiftRightArithmeticByScalarJS, 'shiftRightByScalar', Int8x16ShiftRightByScalarJS,
'lessThan', Int8x16LessThanJS, 'lessThan', Int8x16LessThanJS,
'lessThanOrEqual', Int8x16LessThanOrEqualJS, 'lessThanOrEqual', Int8x16LessThanOrEqualJS,
'greaterThan', Int8x16GreaterThanJS, 'greaterThan', Int8x16GreaterThanJS,
...@@ -897,7 +897,7 @@ utils.InstallFunctions(GlobalUint8x16, DONT_ENUM, [ ...@@ -897,7 +897,7 @@ utils.InstallFunctions(GlobalUint8x16, DONT_ENUM, [
'xor', Uint8x16XorJS, 'xor', Uint8x16XorJS,
'not', Uint8x16NotJS, 'not', Uint8x16NotJS,
'shiftLeftByScalar', Uint8x16ShiftLeftByScalarJS, 'shiftLeftByScalar', Uint8x16ShiftLeftByScalarJS,
'shiftRightLogicalByScalar', Uint8x16ShiftRightLogicalByScalarJS, 'shiftRightByScalar', Uint8x16ShiftRightByScalarJS,
'horizontalSum', Uint8x16HorizontalSumJS, 'horizontalSum', Uint8x16HorizontalSumJS,
'absoluteDifference', Uint8x16AbsoluteDifferenceJS, 'absoluteDifference', Uint8x16AbsoluteDifferenceJS,
'widenedAbsoluteDifference', Uint8x16WidenedAbsoluteDifferenceJS, 'widenedAbsoluteDifference', Uint8x16WidenedAbsoluteDifferenceJS,
......
...@@ -458,7 +458,7 @@ SIMD_MAXNUM_FUNCTION(Float32x4, float, 4) ...@@ -458,7 +458,7 @@ SIMD_MAXNUM_FUNCTION(Float32x4, float, 4)
} }
#define SIMD_LSR_FUNCTION(type, lane_type, lane_bits, lane_count) \ #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; \ static const int kLaneCount = lane_count; \
HandleScope scope(isolate); \ HandleScope scope(isolate); \
DCHECK(args.length() == 2); \ DCHECK(args.length() == 2); \
...@@ -476,7 +476,7 @@ SIMD_MAXNUM_FUNCTION(Float32x4, float, 4) ...@@ -476,7 +476,7 @@ SIMD_MAXNUM_FUNCTION(Float32x4, float, 4)
} }
#define SIMD_ASR_FUNCTION(type, lane_type, lane_bits, lane_count) \ #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; \ static const int kLaneCount = lane_count; \
HandleScope scope(isolate); \ HandleScope scope(isolate); \
DCHECK(args.length() == 2); \ DCHECK(args.length() == 2); \
......
...@@ -644,7 +644,7 @@ namespace internal { ...@@ -644,7 +644,7 @@ namespace internal {
F(Int32x4Xor, 2, 1) \ F(Int32x4Xor, 2, 1) \
F(Int32x4Not, 1, 1) \ F(Int32x4Not, 1, 1) \
F(Int32x4ShiftLeftByScalar, 2, 1) \ F(Int32x4ShiftLeftByScalar, 2, 1) \
F(Int32x4ShiftRightArithmeticByScalar, 2, 1) \ F(Int32x4ShiftRightByScalar, 2, 1) \
F(Int32x4Equal, 2, 1) \ F(Int32x4Equal, 2, 1) \
F(Int32x4NotEqual, 2, 1) \ F(Int32x4NotEqual, 2, 1) \
F(Int32x4LessThan, 2, 1) \ F(Int32x4LessThan, 2, 1) \
...@@ -683,7 +683,7 @@ namespace internal { ...@@ -683,7 +683,7 @@ namespace internal {
F(Uint32x4Xor, 2, 1) \ F(Uint32x4Xor, 2, 1) \
F(Uint32x4Not, 1, 1) \ F(Uint32x4Not, 1, 1) \
F(Uint32x4ShiftLeftByScalar, 2, 1) \ F(Uint32x4ShiftLeftByScalar, 2, 1) \
F(Uint32x4ShiftRightLogicalByScalar, 2, 1) \ F(Uint32x4ShiftRightByScalar, 2, 1) \
F(Uint32x4HorizontalSum, 1, 1) \ F(Uint32x4HorizontalSum, 1, 1) \
F(Uint32x4Equal, 2, 1) \ F(Uint32x4Equal, 2, 1) \
F(Uint32x4NotEqual, 2, 1) \ F(Uint32x4NotEqual, 2, 1) \
...@@ -737,7 +737,7 @@ namespace internal { ...@@ -737,7 +737,7 @@ namespace internal {
F(Int16x8Xor, 2, 1) \ F(Int16x8Xor, 2, 1) \
F(Int16x8Not, 1, 1) \ F(Int16x8Not, 1, 1) \
F(Int16x8ShiftLeftByScalar, 2, 1) \ F(Int16x8ShiftLeftByScalar, 2, 1) \
F(Int16x8ShiftRightArithmeticByScalar, 2, 1) \ F(Int16x8ShiftRightByScalar, 2, 1) \
F(Int16x8Equal, 2, 1) \ F(Int16x8Equal, 2, 1) \
F(Int16x8NotEqual, 2, 1) \ F(Int16x8NotEqual, 2, 1) \
F(Int16x8LessThan, 2, 1) \ F(Int16x8LessThan, 2, 1) \
...@@ -771,7 +771,7 @@ namespace internal { ...@@ -771,7 +771,7 @@ namespace internal {
F(Uint16x8Xor, 2, 1) \ F(Uint16x8Xor, 2, 1) \
F(Uint16x8Not, 1, 1) \ F(Uint16x8Not, 1, 1) \
F(Uint16x8ShiftLeftByScalar, 2, 1) \ F(Uint16x8ShiftLeftByScalar, 2, 1) \
F(Uint16x8ShiftRightLogicalByScalar, 2, 1) \ F(Uint16x8ShiftRightByScalar, 2, 1) \
F(Uint16x8HorizontalSum, 1, 1) \ F(Uint16x8HorizontalSum, 1, 1) \
F(Uint16x8AbsoluteDifference, 2, 1) \ F(Uint16x8AbsoluteDifference, 2, 1) \
F(Uint16x8WidenedAbsoluteDifference, 2, 1) \ F(Uint16x8WidenedAbsoluteDifference, 2, 1) \
...@@ -820,7 +820,7 @@ namespace internal { ...@@ -820,7 +820,7 @@ namespace internal {
F(Int8x16Xor, 2, 1) \ F(Int8x16Xor, 2, 1) \
F(Int8x16Not, 1, 1) \ F(Int8x16Not, 1, 1) \
F(Int8x16ShiftLeftByScalar, 2, 1) \ F(Int8x16ShiftLeftByScalar, 2, 1) \
F(Int8x16ShiftRightArithmeticByScalar, 2, 1) \ F(Int8x16ShiftRightByScalar, 2, 1) \
F(Int8x16Equal, 2, 1) \ F(Int8x16Equal, 2, 1) \
F(Int8x16NotEqual, 2, 1) \ F(Int8x16NotEqual, 2, 1) \
F(Int8x16LessThan, 2, 1) \ F(Int8x16LessThan, 2, 1) \
...@@ -854,7 +854,7 @@ namespace internal { ...@@ -854,7 +854,7 @@ namespace internal {
F(Uint8x16Xor, 2, 1) \ F(Uint8x16Xor, 2, 1) \
F(Uint8x16Not, 1, 1) \ F(Uint8x16Not, 1, 1) \
F(Uint8x16ShiftLeftByScalar, 2, 1) \ F(Uint8x16ShiftLeftByScalar, 2, 1) \
F(Uint8x16ShiftRightLogicalByScalar, 2, 1) \ F(Uint8x16ShiftRightByScalar, 2, 1) \
F(Uint8x16HorizontalSum, 1, 1) \ F(Uint8x16HorizontalSum, 1, 1) \
F(Uint8x16AbsoluteDifference, 2, 1) \ F(Uint8x16AbsoluteDifference, 2, 1) \
F(Uint8x16WidenedAbsoluteDifference, 2, 1) \ F(Uint8x16WidenedAbsoluteDifference, 2, 1) \
......
...@@ -14,8 +14,8 @@ from testrunner.local import testsuite ...@@ -14,8 +14,8 @@ from testrunner.local import testsuite
from testrunner.local import utils from testrunner.local import utils
from testrunner.objects import testcase from testrunner.objects import testcase
SIMDJS_ARCHIVE_REVISION = "0fecaab13e57e9be50d87e3fa49b2729838bb75c" SIMDJS_ARCHIVE_REVISION = "a0cc399c46c160748eae77c3c656b5fa3c8f36cb"
SIMDJS_ARCHIVE_MD5 = "ce25acf841b76624607b39252122bb0e" SIMDJS_ARCHIVE_MD5 = "574b9be4456c55183710f25165b99f81"
SIMDJS_URL = ("https://github.com/tc39/ecmascript_simd/archive/%s.tar.gz") SIMDJS_URL = ("https://github.com/tc39/ecmascript_simd/archive/%s.tar.gz")
SIMDJS_SUITE_PATH = ["data", "src"] 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