misc.isa (12358:386d26feb00f) misc.isa (12530:ab63172c4fbe)
1// -*- mode:c++ -*-
2
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010-2013,2016-2017 ARM Limited
3// Copyright (c) 2010-2013,2016-2018 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating
9// to a hardware implementation of the functionality of the software
10// licensed hereunder. You may use the software subject to the license
11// terms below provided that you ensure that this notice is replicated

--- 202 unchanged lines hidden (view full) ---

214 case MISCREG_NOP:
215 return new McrMrcMiscInst(isRead ? "mrc nop" : "mcr nop",
216 machInst, iss, MISCREG_NOP);
217 case MISCREG_CP15_UNIMPL:
218 return new FailUnimplemented(isRead ? "mrc unkown" : "mcr unkown",
219 machInst,
220 csprintf("miscreg crn:%d opc1:%d crm:%d opc2:%d %s unknown",
221 crn, opc1, crm, opc2, isRead ? "read" : "write"));
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating
9// to a hardware implementation of the functionality of the software
10// licensed hereunder. You may use the software subject to the license
11// terms below provided that you ensure that this notice is replicated

--- 202 unchanged lines hidden (view full) ---

214 case MISCREG_NOP:
215 return new McrMrcMiscInst(isRead ? "mrc nop" : "mcr nop",
216 machInst, iss, MISCREG_NOP);
217 case MISCREG_CP15_UNIMPL:
218 return new FailUnimplemented(isRead ? "mrc unkown" : "mcr unkown",
219 machInst,
220 csprintf("miscreg crn:%d opc1:%d crm:%d opc2:%d %s unknown",
221 crn, opc1, crm, opc2, isRead ? "read" : "write"));
222 case MISCREG_IMPDEF_UNIMPL:
223 return new McrMrcImplDefined(
224 isRead ? "mrc implementation defined" :
225 "mcr implementation defined",
226 machInst, iss, MISCREG_IMPDEF_UNIMPL);
222 case MISCREG_CP15ISB:
223 return new Isb(machInst, iss);
224 case MISCREG_CP15DSB:
225 return new Dsb(machInst, iss);
226 case MISCREG_CP15DMB:
227 return new Dmb(machInst, iss);
228 case MISCREG_DCIMVAC:
229 return new McrDcimvac(machInst, miscReg, rt, iss);

--- 111 unchanged lines hidden ---
227 case MISCREG_CP15ISB:
228 return new Isb(machInst, iss);
229 case MISCREG_CP15DSB:
230 return new Dsb(machInst, iss);
231 case MISCREG_CP15DMB:
232 return new Dmb(machInst, iss);
233 case MISCREG_DCIMVAC:
234 return new McrDcimvac(machInst, miscReg, rt, iss);

--- 111 unchanged lines hidden ---