diff options
author | 2016-06-27 14:48:20 -0700 | |
---|---|---|
committer | 2016-06-30 13:41:14 +0000 | |
commit | a8aaf5a18ad42f3aea9afb3c8d383fe331798c9f (patch) | |
tree | 56c7500a4c362f56d1c8fec471c61baf810b6658 /compiler/utils/assembler_test.h | |
parent | 12e6e9f3f1352ed58ddd41c7f31831011695b9e4 (diff) |
MIPS32: Disassemble and test movf.fmt and movt.fmt (missed earlier)
Test: ART gtest assembler_mips_test
Change-Id: Iafedfafe6ccd76127461d66dfa7984f196be6bd2
Diffstat (limited to 'compiler/utils/assembler_test.h')
-rw-r--r-- | compiler/utils/assembler_test.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/compiler/utils/assembler_test.h b/compiler/utils/assembler_test.h index afe0576906..92b4c8e041 100644 --- a/compiler/utils/assembler_test.h +++ b/compiler/utils/assembler_test.h @@ -344,6 +344,17 @@ class AssemblerTest : public testing::Test { } template <typename ImmType> + std::string RepeatFFIb(void (Ass::*f)(FPReg, FPReg, ImmType), int imm_bits, std::string fmt) { + return RepeatTemplatedRegistersImmBits<FPReg, FPReg, ImmType>(f, + imm_bits, + GetFPRegisters(), + GetFPRegisters(), + &AssemblerTest::GetFPRegName, + &AssemblerTest::GetFPRegName, + fmt); + } + + template <typename ImmType> std::string RepeatIbFF(void (Ass::*f)(ImmType, FPReg, FPReg), int imm_bits, std::string fmt) { return RepeatTemplatedImmBitsRegisters<ImmType, FPReg, FPReg>(f, GetFPRegisters(), |