HomeSort by relevance Sort by last modified time
    Searched refs:smi (Results 1 - 25 of 27) sorted by null

1 2

  /external/v8/test/mjsunit/
codegen-coverage.js 88 // Test the non-commutative subtraction operation with a smi on the
89 // left, all available registers on the right, and a non-smi result.
90 x = identity(-1073741824); // Least (31-bit) smi.
91 a = x + 1; // Still a smi, the greatest smi negated.
96 // Subtraction should overflow the 31-bit smi range. The result
97 // (1073741824) is outside the 31-bit smi range so it doesn't hit the
98 // "unsafe smi" code that spills a register.
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
216 // Not actually Smi operations.
232 // Smi input to bitop gives non-smi result where the rhs is a float tha
    [all...]
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).
div-mod.js 118 var smi = 43; variable
133 smi,
global-ic.js 43 // Try the ICs with a smi. This should not crash.
array-length.js 94 a.length = Math.pow(2,30)+1; // not a smi!
array-unshift.js 128 // Check smi boundary
array-splice.js 283 // Check smi boundary
  /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,
  /frameworks/base/opengl/java/android/opengl/
Matrix.java 374 int smi = smOffset + i; local
376 sm[ smi] = m[ mi] * x;
377 sm[ 4 + smi] = m[ 4 + mi] * y;
378 sm[ 8 + smi] = m[ 8 + mi] * z;
379 sm[12 + smi] = m[12 + mi];
  /external/v8/test/mjsunit/regress/
regress-580.js 28 // Test constant folding of smi operations that overflow a 32-bit int
  /external/v8/src/x64/
macro-assembler-x64.cc 173 // the elements array represented as a smi. Otherwise it can be used as a
307 // We want to pass the msg string like a smi to avoid GC
310 // a proper v8 smi, but also pass the alignment difference
311 // from the real pointer as a smi.
314 // Note: p0 might not be a valid Smi *value*, but it has a valid Smi tag.
329 reinterpret_cast<intptr_t>(Smi::FromInt(static_cast<int>(p1 - p0))),
482 // Smi tagging, untagging and tag detection.
499 // 32-bit integer always fits in a long smi.
547 void MacroAssembler::SmiCompare(Register dst, Smi* src)
1310 Condition smi = CheckSmi(src); local
1316 Condition smi = CheckSmi(src); local
1450 intptr_t smi = reinterpret_cast<intptr_t>(source); local
1468 intptr_t smi = reinterpret_cast<intptr_t>(source); local
    [all...]
macro-assembler-x64.h 71 // the elements array represented as a Smi.
79 // The value is known to not be a smi.
82 // the elements array represented as a Smi.
165 // Smi tagging, untagging and operations on tagged smis.
167 // Conversions between tagged smi values and non-tagged integer values.
169 // Tag an integer value. The result must be known to be a valid smi value.
175 // represented as a smi. Only uses the low 32 bit of the src registers.
179 // Adds constant to src and tags the result as a smi.
180 // Result must be a valid smi.
183 // Convert smi to 32-bit integer. I.e., not sign extended int
    [all...]
full-codegen-x64.cc 127 __ Push(Smi::FromInt(scope()->num_parameters()));
541 __ SmiCompare(result_register(), Smi::FromInt(0));
724 __ Push(Smi::FromInt(attr));
734 __ Push(Smi::FromInt(0)); // no initial value!
772 __ Push(Smi::FromInt(is_eval() ? 1 : 0));
852 // Assert that the key is a smi.
889 __ Push(Smi::FromInt(expr->literal_index()));
902 __ Push(Smi::FromInt(expr->literal_index()));
952 Smi::FromInt(1) :
953 Smi::FromInt(0))
1608 Label smi, done; local
    [all...]
stub-cache-x64.cc 172 // Check that the receiver isn't a smi.
213 // Check that the object isn't a smi.
287 // Check that the receiver isn't a smi.
305 Label* smi,
307 // Check that the object isn't a smi.
308 __ JumpIfSmi(receiver, smi);
394 // Check that the receiver isn't a smi.
679 // Check that the receiver isn't a smi.
725 // Check that the object is a smi or a heap number.
813 // Check that the receiver isn't a smi
    [all...]
  /external/v8/src/
objects-inl.h 46 PropertyDetails::PropertyDetails(Smi* smi) {
47 value_ = smi->value();
51 Smi* PropertyDetails::AsSmi() {
52 return Smi::FromInt(value_);
58 Smi* smi = Smi::FromInt(AsSmi()->value() | DeletedField::encode(1)); local
59 return PropertyDetails(smi);
87 return Smi::cast(value)->value();
    [all...]
objects.h 46 // - Smi (immediate small integer)
107 // Smi: [31 bit signed int] 0
149 inline PropertyDetails(Smi* smi);
150 inline Smi* AsSmi();
548 // Since Smi and Failure are subclasses of Object no
642 // Converts this to a Smi if possible.
703 // Smi represents integer Numbers that can be stored in 31 bits.
708 // Smi stands for small integer.
709 class Smi: public Object
    [all...]
heap.cc     [all...]
string.js 839 // 0 < len <= String::kMaxLength and Smi::kMaxValue >= String::kMaxLength,
840 // so -len is a smi.
  /external/v8/src/arm/
full-codegen-arm.cc 125 __ mov(r1, Operand(Smi::FromInt(scope()->num_parameters())));
595 // We know that we have written a function, which is not a smi.
608 __ mov(r1, Operand(Smi::FromInt(attr)));
621 __ mov(r0, Operand(Smi::FromInt(0))); // No initial value!
657 __ mov(r0, Operand(Smi::FromInt(is_eval() ? 1 : 0)));
734 // Assert that the key is a smi.
772 __ mov(r3, Operand(Smi::FromInt(expr->literal_index())));
786 __ mov(r1, Operand(Smi::FromInt(expr->literal_index())));
840 Smi::FromInt(1) :
841 Smi::FromInt(0)))
1494 Label smi, done; local
    [all...]
stub-cache-arm.cc 103 // Check that the receiver isn't a smi.
178 // Check that the receiver isn't a smi.
199 Label* smi,
201 // Check that the receiver isn't a smi.
203 __ b(eq, smi);
275 // Check that the receiver isn't a smi.
323 // Skip updating write barrier if storing a smi.
338 // Skip updating write barrier if storing a smi.
574 // Check that the receiver isn't a smi.
658 // Check that the receiver isn't a smi
    [all...]
  /external/v8/src/ia32/
full-codegen-ia32.cc 125 __ push(Immediate(Smi::FromInt(scope()->num_parameters())));
721 __ push(Immediate(Smi::FromInt(attr)));
731 __ push(Immediate(Smi::FromInt(0))); // No initial value!
769 __ push(Immediate(Smi::FromInt(is_eval() ? 1 : 0)));
850 // Assert that the key is a smi.
887 __ push(Immediate(Smi::FromInt(expr->literal_index())));
901 __ push(Immediate(Smi::FromInt(expr->literal_index())));
949 Smi::FromInt(1) :
950 Smi::FromInt(0)));
970 __ push(Immediate(Smi::FromInt(expr->literal_index())))
1616 Label smi, done; local
    [all...]
stub-cache-ia32.cc 124 // Check that the receiver isn't a smi.
177 // Check that the receiver isn't a smi.
196 Label* smi,
198 // Check that the object isn't a smi.
200 __ j(zero, smi, not_taken);
222 // Load length from the string and convert to a smi.
317 // Check that the receiver isn't a smi.
591 __ push(Immediate(Smi::FromInt(0)));
592 __ push(Immediate(Smi::FromInt(0)));
593 __ push(Immediate(Smi::FromInt(0)))
    [all...]
  /external/tcpdump/
tcpdump.c 60 #include <smi.h>
    [all...]
print-snmp.c 74 #include <smi.h>
84 * (we only care about the tag values for those allowed in the Internet SMI)
107 * Application-wide ASN.1 types from the Internet SMI and their tags
169 * The Internet SMI does not specify any
    [all...]

Completed in 959 milliseconds

1 2