A64: Implement FMOV (scalar, immediate)

This commit is contained in:
MerryMage
2018-02-03 00:52:48 +00:00
parent a07c05ea51
commit 4be55b8b84
7 changed files with 78 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ static std::vector<InstructionGenerator> instruction_generators = []{
};
std::vector<InstructionGenerator> result;
for (const auto& [fn, bitstring] : list) {
if (std::strcmp(fn, "UnallocatedEncoding") == 0) {
InstructionGenerator::AddInvalidInstruction(bitstring);
@@ -46,6 +47,11 @@ static std::vector<InstructionGenerator> instruction_generators = []{
}
result.emplace_back(InstructionGenerator{bitstring});
}
// Manually added exceptions:
// FMOV_float_imm for half-precision floats (QEMU doesn't have half-precision support yet).
InstructionGenerator::AddInvalidInstruction("00011110111iiiiiiii10000000ddddd");
return result;
}();