From dcabc8b740bf3066d59348ffdf21c164d2b27cb4 Mon Sep 17 00:00:00 2001 From: Goran Jakovljevic Date: Fri, 10 Mar 2017 11:53:48 +0100 Subject: Introduce a number of MSA instructions for MIPS64 Added a number of MSA (The MIPS SIMD Architecture) instructions. Added assembler tests for each instruction. Made necessary changes in disassembler for these instructions. Test: mma test-art-host-gtest Change-Id: I380f02c6ae5424a96ad999037153228acb07a108 --- compiler/utils/mips64/assembler_mips64.h | 107 +++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) (limited to 'compiler/utils/mips64/assembler_mips64.h') diff --git a/compiler/utils/mips64/assembler_mips64.h b/compiler/utils/mips64/assembler_mips64.h index 8bbe862d19..1839ca3c88 100644 --- a/compiler/utils/mips64/assembler_mips64.h +++ b/compiler/utils/mips64/assembler_mips64.h @@ -266,6 +266,7 @@ void TemplateLoadConst64(Asm* a, Rtype rd, Vtype value) { } } +static constexpr size_t kMips64HalfwordSize = 2; static constexpr size_t kMips64WordSize = 4; static constexpr size_t kMips64DoublewordSize = 8; @@ -644,6 +645,101 @@ class Mips64Assembler FINAL : public Assembler, public JNIMacroAssembler