| Index: runtime/vm/intrinsifier.h
|
| ===================================================================
|
| --- runtime/vm/intrinsifier.h (revision 30236)
|
| +++ runtime/vm/intrinsifier.h (working copy)
|
| @@ -16,84 +16,84 @@
|
| // When adding a new function for intrinsification add a 0 as fingerprint,
|
| // build and run to get the correct fingerprint from the mismatch error.
|
| #define CORE_LIB_INTRINSIC_LIST(V) \
|
| - V(_Smi, ~, Smi_bitNegate, 721565906) \
|
| - V(_Smi, get:bitLength, Smi_bitLength, 383447247) \
|
| - V(_Double, >, Double_greaterThan, 196653614) \
|
| - V(_Double, >=, Double_greaterEqualThan, 1420124977) \
|
| - V(_Double, <, Double_lessThan, 1368169970) \
|
| - V(_Double, <=, Double_lessEqualThan, 117083409) \
|
| - V(_Double, ==, Double_equal, 617620743) \
|
| - V(_Double, +, Double_add, 1618778505) \
|
| - V(_Double, -, Double_sub, 355538766) \
|
| - V(_Double, *, Double_mul, 1175404333) \
|
| - V(_Double, /, Double_div, 1079430731) \
|
| - V(_Double, get:isNaN, Double_getIsNaN, 916596113) \
|
| - V(_Double, get:isNegative, Double_getIsNegative, 1711421660) \
|
| - V(_Double, _mulFromInteger, Double_mulFromInteger, 1392340623) \
|
| - V(_Double, .fromInteger, Double_fromInteger, 2033384877) \
|
| - V(_List, ., List_Allocate, 176587978) \
|
| - V(_List, get:length, Array_getLength, 215183186) \
|
| - V(_List, [], Array_getIndexed, 675155875) \
|
| - V(_List, []=, Array_setIndexed, 1228569706) \
|
| - V(_GrowableList, .withData, GrowableList_Allocate, 264792196) \
|
| - V(_GrowableList, get:length, GrowableList_getLength, 1654255033) \
|
| - V(_GrowableList, get:_capacity, GrowableList_getCapacity, 817119794) \
|
| - V(_GrowableList, [], GrowableList_getIndexed, 1282104248) \
|
| - V(_GrowableList, []=, GrowableList_setIndexed, 807019110) \
|
| - V(_GrowableList, _setLength, GrowableList_setLength, 823005129) \
|
| - V(_GrowableList, _setData, GrowableList_setData, 970836644) \
|
| - V(_GrowableList, add, GrowableList_add, 1667349856) \
|
| - V(_ImmutableList, [], ImmutableList_getIndexed, 1768793932) \
|
| - V(_ImmutableList, get:length, ImmutableList_getLength, 578762861) \
|
| - V(Object, ==, Object_equal, 1068471689) \
|
| - V(_StringBase, get:hashCode, String_getHashCode, 654572819) \
|
| - V(_StringBase, get:isEmpty, String_getIsEmpty, 1599468763) \
|
| - V(_StringBase, get:length, String_getLength, 1483549854) \
|
| + V(_Smi, ~, Smi_bitNegate, 778824208) \
|
| + V(_Smi, get:bitLength, Smi_bitLength, 383506829) \
|
| + V(_Double, >, Double_greaterThan, 362762350) \
|
| + V(_Double, >=, Double_greaterEqualThan, 718582133) \
|
| + V(_Double, <, Double_lessThan, 1628182512) \
|
| + V(_Double, <=, Double_lessEqualThan, 1563024213) \
|
| + V(_Double, ==, Double_equal, 164470531) \
|
| + V(_Double, +, Double_add, 1784887241) \
|
| + V(_Double, -, Double_sub, 521647502) \
|
| + V(_Double, *, Double_mul, 1341513069) \
|
| + V(_Double, /, Double_div, 1245539467) \
|
| + V(_Double, get:isNaN, Double_getIsNaN, 916655695) \
|
| + V(_Double, get:isNegative, Double_getIsNegative, 1711481242) \
|
| + V(_Double, _mulFromInteger, Double_mulFromInteger, 1700378253) \
|
| + V(_Double, .fromInteger, Double_fromInteger, 1640357867) \
|
| + V(_List, ., List_Allocate, 1951595340) \
|
| + V(_List, get:length, Array_getLength, 215242768) \
|
| + V(_List, [], Array_getIndexed, 2013292897) \
|
| + V(_List, []=, Array_setIndexed, 40316074) \
|
| + V(_GrowableList, .withData, GrowableList_Allocate, 2019248834) \
|
| + V(_GrowableList, get:length, GrowableList_getLength, 1654314615) \
|
| + V(_GrowableList, get:_capacity, GrowableList_getCapacity, 817179376) \
|
| + V(_GrowableList, [], GrowableList_getIndexed, 472757622) \
|
| + V(_GrowableList, []=, GrowableList_setIndexed, 1766249126) \
|
| + V(_GrowableList, _setLength, GrowableList_setLength, 13658503) \
|
| + V(_GrowableList, _setData, GrowableList_setData, 161490018) \
|
| + V(_GrowableList, add, GrowableList_add, 860740388) \
|
| + V(_ImmutableList, [], ImmutableList_getIndexed, 959447306) \
|
| + V(_ImmutableList, get:length, ImmutableList_getLength, 578822443) \
|
| + V(Object, ==, Object_equal, 695995403) \
|
| + V(_StringBase, get:hashCode, String_getHashCode, 654632401) \
|
| + V(_StringBase, get:isEmpty, String_getIsEmpty, 891223769) \
|
| + V(_StringBase, get:length, String_getLength, 1483609436) \
|
| V(_StringBase, codeUnitAt, String_codeUnitAt, 1958436584) \
|
| - V(_OneByteString, get:hashCode, OneByteString_getHashCode, 1236493807) \
|
| + V(_OneByteString, get:hashCode, OneByteString_getHashCode, 1236553389) \
|
| V(_OneByteString, _substringUncheckedNative, \
|
| OneByteString_substringUnchecked, 25652388) \
|
| - V(_OneByteString, _setAt, OneByteString_setAt, 658941003) \
|
| - V(_OneByteString, _allocate, OneByteString_allocate, 2084097266) \
|
| - V(_OneByteString, ==, OneByteString_equality, 1194175975) \
|
| - V(_TwoByteString, ==, TwoByteString_equality, 1746891238) \
|
| + V(_OneByteString, _setAt, OneByteString_setAt, 1360005581) \
|
| + V(_OneByteString, _allocate, OneByteString_allocate, 616671988) \
|
| + V(_OneByteString, ==, OneByteString_equality, 1454248037) \
|
| + V(_TwoByteString, ==, TwoByteString_equality, 2006963300) \
|
|
|
|
|
| #define CORE_INTEGER_LIB_INTRINSIC_LIST(V) \
|
| V(_IntegerImplementation, _addFromInteger, Integer_addFromInteger, \
|
| 740884607) \
|
| - V(_IntegerImplementation, +, Integer_add, 1875695122) \
|
| + V(_IntegerImplementation, +, Integer_add, 1933970388) \
|
| V(_IntegerImplementation, _subFromInteger, Integer_subFromInteger, \
|
| 584777821) \
|
| - V(_IntegerImplementation, -, Integer_sub, 893955487) \
|
| + V(_IntegerImplementation, -, Integer_sub, 952230753) \
|
| V(_IntegerImplementation, _mulFromInteger, Integer_mulFromInteger, \
|
| 1757603756) \
|
| - V(_IntegerImplementation, *, Integer_mul, 949111327) \
|
| + V(_IntegerImplementation, *, Integer_mul, 1007386593) \
|
| V(_IntegerImplementation, _moduloFromInteger, Integer_moduloFromInteger, \
|
| 1398988805) \
|
| - V(_IntegerImplementation, ~/, Integer_truncDivide, 1011141318) \
|
| - V(_IntegerImplementation, unary-, Integer_negate, 145678255) \
|
| + V(_IntegerImplementation, ~/, Integer_truncDivide, 802502724) \
|
| + V(_IntegerImplementation, unary-, Integer_negate, 1901981997) \
|
| V(_IntegerImplementation, _bitAndFromInteger, \
|
| Integer_bitAndFromInteger, 512285096) \
|
| - V(_IntegerImplementation, &, Integer_bitAnd, 691305985) \
|
| + V(_IntegerImplementation, &, Integer_bitAnd, 749581251) \
|
| V(_IntegerImplementation, _bitOrFromInteger, \
|
| Integer_bitOrFromInteger, 333543947) \
|
| - V(_IntegerImplementation, |, Integer_bitOr, 76287380) \
|
| + V(_IntegerImplementation, |, Integer_bitOr, 134562646) \
|
| V(_IntegerImplementation, _bitXorFromInteger, \
|
| Integer_bitXorFromInteger, 1746295953) \
|
| - V(_IntegerImplementation, ^, Integer_bitXor, 1124672916) \
|
| + V(_IntegerImplementation, ^, Integer_bitXor, 1182948182) \
|
| V(_IntegerImplementation, \
|
| _greaterThanFromInteger, \
|
| Integer_greaterThanFromInt, 1883218996) \
|
| - V(_IntegerImplementation, >, Integer_greaterThan, 1356697302) \
|
| - V(_IntegerImplementation, ==, Integer_equal, 1631095021) \
|
| + V(_IntegerImplementation, >, Integer_greaterThan, 1414972568) \
|
| + V(_IntegerImplementation, ==, Integer_equal, 1094806319) \
|
| V(_IntegerImplementation, _equalToInteger, Integer_equalToInteger, \
|
| 111745915) \
|
| - V(_IntegerImplementation, <, Integer_lessThan, 1523713072) \
|
| - V(_IntegerImplementation, <=, Integer_lessEqualThan, 671929679) \
|
| - V(_IntegerImplementation, >=, Integer_greaterEqualThan, 1974971247) \
|
| - V(_IntegerImplementation, <<, Integer_shl, 521759411) \
|
| - V(_IntegerImplementation, >>, Integer_sar, 800510700) \
|
| + V(_IntegerImplementation, <, Integer_lessThan, 1783725614) \
|
| + V(_IntegerImplementation, <=, Integer_lessEqualThan, 2117870483) \
|
| + V(_IntegerImplementation, >=, Integer_greaterEqualThan, 1273428403) \
|
| + V(_IntegerImplementation, <<, Integer_shl, 580034677) \
|
| + V(_IntegerImplementation, >>, Integer_sar, 858785966) \
|
| V(_Double, toInt, Double_toInt, 1328149975)
|
|
|
|
|
| @@ -101,37 +101,37 @@
|
| V(::, sqrt, Math_sqrt, 465520247) \
|
| V(::, sin, Math_sin, 730107143) \
|
| V(::, cos, Math_cos, 1282146521) \
|
| - V(_Random, _nextState, Random_nextState, 1174301422) \
|
| + V(_Random, _nextState, Random_nextState, 1231559724) \
|
|
|
|
|
| #define TYPED_DATA_LIB_INTRINSIC_LIST(V) \
|
| - V(_TypedList, get:length, TypedData_getLength, 26646119) \
|
| - V(_Int8Array, _new, TypedData_Int8Array_new, 18350202) \
|
| - V(_Uint8Array, _new, TypedData_Uint8Array_new, 2118071523) \
|
| - V(_Uint8ClampedArray, _new, TypedData_Uint8ClampedArray_new, 908783182) \
|
| - V(_Int16Array, _new, TypedData_Int16Array_new, 422885769) \
|
| - V(_Uint16Array, _new, TypedData_Uint16Array_new, 1401544578) \
|
| - V(_Int32Array, _new, TypedData_Int32Array_new, 204107275) \
|
| - V(_Uint32Array, _new, TypedData_Uint32Array_new, 941458944) \
|
| - V(_Int64Array, _new, TypedData_Int64Array_new, 1022695954) \
|
| - V(_Uint64Array, _new, TypedData_Uint64Array_new, 728124050) \
|
| - V(_Float32Array, _new, TypedData_Float32Array_new, 123728871) \
|
| - V(_Float64Array, _new, TypedData_Float64Array_new, 311965335) \
|
| - V(_Float32x4Array, _new, TypedData_Float32x4Array_new, 775330800) \
|
| - V(_Int32x4Array, _new, TypedData_Int32x4Array_new, 2074077580) \
|
| - V(_Int8Array, ., TypedData_Int8Array_factory, 545976988) \
|
| - V(_Uint8Array, ., TypedData_Uint8Array_factory, 981297074) \
|
| - V(_Uint8ClampedArray, ., TypedData_Uint8ClampedArray_factory, 1617830104) \
|
| - V(_Int16Array, ., TypedData_Int16Array_factory, 300928419) \
|
| - V(_Uint16Array, ., TypedData_Uint16Array_factory, 480982704) \
|
| - V(_Int32Array, ., TypedData_Int32Array_factory, 1876611964) \
|
| - V(_Uint32Array, ., TypedData_Uint32Array_factory, 1811693442) \
|
| - V(_Int64Array, ., TypedData_Int64Array_factory, 958749261) \
|
| - V(_Uint64Array, ., TypedData_Uint64Array_factory, 767338823) \
|
| - V(_Float32Array, ., TypedData_Float32Array_factory, 1721244151) \
|
| - V(_Float64Array, ., TypedData_Float64Array_factory, 1599078532) \
|
| - V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 879975401) \
|
| - V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 924582681) \
|
| + V(_TypedList, get:length, TypedData_getLength, 26705701) \
|
| + V(_Int8Array, _new, TypedData_Int8Array_new, 698408572) \
|
| + V(_Uint8Array, _new, TypedData_Uint8Array_new, 650646245) \
|
| + V(_Uint8ClampedArray, _new, TypedData_Uint8ClampedArray_new, 1588841552) \
|
| + V(_Int16Array, _new, TypedData_Int16Array_new, 1102944139) \
|
| + V(_Uint16Array, _new, TypedData_Uint16Array_new, 2081602948) \
|
| + V(_Int32Array, _new, TypedData_Int32Array_new, 884165645) \
|
| + V(_Uint32Array, _new, TypedData_Uint32Array_new, 1621517314) \
|
| + V(_Int64Array, _new, TypedData_Int64Array_new, 1702754324) \
|
| + V(_Uint64Array, _new, TypedData_Uint64Array_new, 1408182420) \
|
| + V(_Float32Array, _new, TypedData_Float32Array_new, 803787241) \
|
| + V(_Float64Array, _new, TypedData_Float64Array_new, 992023705) \
|
| + V(_Float32x4Array, _new, TypedData_Float32x4Array_new, 1455389170) \
|
| + V(_Int32x4Array, _new, TypedData_Int32x4Array_new, 606652302) \
|
| + V(_Int8Array, ., TypedData_Int8Array_factory, 16429276) \
|
| + V(_Uint8Array, ., TypedData_Uint8Array_factory, 451749362) \
|
| + V(_Uint8ClampedArray, ., TypedData_Uint8ClampedArray_factory, 1088282392) \
|
| + V(_Int16Array, ., TypedData_Int16Array_factory, 1918864355) \
|
| + V(_Uint16Array, ., TypedData_Uint16Array_factory, 2098918640) \
|
| + V(_Int32Array, ., TypedData_Int32Array_factory, 1347064252) \
|
| + V(_Uint32Array, ., TypedData_Uint32Array_factory, 1282145730) \
|
| + V(_Int64Array, ., TypedData_Int64Array_factory, 429201549) \
|
| + V(_Uint64Array, ., TypedData_Uint64Array_factory, 237791111) \
|
| + V(_Float32Array, ., TypedData_Float32Array_factory, 1191696439) \
|
| + V(_Float64Array, ., TypedData_Float64Array_factory, 1069530820) \
|
| + V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 350427689) \
|
| + V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 395034969) \
|
|
|
|
|
| // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and
|
|
|