| Index: src/arm/assembler-arm.h
|
| diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h
|
| index 3ee980699da1d94f5935d0b21ecb01d684e7a768..bd0c6cb7c70e1a96f122b24c42f6bb3a20bcc8bf 100644
|
| --- a/src/arm/assembler-arm.h
|
| +++ b/src/arm/assembler-arm.h
|
| @@ -640,12 +640,26 @@ class NeonMemOperand BASE_EMBEDDED {
|
| // Class NeonListOperand represents a list of NEON registers
|
| class NeonListOperand BASE_EMBEDDED {
|
| public:
|
| - explicit NeonListOperand(DoubleRegister base, int registers_count = 1);
|
| + explicit NeonListOperand(DoubleRegister base, int register_count = 1)
|
| + : base_(base), register_count_(register_count) {}
|
| + explicit NeonListOperand(QwNeonRegister q_reg)
|
| + : base_(q_reg.low()), register_count_(2) {}
|
| DoubleRegister base() const { return base_; }
|
| - NeonListType type() const { return type_; }
|
| + int register_count() { return register_count_; }
|
| + int len() const { return register_count_ - 1; }
|
| + NeonListType type() const {
|
| + switch (register_count_) {
|
| + default: UNREACHABLE();
|
| + // Fall through.
|
| + case 1: return nlt_1;
|
| + case 2: return nlt_2;
|
| + case 3: return nlt_3;
|
| + case 4: return nlt_4;
|
| + }
|
| + }
|
| private:
|
| DoubleRegister base_;
|
| - NeonListType type_;
|
| + int register_count_;
|
| };
|
|
|
|
|
| @@ -1330,10 +1344,37 @@ class Assembler : public AssemblerBase {
|
| void vmovl(NeonDataType dt, QwNeonRegister dst, DwVfpRegister src);
|
|
|
| void vmov(const QwNeonRegister dst, const QwNeonRegister src);
|
| + void vmvn(const QwNeonRegister dst, const QwNeonRegister src);
|
| void vswp(DwVfpRegister dst, DwVfpRegister src);
|
| void vswp(QwNeonRegister dst, QwNeonRegister src);
|
| + // vdup conditional execution isn't supported.
|
| + void vdup(const QwNeonRegister dst, const Register src, NeonSize size);
|
| + void vdup(const QwNeonRegister dst, const SwVfpRegister src);
|
| +
|
| + // Float 'to' or 'from' arguments are specified by NeonOtherDataType.
|
| + void vcvt(const QwNeonRegister dst, const QwNeonRegister src,
|
| + NeonDataType from, NeonDataType to);
|
| +
|
| void veor(DwVfpRegister dst, DwVfpRegister src1, DwVfpRegister src2);
|
| void veor(QwNeonRegister dst, QwNeonRegister src1, QwNeonRegister src2);
|
| + void vadd(const QwNeonRegister dst, const QwNeonRegister src1,
|
| + const QwNeonRegister src2);
|
| + void vadd(const QwNeonRegister dst, const QwNeonRegister src1,
|
| + const QwNeonRegister src2, NeonSize size);
|
| + void vsub(const QwNeonRegister dst, const QwNeonRegister src1,
|
| + const QwNeonRegister src2);
|
| + void vsub(const QwNeonRegister dst, const QwNeonRegister src1,
|
| + const QwNeonRegister src2, NeonSize size);
|
| + void vtst(const QwNeonRegister dst, const QwNeonRegister src1,
|
| + const QwNeonRegister src2, NeonSize size);
|
| + void vceq(const QwNeonRegister dst, const QwNeonRegister src1,
|
| + const QwNeonRegister src2, NeonSize size);
|
| + void vbsl(const QwNeonRegister dst, const QwNeonRegister src1,
|
| + const QwNeonRegister src2);
|
| + void vtbl(const DwVfpRegister dst, const NeonListOperand& list,
|
| + const DwVfpRegister index);
|
| + void vtbx(const DwVfpRegister dst, const NeonListOperand& list,
|
| + const DwVfpRegister index);
|
|
|
| // Pseudo instructions
|
|
|
|
|