/external/v8/test/mjsunit/ |
codegen-coverage.js | 93 // Test the non-commutative subtraction operation with a smi on the 94 // left, all available registers on the right, and a non-smi result. 95 x = identity(-1073741824); // Least (31-bit) smi. 96 a = x + 1; // Still a smi, the greatest smi negated. 101 // Subtraction should overflow the 31-bit smi range. The result 102 // (1073741824) is outside the 31-bit smi range so it doesn't hit the 103 // "unsafe smi" code that spills a register.
|
array-literal-transitions.js | 28 // Flags: --allow-natives-syntax --smi-only-arrays --expose-gc 30 // Since --smi-only-arrays affects builtins, its default setting at compile 31 // time sticks if built with snapshot. If --smi-only-arrays is deactivated 32 // by default, only a no-snapshot build actually has smi-only arrays enabled 33 // in this test case. Depending on whether smi-only arrays are actually 34 // enabled, this test takes the appropriate code path to check smi-only arrays. 39 print("Tests include smi-only arrays."); 41 print("Tests do NOT include smi-only arrays."); 44 // IC and Crankshaft support for smi-only elements in dynamic array literals.
|
int32-ops.js | 28 // Repeat most the tests in smi-ops.js that use SMI_MIN and SMI_MAX, but 65 assertEquals(42 + ONE, Add1(OBJ_42)); // non-smi 66 assertEquals(42 + ONE, Add1Reversed(OBJ_42)); // non-smi 72 assertEquals(42 + ONE_HUNDRED, Add100(OBJ_42)); // non-smi 73 assertEquals(42 + ONE_HUNDRED, Add100Reversed(OBJ_42)); // non-smi 98 assertEquals(42 - ONE, Sub1(OBJ_42)); // non-smi 99 assertEquals(ONE - 42, Sub1Reversed(OBJ_42)); // non-smi 105 assertEquals(42 - ONE_HUNDRED, Sub100(OBJ_42)); // non-smi 106 assertEquals(ONE_HUNDRED - 42, Sub100Reversed(OBJ_42)); // non-smi
|
elements-kind.js | 28 // Flags: --allow-natives-syntax --smi-only-arrays --expose-gc 31 // Since --smi-only-arrays affects builtins, its default setting at compile 32 // time sticks if built with snapshot. If --smi-only-arrays is deactivated 33 // by default, only a no-snapshot build actually has smi-only arrays enabled 34 // in this test case. Depending on whether smi-only arrays are actually 35 // enabled, this test takes the appropriate code path to check smi-only arrays. 40 print("Tests include smi-only arrays."); 42 print("Tests do NOT include smi-only arrays."); 46 fast_smi_only : 'fast smi only elements', 119 // Make sure the element kind transitions from smionly when a non-smi is stored [all...] |
elements-transition.js | 28 // Flags: --allow-natives-syntax --smi-only-arrays 33 print("Tests include smi-only arrays."); 35 print("Tests do NOT include smi-only arrays."); 112 print("Test skipped because smi only arrays are not supported.");
|
switch.js | 345 smi: [1, 2, 3, 4], 399 expected: clause_type !== 'smi' ? 'ok-' + v : undefined 406 expected: clause_type !== 'smi' ? 'ok-' + v : undefined 415 } else if (test_type === 'smi') { 416 pairs = clause_values.smi.map(function(v) { 423 pairs = clause_values.smi.map(function(v) { 439 var test_types = ['symbols', 'strings', 'oddball', 'smi', 'heapnum']; 457 test('smi');
|
smi-ops-inlined.js | 28 // Flags: --always-inline-smi-code 63 assertEquals(42 + ONE, Add1(OBJ_42)); // non-smi 64 assertEquals(42 + ONE, Add1Reversed(OBJ_42)); // non-smi 70 assertEquals(42 + ONE_HUNDRED, Add100(OBJ_42)); // non-smi 71 assertEquals(42 + ONE_HUNDRED, Add100Reversed(OBJ_42)); // non-smi 96 assertEquals(42 - ONE, Sub1(OBJ_42)); // non-smi 97 assertEquals(ONE - 42, Sub1Reversed(OBJ_42)); // non-smi 103 assertEquals(42 - ONE_HUNDRED, Sub100(OBJ_42)); // non-smi 104 assertEquals(ONE_HUNDRED - 42, Sub100Reversed(OBJ_42)); // non-smi 218 // Not actually Smi operations [all...] |
smi-ops.js | 61 assertEquals(42 + ONE, Add1(OBJ_42)); // non-smi 62 assertEquals(42 + ONE, Add1Reversed(OBJ_42)); // non-smi 68 assertEquals(42 + ONE_HUNDRED, Add100(OBJ_42)); // non-smi 69 assertEquals(42 + ONE_HUNDRED, Add100Reversed(OBJ_42)); // non-smi 94 assertEquals(42 - ONE, Sub1(OBJ_42)); // non-smi 95 assertEquals(ONE - 42, Sub1Reversed(OBJ_42)); // non-smi 101 assertEquals(42 - ONE_HUNDRED, Sub100(OBJ_42)); // non-smi 102 assertEquals(ONE_HUNDRED - 42, Sub100Reversed(OBJ_42)); // non-smi 225 // Not actually Smi operations. 241 // Smi input to bitop gives non-smi result where the rhs is a float tha [all...] |
math-abs.js | 64 // 2^30 is a smi boundary on arm and ia32. 76 // 2^31 is a smi boundary on x64. 105 // Get some smi type feedback.
|
constant-folding.js | 212 // Answer is non-Smi so the subtraction is not folded in the code 219 // Answer is non-smi and lhs of << is a temporary heap number that we can 224 // Answer is non-smi and lhs of << is a temporary heap number that we think 225 // we can overwrite (but we can't because it's a Smi).
|
arguments-escape.js | 44 // Test writing a non-smi.
|
elements-kind-depends.js | 28 // Flags: --allow-natives-syntax --smi-only-arrays
|
global-ic.js | 43 // Try the ICs with a smi. This should not crash.
|
elements-transition-hoisting.js | 28 // Flags: --allow-natives-syntax --smi-only-arrays --expose-gc 37 print("Tests include smi-only arrays."); 39 print("Tests do NOT include smi-only arrays.");
|
/external/v8/src/ |
property-details.h | 51 class Smi; 97 explicit inline PropertyDetails(Smi* smi); 98 inline Smi* AsSmi();
|
/external/v8/test/mjsunit/compiler/ |
deopt-inlined-smi.js | 28 // Flags: --always-opt --always-inline-smi-code 30 // Test deoptimization into inlined smi code.
|
/external/kernel-headers/original/linux/ |
ipmi_smi.h | 51 * Messages to/from the lower layer. The smi interface will take one 92 /* Called to enqueue an SMI message to be sent. This 120 to; this function lets the SMI claim any modules that it 205 int ipmi_smi_add_proc_entry(ipmi_smi_t smi, char *name,
|
/external/v8/test/mjsunit/regress/ |
regress-681.js | 30 // Test that load ICs for nonexistent properties bail out on smi receiver. 40 // Make x a smi.
|
regress-crbug-39160.js | 31 // the left hand side is known to be a smi (max smi value is 1073741823). This
|
regress-smi-only-concat.js | 30 // This tests that concatenating a fast smi-only array and a fast object array
|
regress-117794.js | 29 // smi check on the receiver. The code below should not crash.
|
regress-1210.js | 46 // Run enough to optimize assuming global 'a' is a smi.
|
regress-580.js | 28 // Test constant folding of smi operations that overflow a 32-bit int
|
/external/mksh/src/ |
exec.c | 1568 const struct select_menu_info *smi = local 1582 struct select_menu_info smi; local [all...] |
/frameworks/base/opengl/java/android/opengl/ |
Matrix.java | 437 int smi = smOffset + i; local 439 sm[ smi] = m[ mi] * x; 440 sm[ 4 + smi] = m[ 4 + mi] * y; 441 sm[ 8 + smi] = m[ 8 + mi] * z; 442 sm[12 + smi] = m[12 + mi];
|