/art/runtime/interpreter/mterp/x86_64/ |
D | arithmetic.S | 1 %def bindiv(result="", second="", wide="", suffix="", rem="0", ext="cdq"): 29 .if $rem 36 %def bindiv2addr(result="", second="", wide="", suffix="", rem="0", ext="cdq"): 65 .if $rem 72 %def bindivLit16(result="", rem="0"): 93 .if $rem 100 %def bindivLit8(result="", rem="0"): 119 .if $rem 478 % bindiv(result="%edx", second="%ecx", wide="0", suffix="l", rem="1") 481 % bindiv2addr(result="%edx", second="%ecx", wide="0", suffix="l", rem="1") [all …]
|
/art/test/436-rem-float/ |
D | info.txt | 1 Tests for floating point modulo (rem) operation.
|
/art/test/561-divrem/ |
D | info.txt | 1 Regression test for div/rem taking Integer.MIN_VALUE and
|
/art/test/411-optimizing-arith/ |
D | info.txt | 6 - modulo (rem),
|
/art/test/993-breakpoints/src/art/ |
D | Test993.java | 297 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/107-int-math2/src/ |
D | Main.java | 45 long rem; in divideLongByBillion() local 50 rem = (a % bLong); in divideLongByBillion() 59 rem = aPos % bPos; in divideLongByBillion() 61 rem = (rem << 1) + (a & 1); in divideLongByBillion() 63 return ((rem << 32) | (quot & 0xFFFFFFFFL)); in divideLongByBillion()
|
/art/test/dexdump/ |
D | all.txt | 162 0004b0: 9400 0102 |0008: rem-int v0, v1, v2 173 0004dc: 9f00 0102 |001e: rem-long v0, v1, v2 184 000508: aa00 0102 |0034: rem-float v0, v1, v2 189 00051c: af00 0102 |003e: rem-double v0, v1, v2 209 00053c: b410 |0004: rem-int/2addr v0, v1 220 000552: bf10 |000f: rem-long/2addr v0, v1 231 000568: ca10 |001a: rem-float/2addr v0, v1 236 000572: cf10 |001f: rem-double/2addr v0, v1 256 000598: d410 3412 |0008: rem-int/lit16 v0, v1, #int 4660 // #1234 279 0005cc: dc00 0112 |0008: rem-int/lit8 v0, v1, #int 18 // #12
|
D | bytecodes.txt | 923 000fd8: bf64 |001e: rem-long/2addr v4, v6 953 001046: b432 |0055: rem-int/2addr v2, v3 1300 001424: aa14 1516 |00cc: rem-float v20, v21, v22 1325 001488: af0e 1618 |00fe: rem-double v14, v22, v24 1332 0014a2: aa16 1610 |010b: rem-float v22, v22, v16 1342 0014c8: af18 1806 |011e: rem-double v24, v24, v6 1458 0015ac: 9401 0801 |004a: rem-int v1, v8, v1 1520 001636: b48c |0031: rem-int/2addr v12, v8 1532 001656: d4db ff00 |0041: rem-int/lit16 v11, v13, #int 255 // #00ff 1546 001680: dc0b 0d01 |0056: rem-int/lit8 v11, v13, #int 1 // #01 [all …]
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 524 jint rem = pkt_->type.cmd.len - 11; in ReadRemaining() local 525 CHECK_GE(rem, 0); in ReadRemaining() 526 if (rem == 0) { in ReadRemaining() 529 out = reinterpret_cast<jbyte*>(transport_->Alloc(rem)); in ReadRemaining() 530 IOResult res = transport_->ReadFully(out, rem); in ReadRemaining()
|
/art/test/435-try-finally-without-catch/ |
D | info.txt | 7 enough not to emit a `div-int' (or `rem-int') instruction when the
|
/art/runtime/interpreter/mterp/x86/ |
D | arithmetic.S | 1 %def bindiv(result="", special="", rem=""): 28 % add_helper(lambda: 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/530-checker-peel-unroll/smali/ |
D | PeelUnroll.smali | 95 rem-int/lit8 v0, v2, 0x2 204 rem-int/lit8 v0, v2, 0x2
|
/art/compiler/optimizing/ |
D | code_generator_arm_vixl.cc | 4177 void LocationsBuilderARMVIXL::VisitRem(HRem* rem) { in VisitRem() argument 4178 DataType::Type type = rem->GetResultType(); in VisitRem() 4182 if (rem->GetResultType() == DataType::Type::kInt32 && rem->InputAt(1)->IsConstant()) { in VisitRem() 4185 } else if ((rem->GetResultType() == DataType::Type::kInt32) in VisitRem() 4191 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(rem, call_kind); in VisitRem() 4195 if (rem->InputAt(1)->IsConstant()) { in VisitRem() 4197 locations->SetInAt(1, Location::ConstantLocation(rem->InputAt(1)->AsConstant())); in VisitRem() 4199 int32_t value = Int32ConstantFrom(rem->InputAt(1)); in VisitRem() 4256 void InstructionCodeGeneratorARMVIXL::VisitRem(HRem* rem) { in VisitRem() argument 4257 LocationSummary* locations = rem->GetLocations(); in VisitRem() [all …]
|
D | induction_var_analysis_test.cc | 697 HInstruction* rem = InsertInstruction( in TEST_F() local 699 k_header->AddInput(rem); in TEST_F() 714 EXPECT_STREQ("", GetInductionInfo(rem, 0).c_str()); in TEST_F()
|
D | loop_optimization.cc | 1090 HInstruction* rem = Insert(preheader, new (global_allocator_) HAnd( in Vectorize() local 1093 induc_type, graph_->GetConstant(induc_type, align), rem)); in Vectorize() 1095 rem, graph_->GetConstant(induc_type, 0))); in Vectorize() 1118 HInstruction* rem = Insert( in Vectorize() local 1122 vtc = Insert(preheader, new (global_allocator_) HSub(induc_type, stc, rem)); in Vectorize()
|
D | code_generator_x86_64.h | 215 void GenerateRemFP(HRem* rem);
|
D | code_generator_x86_64.cc | 3467 void InstructionCodeGeneratorX86_64::GenerateRemFP(HRem *rem) { in GenerateRemFP() argument 3468 DataType::Type type = rem->GetResultType(); in GenerateRemFP() 3471 LocationSummary* locations = rem->GetLocations(); in GenerateRemFP() 3906 void LocationsBuilderX86_64::VisitRem(HRem* rem) { in VisitRem() argument 3907 DataType::Type type = rem->GetResultType(); in VisitRem() 3909 new (GetGraph()->GetAllocator()) LocationSummary(rem, LocationSummary::kNoCall); in VisitRem() 3915 locations->SetInAt(1, Location::RegisterOrConstant(rem->InputAt(1))); in VisitRem() 3921 if (rem->InputAt(1)->IsConstant()) { in VisitRem() 3941 void InstructionCodeGeneratorX86_64::VisitRem(HRem* rem) { in VisitRem() argument 3942 DataType::Type type = rem->GetResultType(); in VisitRem() [all …]
|
D | code_generator_x86.h | 223 void GenerateRemFP(HRem* rem);
|
D | code_generator_x86.cc | 3422 void InstructionCodeGeneratorX86::GenerateRemFP(HRem *rem) { in GenerateRemFP() argument 3423 DataType::Type type = rem->GetResultType(); in GenerateRemFP() 3426 LocationSummary* locations = rem->GetLocations(); in GenerateRemFP() 3793 void LocationsBuilderX86::VisitRem(HRem* rem) { in VisitRem() argument 3794 DataType::Type type = rem->GetResultType(); in VisitRem() 3796 LocationSummary::CallKind call_kind = (rem->GetResultType() == DataType::Type::kInt64) in VisitRem() 3799 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(rem, call_kind); in VisitRem() 3804 locations->SetInAt(1, Location::RegisterOrConstant(rem->InputAt(1))); in VisitRem() 3809 if (rem->InputAt(1)->IsIntConstant()) { in VisitRem() 3838 void InstructionCodeGeneratorX86::VisitRem(HRem* rem) { in VisitRem() argument [all …]
|
D | code_generator_arm64.cc | 5154 void LocationsBuilderARM64::VisitRem(HRem* rem) { in VisitRem() argument 5155 DataType::Type type = rem->GetResultType(); in VisitRem() 5159 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(rem, call_kind); in VisitRem() 5165 locations->SetInAt(1, Location::RegisterOrConstant(rem->InputAt(1))); in VisitRem() 5246 void InstructionCodeGeneratorARM64::VisitRem(HRem* rem) { in VisitRem() argument 5247 DataType::Type type = rem->GetResultType(); in VisitRem() 5252 GenerateIntRem(rem); in VisitRem() 5260 codegen_->InvokeRuntime(entrypoint, rem, rem->GetDexPc()); in VisitRem()
|
D | code_generator_mips.cc | 8860 void LocationsBuilderMIPS::VisitRem(HRem* rem) { in VisitRem() argument 8861 DataType::Type type = rem->GetResultType(); in VisitRem() 8863 if ((type == DataType::Type::kInt64) && rem->InputAt(1)->IsConstant()) { in VisitRem() 8864 int64_t imm = CodeGenerator::GetInt64ValueOf(rem->InputAt(1)->AsConstant()); in VisitRem() 8872 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(rem, call_kind); in VisitRem() 8877 locations->SetInAt(1, Location::RegisterOrConstant(rem->InputAt(1))); in VisitRem() 8891 locations->SetInAt(1, Location::ConstantLocation(rem->InputAt(1)->AsConstant())); in VisitRem()
|
D | code_generator_mips64.cc | 6783 void LocationsBuilderMIPS64::VisitRem(HRem* rem) { in VisitRem() argument 6784 DataType::Type type = rem->GetResultType(); in VisitRem() 6788 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(rem, call_kind); in VisitRem() 6794 locations->SetInAt(1, Location::RegisterOrConstant(rem->InputAt(1))); in VisitRem()
|