Home
last modified time | relevance | path

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

/external/r8/src/test/java/com/android/tools/r8/smali/
DConstantFoldingTest.java180 public void generateUnopTest(String type, String op, Long value, Long result) { in generateUnopTest() method in ConstantFoldingTest
216 generateUnopTest("int", "neg", 2L, -2L); in negFold()
217 generateUnopTest("int", "neg", -2L, 2L); in negFold()
218 generateUnopTest("long", "neg", 2L, -2L); in negFold()
219 generateUnopTest("long", "neg", -2L, 2L); in negFold()
220 generateUnopTest("float", "neg", floatBits(2.0f), floatBits(-2.0f)); in negFold()
221 generateUnopTest("float", "neg", floatBits(-2.0f), floatBits(2.0f)); in negFold()
222 generateUnopTest("float", "neg", floatBits(0.0f), floatBits(-0.0f)); in negFold()
223 generateUnopTest("float", "neg", floatBits(-0.0f), floatBits(0.0f)); in negFold()
224 generateUnopTest("double", "neg", doubleBits(2.0), doubleBits(-2.0)); in negFold()
[all …]