Home
last modified time | relevance | path

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

/art/compiler/utils/
Dassembler_thumb_test.cc210 __ movs(R0, ShifterOperand(R1)); in TEST_F()
211 __ mov(R0, ShifterOperand(R1)); in TEST_F()
212 __ mov(R8, ShifterOperand(R9)); in TEST_F()
214 __ mov(R0, ShifterOperand(1)); in TEST_F()
215 __ mov(R8, ShifterOperand(9)); in TEST_F()
223 __ mov(R0, ShifterOperand(R1)); in TEST_F()
224 __ mov(R8, ShifterOperand(R9)); in TEST_F()
230 __ mov(R0, ShifterOperand(R1)); in TEST_F()
231 __ adds(R0, R1, ShifterOperand(R2)); in TEST_F()
232 __ add(R0, R1, ShifterOperand(0)); in TEST_F()
[all …]
/art/compiler/utils/arm/
Dassembler_arm32_test.cc45 uint32_t, arm::ShifterOperand, arm::Condition,
133 shifter_operands_.push_back(arm::ShifterOperand(0)); in SetUpHelpers()
134 shifter_operands_.push_back(arm::ShifterOperand(1)); in SetUpHelpers()
135 shifter_operands_.push_back(arm::ShifterOperand(2)); in SetUpHelpers()
136 shifter_operands_.push_back(arm::ShifterOperand(3)); in SetUpHelpers()
137 shifter_operands_.push_back(arm::ShifterOperand(4)); in SetUpHelpers()
138 shifter_operands_.push_back(arm::ShifterOperand(5)); in SetUpHelpers()
139 shifter_operands_.push_back(arm::ShifterOperand(127)); in SetUpHelpers()
140 shifter_operands_.push_back(arm::ShifterOperand(128)); in SetUpHelpers()
141 shifter_operands_.push_back(arm::ShifterOperand(254)); in SetUpHelpers()
[all …]
Dassembler_arm.h122 class ShifterOperand {
124 ShifterOperand() : type_(kUnknown), rm_(kNoRegister), rs_(kNoRegister), in ShifterOperand() function
128 explicit ShifterOperand(uint32_t immed);
131 explicit ShifterOperand(Register rm) : type_(kRegister), rm_(rm), rs_(kNoRegister), in ShifterOperand() function
135 ShifterOperand(uint32_t rotate, uint32_t immed8) : type_(kImmediate), rm_(kNoRegister), in ShifterOperand() function
140 ShifterOperand(Register rm, Shift shift, uint32_t shift_imm = 0) : type_(kRegister), rm_(rm), in type_()
146 ShifterOperand(Register rm, Shift shift, Register rs) : type_(kRegister), rm_(rm), in ShifterOperand() function
444 virtual void and_(Register rd, Register rn, const ShifterOperand& so,
447 virtual void ands(Register rd, Register rn, const ShifterOperand& so, Condition cond = AL) {
451 virtual void eor(Register rd, Register rn, const ShifterOperand& so,
[all …]
Dassembler_arm32.h41 virtual void and_(Register rd, Register rn, const ShifterOperand& so,
44 virtual void eor(Register rd, Register rn, const ShifterOperand& so,
47 virtual void sub(Register rd, Register rn, const ShifterOperand& so,
50 virtual void rsb(Register rd, Register rn, const ShifterOperand& so,
53 virtual void add(Register rd, Register rn, const ShifterOperand& so,
56 virtual void adc(Register rd, Register rn, const ShifterOperand& so,
59 virtual void sbc(Register rd, Register rn, const ShifterOperand& so,
62 virtual void rsc(Register rd, Register rn, const ShifterOperand& so,
65 void tst(Register rn, const ShifterOperand& so, Condition cond = AL) OVERRIDE;
67 void teq(Register rn, const ShifterOperand& so, Condition cond = AL) OVERRIDE;
[all …]
Dassembler_arm32.cc28 bool Arm32Assembler::ShifterOperandCanHoldArm32(uint32_t immediate, ShifterOperand* shifter_op) { in ShifterOperandCanHoldArm32()
31 shifter_op->type_ = ShifterOperand::kImmediate; in ShifterOperandCanHoldArm32()
41 shifter_op->type_ = ShifterOperand::kImmediate; in ShifterOperandCanHoldArm32()
52 ShifterOperand shifter_op; in ShifterOperandCanAlwaysHold()
61 ShifterOperand* shifter_op) { in ShifterOperandCanHold()
65 void Arm32Assembler::and_(Register rd, Register rn, const ShifterOperand& so, in and_()
71 void Arm32Assembler::eor(Register rd, Register rn, const ShifterOperand& so, in eor()
77 void Arm32Assembler::sub(Register rd, Register rn, const ShifterOperand& so, in sub()
82 void Arm32Assembler::rsb(Register rd, Register rn, const ShifterOperand& so, in rsb()
87 void Arm32Assembler::add(Register rd, Register rn, const ShifterOperand& so, in add()
[all …]
Dassembler_thumb2.h71 virtual void and_(Register rd, Register rn, const ShifterOperand& so,
74 virtual void eor(Register rd, Register rn, const ShifterOperand& so,
77 virtual void sub(Register rd, Register rn, const ShifterOperand& so,
80 virtual void rsb(Register rd, Register rn, const ShifterOperand& so,
83 virtual void add(Register rd, Register rn, const ShifterOperand& so,
86 virtual void adc(Register rd, Register rn, const ShifterOperand& so,
89 virtual void sbc(Register rd, Register rn, const ShifterOperand& so,
92 virtual void rsc(Register rd, Register rn, const ShifterOperand& so,
95 void tst(Register rn, const ShifterOperand& so, Condition cond = AL) OVERRIDE;
97 void teq(Register rn, const ShifterOperand& so, Condition cond = AL) OVERRIDE;
[all …]
Dassembler_arm.cc78 ShifterOperand::ShifterOperand(uint32_t immed) in ShifterOperand() function in art::arm::ShifterOperand
85 uint32_t ShifterOperand::encodingArm() const { in encodingArm()
132 uint32_t ShifterOperand::encodingThumb() const { in encodingThumb()
662 mov(dst.AsCoreRegister(), ShifterOperand(src.AsCoreRegister())); in Move()
674 mov(dst.AsRegisterPairLow(), ShifterOperand(src.AsRegisterPairLow())); in Move()
675 mov(dst.AsRegisterPairHigh(), ShifterOperand(src.AsRegisterPairHigh())); in Move()
677 mov(dst.AsRegisterPairHigh(), ShifterOperand(src.AsRegisterPairHigh())); in Move()
678 mov(dst.AsRegisterPairLow(), ShifterOperand(src.AsRegisterPairLow())); in Move()
750 cmp(in_reg.AsCoreRegister(), ShifterOperand(0)); in CreateHandleScopeEntry()
775 cmp(scratch.AsCoreRegister(), ShifterOperand(0)); in CreateHandleScopeEntry()
[all …]
Dassembler_thumb2.cc518 ShifterOperand* shifter_op) { in ShifterOperandCanHold()
519 shifter_op->type_ = ShifterOperand::kImmediate; in ShifterOperandCanHold()
542 void Thumb2Assembler::and_(Register rd, Register rn, const ShifterOperand& so, in and_()
548 void Thumb2Assembler::eor(Register rd, Register rn, const ShifterOperand& so, in eor()
554 void Thumb2Assembler::sub(Register rd, Register rn, const ShifterOperand& so, in sub()
560 void Thumb2Assembler::rsb(Register rd, Register rn, const ShifterOperand& so, in rsb()
566 void Thumb2Assembler::add(Register rd, Register rn, const ShifterOperand& so, in add()
572 void Thumb2Assembler::adc(Register rd, Register rn, const ShifterOperand& so, in adc()
578 void Thumb2Assembler::sbc(Register rd, Register rn, const ShifterOperand& so, in sbc()
584 void Thumb2Assembler::rsc(Register rd, Register rn, const ShifterOperand& so, in rsc()
[all …]
Dassembler_thumb2_test.cc223 __ eor(arm::R1, arm::R1, arm::ShifterOperand(arm::R0)); in TEST_F()
224 __ eor(arm::R1, arm::R0, arm::ShifterOperand(arm::R1)); in TEST_F()
225 __ eor(arm::R1, arm::R8, arm::ShifterOperand(arm::R0)); in TEST_F()
226 __ eor(arm::R8, arm::R1, arm::ShifterOperand(arm::R0)); in TEST_F()
227 __ eor(arm::R1, arm::R0, arm::ShifterOperand(arm::R8)); in TEST_F()
239 __ subs(arm::R1, arm::R0, arm::ShifterOperand(42)); in TEST_F()
240 __ sub(arm::R1, arm::R0, arm::ShifterOperand(42)); in TEST_F()
241 __ subs(arm::R1, arm::R0, arm::ShifterOperand(arm::R2, arm::ASR, 31)); in TEST_F()
242 __ sub(arm::R1, arm::R0, arm::ShifterOperand(arm::R2, arm::ASR, 31)); in TEST_F()
253 __ adds(arm::R1, arm::R0, arm::ShifterOperand(42)); in TEST_F()
[all …]
/art/compiler/optimizing/
Dintrinsics_arm.cc298 __ adds(out_reg_lo, in_reg_lo, ShifterOperand(mask)); in GenAbsInteger()
299 __ adc(out_reg_hi, in_reg_hi, ShifterOperand(mask)); in GenAbsInteger()
300 __ eor(out_reg_lo, mask, ShifterOperand(out_reg_lo)); in GenAbsInteger()
301 __ eor(out_reg_hi, mask, ShifterOperand(out_reg_hi)); in GenAbsInteger()
307 __ add(out_reg, in_reg, ShifterOperand(mask)); in GenAbsInteger()
308 __ eor(out_reg, mask, ShifterOperand(out_reg)); in GenAbsInteger()
336 __ cmp(op1, ShifterOperand(op2)); in GenMinMax()
339 __ mov(out, ShifterOperand(op1), is_min ? Condition::LT : Condition::GT); in GenMinMax()
340 __ mov(out, ShifterOperand(op2), is_min ? Condition::GE : Condition::LE); in GenMinMax()
551 __ add(IP, base, ShifterOperand(offset)); in GenUnsafeGet()
[all …]
Dcode_generator_arm.cc1330 __ cmp(left_high, ShifterOperand(right_high)); in GenerateLongComparesAndJumps()
1340 __ cmp(left_low, ShifterOperand(right_low)); in GenerateLongComparesAndJumps()
1446 __ cmp(left, ShifterOperand(right.AsRegister<Register>())); in GenerateTestAndBranch()
1582 __ cmp(left.AsRegister<Register>(), ShifterOperand(right.AsRegister<Register>())); in HandleCondition()
1589 __ mov(locations->Out().AsRegister<Register>(), ShifterOperand(1), in HandleCondition()
1591 __ mov(locations->Out().AsRegister<Register>(), ShifterOperand(0), in HandleCondition()
1948 __ rsb(out.AsRegister<Register>(), in.AsRegister<Register>(), ShifterOperand(0)); in VisitNeg()
1956 ShifterOperand(0)); in VisitNeg()
1965 ShifterOperand(out.AsRegisterPairHigh<Register>())); in VisitNeg()
1969 ShifterOperand(in.AsRegisterPairHigh<Register>())); in VisitNeg()
[all …]
/art/test/434-shifter-operand/
Dinfo.txt2 compiler, that used to misuse ShifterOperand::CanHold.