Home
last modified time | relevance | path

Searched refs:rem (Results 1 – 25 of 29) sorted by relevance

12

/art/test/436-rem-float/
DAndroid.bp3 // Build rules for ART run-test `436-rem-float`.
16 name: "art-run-test-436-rem-float",
21 ":art-run-test-436-rem-float-expected-stdout",
22 ":art-run-test-436-rem-float-expected-stderr",
28 name: "art-run-test-436-rem-float-expected-stdout",
29 out: ["art-run-test-436-rem-float-expected-stdout.txt"],
36 name: "art-run-test-436-rem-float-expected-stderr",
37 out: ["art-run-test-436-rem-float-expected-stderr.txt"],
Dinfo.txt1 Tests for floating point modulo (rem) operation.
/art/test/2252-rem-optimization-dividend-divisor/
DAndroid.bp3 // Build rules for ART run-test `2252-rem-optimization-dividend-divisor`.
16 name: "art-run-test-2252-rem-optimization-dividend-divisor",
21 ":art-run-test-2252-rem-optimization-dividend-divisor-expected-stdout",
22 ":art-run-test-2252-rem-optimization-dividend-divisor-expected-stderr",
28 name: "art-run-test-2252-rem-optimization-dividend-divisor-expected-stdout",
29 out: ["art-run-test-2252-rem-optimization-dividend-divisor-expected-stdout.txt"],
36 name: "art-run-test-2252-rem-optimization-dividend-divisor-expected-stderr",
37 out: ["art-run-test-2252-rem-optimization-dividend-divisor-expected-stderr.txt"],
/art/test/449-checker-bce-rem/
DAndroid.bp3 // Build rules for ART run-test `449-checker-bce-rem`.
16 name: "art-run-test-449-checker-bce-rem",
21 ":art-run-test-449-checker-bce-rem-expected-stdout",
22 ":art-run-test-449-checker-bce-rem-expected-stderr",
31 name: "art-run-test-449-checker-bce-rem-expected-stdout",
32 out: ["art-run-test-449-checker-bce-rem-expected-stdout.txt"],
39 name: "art-run-test-449-checker-bce-rem-expected-stderr",
40 out: ["art-run-test-449-checker-bce-rem-expected-stderr.txt"],
/art/runtime/interpreter/mterp/x86_64ng/
Darithmetic.S1 %def bindiv(result="", second="", tmp="", wide="", suffix="", rem="0", ext="cdq"):
31 .if $rem
38 .if $rem
61 %def bindiv2addr(result="", second="", tmp="", wide="", suffix="", rem="0", ext="cdq"):
92 .if $rem
99 .if $rem
122 %def bindivLit16(result="", rem="0"):
143 .if $rem
150 %def bindivLit8(result="", rem="0"):
169 .if $rem
[all …]
/art/test/561-divrem/
Dinfo.txt1 Regression test for div/rem taking Integer.MIN_VALUE and
/art/test/411-optimizing-arith/
Dinfo.txt6 - modulo (rem),
/art/test/107-int-math2/src/
DMain.java47 long rem; in divideLongByBillion() local
52 rem = (a % bLong); in divideLongByBillion()
61 rem = aPos % bPos; in divideLongByBillion()
63 rem = (rem << 1) + (a & 1); in divideLongByBillion()
65 return ((rem << 32) | (quot & 0xFFFFFFFFL)); in divideLongByBillion()
/art/test/dexdump/
Dall.txt165 0004b0: 9400 0102 |0008: rem-int v0, v1, v2
176 0004dc: 9f00 0102 |001e: rem-long v0, v1, v2
187 000508: aa00 0102 |0034: rem-float v0, v1, v2
192 00051c: af00 0102 |003e: rem-double v0, v1, v2
213 00053c: b410 |0004: rem-int/2addr v0, v1
224 000552: bf10 |000f: rem-long/2addr v0, v1
235 000568: ca10 |001a: rem-float/2addr v0, v1
240 000572: cf10 |001f: rem-double/2addr v0, v1
261 000598: d410 3412 |0008: rem-int/lit16 v0, v1, #int 4660 // #1234
285 0005cc: dc00 0112 |0008: rem-int/lit8 v0, v1, #int 18 // #12
Dbytecodes.txt934 000fd8: bf64 |001e: rem-long/2addr v4, v6
964 001046: b432 |0055: rem-int/2addr v2, v3
1315 001424: aa14 1516 |00cc: rem-float v20, v21, v22
1340 001488: af0e 1618 |00fe: rem-double v14, v22, v24
1347 0014a2: aa16 1610 |010b: rem-float v22, v22, v16
1357 0014c8: af18 1806 |011e: rem-double v24, v24, v6
1474 0015ac: 9401 0801 |004a: rem-int v1, v8, v1
1537 001636: b48c |0031: rem-int/2addr v12, v8
1549 001656: d4db ff00 |0041: rem-int/lit16 v11, v13, #int 255 // #00ff
1563 001680: dc0b 0d01 |0056: rem-int/lit8 v11, v13, #int 1 // #01
[all …]
/art/test/993-breakpoints-non-debuggable/src/art/
DTest993.java297 for (int rem = 0; rem <= items.size() - len; rem++) { in combinations()
298 for (List<T> others : combinations(items.subList(rem + 1, items.size()), len - 1)) { in combinations()
300 newone.add(items.get(rem)); in combinations()
/art/test/993-breakpoints/src/art/
DTest993.java297 for (int rem = 0; rem <= items.size() - len; rem++) { in combinations()
298 for (List<T> others : combinations(items.subList(rem + 1, items.size()), len - 1)) { in combinations()
300 newone.add(items.get(rem)); in combinations()
/art/dt_fd_forward/
Ddt_fd_forward.cc543 jint rem = pkt_->type.cmd.len - 11; in ReadRemaining() local
544 CHECK_GE(rem, 0); in ReadRemaining()
545 if (rem == 0) { in ReadRemaining()
548 out = reinterpret_cast<jbyte*>(transport_->Alloc(rem)); in ReadRemaining()
549 IOResult res = transport_->ReadFully(out, rem); in ReadRemaining()
/art/runtime/interpreter/mterp/x86ng/
Darithmetic.S1 %def bindiv(result="", special="", rem=""):
28 % add_slow_path(bindiv_helper, result, rem)
30 %def bindiv_helper(result, rem):
38 .if $rem
423 % bindiv(result="%eax", special="$0x80000000", rem="0")
687 % bindiv(result="rIBASE", special="$0", rem="1")
/art/test/435-try-finally-without-catch/
Dinfo.txt7 enough not to emit a `div-int' (or `rem-int') instruction when the
/art/compiler/optimizing/
Dinstruction_simplifier.cc76 void TryToReuseDiv(HRem* rem);
1958 void InstructionSimplifierVisitor::TryToReuseDiv(HRem* rem) { in TryToReuseDiv() argument
1962 if (rem->IsInLoop() && be_loop_friendly_) { in TryToReuseDiv()
1965 DataType::Type type = rem->GetResultType(); in TryToReuseDiv()
1970 HBasicBlock* basic_block = rem->GetBlock(); in TryToReuseDiv()
1971 HInstruction* dividend = rem->GetLeft(); in TryToReuseDiv()
1972 HInstruction* divisor = rem->GetRight(); in TryToReuseDiv()
1975 HConstant* input_cst = rem->GetConstantRight(); in TryToReuseDiv()
1988 if (!quotient->StrictlyDominates(rem)) { in TryToReuseDiv()
1989 quotient->MoveBefore(rem); in TryToReuseDiv()
[all …]
Dinduction_var_analysis_test.cc698 HInstruction* rem = InsertInstruction( in TEST_F() local
700 k_header->AddInput(rem); in TEST_F()
715 EXPECT_STREQ("", GetInductionInfo(rem, 0).c_str()); in TEST_F()
Dcode_generator_arm_vixl.cc4806 void LocationsBuilderARMVIXL::VisitRem(HRem* rem) { in VisitRem() argument
4807 DataType::Type type = rem->GetResultType(); in VisitRem()
4811 if (rem->GetResultType() == DataType::Type::kInt32 && rem->InputAt(1)->IsConstant()) { in VisitRem()
4814 } else if ((rem->GetResultType() == DataType::Type::kInt32) in VisitRem()
4820 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(rem, call_kind); in VisitRem()
4824 HInstruction* divisor = rem->InputAt(1); in VisitRem()
4832 } else if (IsPowerOfTwo(AbsOrMin(value)) && !HasNonNegativeOrMinIntInputAt(rem, 0)) { in VisitRem()
4887 void InstructionCodeGeneratorARMVIXL::VisitRem(HRem* rem) { in VisitRem() argument
4888 LocationSummary* locations = rem->GetLocations(); in VisitRem()
4891 DataType::Type type = rem->GetResultType(); in VisitRem()
[all …]
Dloop_optimization.cc1423 HInstruction* rem = Insert(preheader, new (global_allocator_) HAnd( in VectorizeTraditional() local
1426 induc_type, graph_->GetConstant(induc_type, align), rem)); in VectorizeTraditional()
1428 rem, graph_->GetConstant(induc_type, 0))); in VectorizeTraditional()
1451 HInstruction* rem = Insert( in VectorizeTraditional() local
1455 vtc = Insert(preheader, new (global_allocator_) HSub(induc_type, stc, rem)); in VectorizeTraditional()
Dcode_generator_x86_64.h307 void GenerateRemFP(HRem* rem);
Dcode_generator_x86_64.cc4169 void InstructionCodeGeneratorX86_64::GenerateRemFP(HRem *rem) { in GenerateRemFP() argument
4170 DataType::Type type = rem->GetResultType(); in GenerateRemFP()
4173 LocationSummary* locations = rem->GetLocations(); in GenerateRemFP()
4608 void LocationsBuilderX86_64::VisitRem(HRem* rem) { in VisitRem() argument
4609 DataType::Type type = rem->GetResultType(); in VisitRem()
4611 new (GetGraph()->GetAllocator()) LocationSummary(rem, LocationSummary::kNoCall); in VisitRem()
4617 locations->SetInAt(1, Location::RegisterOrConstant(rem->InputAt(1))); in VisitRem()
4623 if (rem->InputAt(1)->IsConstant()) { in VisitRem()
4643 void InstructionCodeGeneratorX86_64::VisitRem(HRem* rem) { in VisitRem() argument
4644 DataType::Type type = rem->GetResultType(); in VisitRem()
[all …]
Dcode_generator_x86.h317 void GenerateRemFP(HRem* rem);
Dcode_generator_x86.cc4060 void InstructionCodeGeneratorX86::GenerateRemFP(HRem *rem) { in GenerateRemFP() argument
4061 DataType::Type type = rem->GetResultType(); in GenerateRemFP()
4064 LocationSummary* locations = rem->GetLocations(); in GenerateRemFP()
4431 void LocationsBuilderX86::VisitRem(HRem* rem) { in VisitRem() argument
4432 DataType::Type type = rem->GetResultType(); in VisitRem()
4434 LocationSummary::CallKind call_kind = (rem->GetResultType() == DataType::Type::kInt64) in VisitRem()
4437 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(rem, call_kind); in VisitRem()
4442 locations->SetInAt(1, Location::RegisterOrConstant(rem->InputAt(1))); in VisitRem()
4447 if (rem->InputAt(1)->IsIntConstant()) { in VisitRem()
4476 void InstructionCodeGeneratorX86::VisitRem(HRem* rem) { in VisitRem() argument
[all …]
/art/test/530-checker-peel-unroll/smali/
DPeelUnroll.smali95 rem-int/lit8 v0, v2, 0x2
204 rem-int/lit8 v0, v2, 0x2
/art/
DTEST_MAPPING461 "name": "art-run-test-2252-rem-optimization-dividend-divisor"
617 "name": "art-run-test-436-rem-float"
656 "name": "art-run-test-449-checker-bce-rem"
1889 "name": "art-run-test-2252-rem-optimization-dividend-divisor[com.google.android.art.apex]"
2045 "name": "art-run-test-436-rem-float[com.google.android.art.apex]"
2084 "name": "art-run-test-449-checker-bce-rem[com.google.android.art.apex]"
3335 "name": "art-run-test-2252-rem-optimization-dividend-divisor"
3491 "name": "art-run-test-436-rem-float"
3530 "name": "art-run-test-449-checker-bce-rem"
4771 "name": "art-run-test-2252-rem-optimization-dividend-divisor"
[all …]

12