misc.isa (12403:7be05f61abf3) misc.isa (12488:19af27d8b34d)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010-2013,2017 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

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

1149 Hdcr, Hstr, Hcptr, imm)) {
1150 return std::make_shared<HypervisorTrap>(machInst, imm,
1151 EC_TRAPPED_CP15_MCR_MRC);
1152 }
1153 '''
1154 isbIop = InstObjParams("isb", "Isb", "ImmOp",
1155 {"code": isbCode,
1156 "predicate_test": predicateTest},
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010-2013,2017 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

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

1149 Hdcr, Hstr, Hcptr, imm)) {
1150 return std::make_shared<HypervisorTrap>(machInst, imm,
1151 EC_TRAPPED_CP15_MCR_MRC);
1152 }
1153 '''
1154 isbIop = InstObjParams("isb", "Isb", "ImmOp",
1155 {"code": isbCode,
1156 "predicate_test": predicateTest},
1157 ['IsSerializeAfter', 'IsSquashAfter'])
1157 ['IsSquashAfter'])
1158 header_output += ImmOpDeclare.subst(isbIop)
1159 decoder_output += ImmOpConstructor.subst(isbIop)
1160 exec_output += PredOpExecute.subst(isbIop)
1161
1162 dsbCode = '''
1163 // If the barrier is due to a CP15 access check for hyp traps
1164 if ((imm != 0) && mcrMrc15TrapToHyp(MISCREG_CP15DSB, Hcr, Cpsr, Scr,
1165 Hdcr, Hstr, Hcptr, imm)) {

--- 70 unchanged lines hidden ---
1158 header_output += ImmOpDeclare.subst(isbIop)
1159 decoder_output += ImmOpConstructor.subst(isbIop)
1160 exec_output += PredOpExecute.subst(isbIop)
1161
1162 dsbCode = '''
1163 // If the barrier is due to a CP15 access check for hyp traps
1164 if ((imm != 0) && mcrMrc15TrapToHyp(MISCREG_CP15DSB, Hcr, Cpsr, Scr,
1165 Hdcr, Hstr, Hcptr, imm)) {

--- 70 unchanged lines hidden ---