diff options
| author | 2016-06-30 13:41:55 +0000 | |
|---|---|---|
| committer | 2016-06-30 13:41:55 +0000 | |
| commit | a77ceae14a7be2494874d9256327efa8c522e234 (patch) | |
| tree | e0f95e465187f0790617123257783fdf102b5547 /compiler/utils/assembler_test.h | |
| parent | 19c10147cd5f3270c8604d06c4a0e05cbc49e2f1 (diff) | |
| parent | a8aaf5a18ad42f3aea9afb3c8d383fe331798c9f (diff) | |
Merge "MIPS32: Disassemble and test movf.fmt and movt.fmt (missed earlier)"
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(), |