Home
last modified time | relevance | path

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

/art/test/414-optimizing-arith-sub/src/
DMain.java81 expectEquals(2, $opt$Sub(5, 3)); in subInt()
82 expectEquals(0, $opt$Sub(0, 0)); in subInt()
83 expectEquals(-3, $opt$Sub(0, 3)); in subInt()
84 expectEquals(3, $opt$Sub(3, 0)); in subInt()
85 expectEquals(4, $opt$Sub(1, -3)); in subInt()
86 expectEquals(-9, $opt$Sub(-12, -3)); in subInt()
87 expectEquals(134217724, $opt$Sub(134217729, 5)); // (2^27 + 1) - 5 in subInt()
91 expectEquals(2L, $opt$Sub(5L, 3L)); in subLong()
92 expectEquals(0L, $opt$Sub(0L, 0L)); in subLong()
93 expectEquals(-3L, $opt$Sub(0L, 3L)); in subLong()
[all …]
/art/test/093-serialization/src/
DMain.java48 Sub sub = new Sub('X'); in createStream()
63 Sub sub; in checkStream()
66 sub = (Sub) objStream.readObject(); in checkStream()
106 class Sub extends Base { class
117 public Sub(char thing) { in Sub() method in Sub
/art/test/480-checker-dead-blocks/smali/
DSmali.smali23 ## CHECK-DAG: <<Sub:i\d+>> Sub [<<ArgX>>,<<ArgY>>]
24 ## CHECK-DAG: <<Phi:i\d+>> Phi [<<Add>>,<<Sub>>]
35 ## CHECK-NOT: Sub
76 ## CHECK-DAG: <<Sub:i\d+>> Sub [<<ArgX>>,<<ArgY>>]
77 ## CHECK-DAG: <<Phi:i\d+>> Phi [<<Add>>,<<Sub>>]
83 ## CHECK-DAG: <<Sub:i\d+>> Sub [<<ArgX>>,<<ArgY>>]
84 ## CHECK-DAG: Return [<<Sub>>]
/art/test/458-checker-instruct-simplification/smali/
DSmaliTests.smali199 ## CHECK-DAG: <<Sub:i\d+>> Sub [<<Add>>,<<Const8>>]
200 ## CHECK-DAG: Return [<<Sub>>]
225 ## CHECK-DAG: <<Sub:i\d+>> Sub [<<ArgValue>>,<<Const3>>]
226 ## CHECK-DAG: <<Add:i\d+>> Add [<<Sub>>,<<Const4>>]
252 ## CHECK-DAG: <<Sub1:i\d+>> Sub [<<ArgValue>>,<<Const9>>]
253 ## CHECK-DAG: <<Sub2:i\d+>> Sub [<<Sub1>>,<<Const10>>]
281 ## CHECK-DAG: <<Sub1:i\d+>> Sub [<<Const11>>,<<ArgValue>>]
282 ## CHECK-DAG: <<Sub2:i\d+>> Sub [<<Sub1>>,<<Const12>>]
288 ## CHECK-DAG: <<Sub:i\d+>> Sub [<<ConstM1>>,<<ArgValue>>]
289 ## CHECK-DAG: Return [<<Sub>>]
[all …]
/art/test/551-checker-clinit/src/
DMain.java34 class Sub extends Main { class
/art/test/441-checker-inliner/smali/
DSmali.smali24 ## CHECK-DAG: <<Sub:i\d+>> InvokeStaticOrDirect [<<Const5>>,<<Const3>>{{(,[ij]\d+)?}}]
25 ## CHECK-DAG: <<Phi:i\d+>> Phi [<<Add>>,<<Sub>>]
/art/runtime/interpreter/
Dsafe_math_test.cc61 TEST(SafeMath, Sub) { in TEST() argument
/art/compiler/optimizing/
Dscheduler_arm.h69 M(Sub , unused) \
Dcode_generator_vector_arm64.cc492 __ Sub(dst.V16B(), lhs.V16B(), rhs.V16B()); in VisitVecSub() local
497 __ Sub(dst.V8H(), lhs.V8H(), rhs.V8H()); in VisitVecSub() local
501 __ Sub(dst.V4S(), lhs.V4S(), rhs.V4S()); in VisitVecSub() local
505 __ Sub(dst.V2D(), lhs.V2D(), rhs.V2D()); in VisitVecSub() local
1180 __ Sub(tmp.V4S(), left.V4S(), right.V4S()); in VisitVecSADAccumulate() local
1201 __ Sub(tmp.V2D(), left.V2D(), right.V2D()); in VisitVecSADAccumulate() local
Dcode_generator_arm_vixl.cc1579 __ Sub(out, first, second); in GenerateDataProcInstruction() local
2072 __ Sub(out, left_low, right_low); in GenerateEqualLong() local
2074 __ Sub(temp, left_high, right_high); in GenerateEqualLong() local
2078 __ Sub(temp, left_high, HighRegisterFrom(right)); in GenerateEqualLong() local
2079 __ Sub(out, left_low, LowRegisterFrom(right)); in GenerateEqualLong() local
2246 __ Sub(out, in, operand); in GenerateConditionIntegralOrNonPrimitive() local
2518 __ Sub(temp, sp, Operand::From(GetStackOverflowReservedBytes(InstructionSet::kArm))); in GenerateFrameEntry() local
2545 __ Sub(sp, sp, adjust); in GenerateFrameEntry() local
3733 __ Sub(HighRegisterFrom(out), HighRegisterFrom(out), HighRegisterFrom(in)); in VisitNeg() local
4224 __ Sub(OutputRegister(sub), InputRegisterAt(sub, 0), InputOperandAt(sub, 1)); in VisitSub() local
[all …]
Dcode_generator_arm64.cc1505 __ Sub(temp, sp, static_cast<int32_t>(GetStackOverflowReservedBytes(InstructionSet::kArm64))); in GenerateFrameEntry() local
2374 __ Sub(dst, lhs, rhs); in HandleBinaryOp() local
2575 __ Sub(out, left, right_operand); in VisitDataProcWithShifterOp() local
3317 __ Sub(out, out, temp); in DivRemByPowerOfTwo() local
3355 __ Sub(temp, temp, dividend); in GenerateDivRemWithAnyConstant() local
3363 __ Sub(out, temp, Operand(temp, ASR, type == DataType::Type::kInt64 ? 63 : 31)); in GenerateDivRemWithAnyConstant() local
3365 __ Sub(temp, temp, Operand(temp, ASR, type == DataType::Type::kInt64 ? 63 : 31)); in GenerateDivRemWithAnyConstant() local
4282 __ Sub(WRegisterFrom(maybe_temp2_loc), WRegisterFrom(maybe_temp2_loc), 2); in VisitCheckCast() local
4906 __ Sub(out.W(), out.W(), Operand(masked_hash)); in VisitLoadClass() local
5808 __ Sub(index, value_reg, Operand(lower_bound)); in VisitPackedSwitch() local
Dintrinsics_arm64.cc1442 __ Sub(out, temp1.W(), Operand(temp2.W(), UXTB)); in VisitStringCompareTo() local
1446 __ Sub(out, temp4.W(), Operand(temp2.W(), UXTH)); in VisitStringCompareTo() local
1476 __ Sub(temp0, temp0, Operand(temp3)); in VisitStringCompareTo() local
1693 __ Sub(temp, temp, Operand(mirror::kUseStringCompression ? 8 : 4), SetFlags); in VisitStringEquals() local
2084 __ Sub(num_chr, srcEnd, srcBegin); in VisitStringGetCharsNoCheck() local
Dintrinsics_arm_vixl.cc1629 __ Sub(temp0, temp0, 2); in GenerateStringCompareToLoop() local
1676 __ Sub(out, out, temp2); in GenerateStringCompareToLoop() local
1727 __ Sub(out, temp_reg, temp3); in GenerateStringCompareToLoop() local
Dnodes.h1415 M(Sub, BinaryOperation) \
4881 DECLARE_INSTRUCTION(Sub);
4884 DEFAULT_COPY_CONSTRUCTOR(Sub);
/art/test/656-checker-simd-opt/smali/
DSmali.smali21 ## CHECK-DAG: <<Sub1:i\d+>> Sub [<<PAR3>>,<<CP1>>] loop:none
23 ## CHECK-DAG: <<Sub2:i\d+>> Sub [<<Phi>>,<<CP1>>] loop:<<Loop>> outer_loop:none
/art/test/442-checker-constant-folding/smali/
DTestCmp.smali434 ## CHECK-DAG: <<Sub:i\d+>> Sub [<<Const5>>,<<Const2>>]
435 ## CHECK-DAG: <<Phi:i\d+>> Phi [<<Add>>,<<Sub>>]
446 ## CHECK-NOT: Sub
/art/compiler/utils/arm/
Dassembler_arm_vixl.h83 WITH_FLAGS_DONT_CARE_RD_RN_OP(Sub);