Home
last modified time | relevance | path

Searched refs:SMI_MIN (Results 1 – 4 of 4) sorted by relevance

/external/v8/test/mjsunit/
Dint32-ops.js33 const SMI_MIN = -SMI_MAX - 1; // Create without overflowing. constant
96 assertEquals(SMI_MIN - ONE, Sub1(SMI_MIN)); // overflow
97 assertEquals(ONE - SMI_MIN, Sub1Reversed(SMI_MIN)); // overflow
103 assertEquals(SMI_MIN - ONE_HUNDRED, Sub100(SMI_MIN)); // overflow
104 assertEquals(ONE_HUNDRED - SMI_MIN, Sub100Reversed(SMI_MIN)); // overflow
146 assertEquals(1073741824, Shr1(SMI_MIN));
147 assertEquals(-1073741824, Sar1(SMI_MIN));
148 assertEquals(1, Shr1Reversed(SMI_MIN));
149 assertEquals(1, Sar1Reversed(SMI_MIN));
159 assertEquals(134217728, Shr100(SMI_MIN));
[all …]
Dsmi-ops.js29 const SMI_MIN = -SMI_MAX - 1; // Create without overflowing. constant
92 assertEquals(SMI_MIN - ONE, Sub1(SMI_MIN)); // overflow
93 assertEquals(ONE - SMI_MIN, Sub1Reversed(SMI_MIN)); // overflow
99 assertEquals(SMI_MIN - ONE_HUNDRED, Sub100(SMI_MIN)); // overflow
100 assertEquals(ONE_HUNDRED - SMI_MIN, Sub100Reversed(SMI_MIN)); // overflow
142 assertEquals(1610612736, Shr1(SMI_MIN));
143 assertEquals(-536870912, Sar1(SMI_MIN));
144 assertEquals(1, Shr1Reversed(SMI_MIN));
145 assertEquals(1, Sar1Reversed(SMI_MIN));
155 assertEquals(201326592, Shr100(SMI_MIN));
[all …]
Dsmi-ops-inlined.js31 const SMI_MIN = -(1 << 30); constant
94 assertEquals(SMI_MIN - ONE, Sub1(SMI_MIN)); // overflow
95 assertEquals(ONE - SMI_MIN, Sub1Reversed(SMI_MIN)); // overflow
101 assertEquals(SMI_MIN - ONE_HUNDRED, Sub100(SMI_MIN)); // overflow
102 assertEquals(ONE_HUNDRED - SMI_MIN, Sub100Reversed(SMI_MIN)); // overflow
144 assertEquals(1610612736, Shr1(SMI_MIN));
145 assertEquals(-536870912, Sar1(SMI_MIN));
146 assertEquals(1, Shr1Reversed(SMI_MIN));
147 assertEquals(1, Sar1Reversed(SMI_MIN));
157 assertEquals(201326592, Shr100(SMI_MIN));
[all …]
Dnegate.js29 const SMI_MIN = -(1 << 30); constant
40 testmulneg(SMI_MIN, 3);