From 51aba755390f96a7f1d997b1849bd47072823dea Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Fri, 18 Jan 2019 17:14:56 +0000 Subject: arch-arm: Remove SWP and SWPB instructions The SWP and SWPB instructions have been removed from AArch32. It was previously (ARMv7) possible to enable them with the ID_ISAR0.Swap bits, which are now hardcoded to 0b0000 (SWP and SWPB not implemented) Change-Id: Ic32b534454a7e0f7494a6f0b5e11182c65b3fe24 Signed-off-by: Giacomo Travaglini Reviewed-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/c/15815 Maintainer: Andreas Sandberg --- src/arch/arm/insts/mem.hh | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/arch/arm/insts/mem.hh') diff --git a/src/arch/arm/insts/mem.hh b/src/arch/arm/insts/mem.hh index da4dac3f3..0c82acfcf 100644 --- a/src/arch/arm/insts/mem.hh +++ b/src/arch/arm/insts/mem.hh @@ -47,23 +47,6 @@ namespace ArmISA { -class Swap : public PredOp -{ - protected: - IntRegIndex dest; - IntRegIndex op1; - IntRegIndex base; - - Swap(const char *mnem, ExtMachInst _machInst, OpClass __opClass, - IntRegIndex _dest, IntRegIndex _op1, IntRegIndex _base) - : PredOp(mnem, _machInst, __opClass), - dest(_dest), op1(_op1), base(_base) - {} - - std::string generateDisassembly( - Addr pc, const SymbolTable *symtab) const override; -}; - class MightBeMicro : public PredOp { protected: -- cgit v1.2.3