static_inst.hh (12614:0bc465e1f5fb) static_inst.hh (12616:4b463b4dc098)
1/*
2 * Copyright (c) 2010-2013,2016-2018 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

183
184 void printDataInst(std::ostream &os, bool withImm) const;
185 void printDataInst(std::ostream &os, bool withImm, bool immShift, bool s,
186 IntRegIndex rd, IntRegIndex rn, IntRegIndex rm,
187 IntRegIndex rs, uint32_t shiftAmt, ArmShiftType type,
188 uint64_t imm) const;
189
190 void
1/*
2 * Copyright (c) 2010-2013,2016-2018 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

183
184 void printDataInst(std::ostream &os, bool withImm) const;
185 void printDataInst(std::ostream &os, bool withImm, bool immShift, bool s,
186 IntRegIndex rd, IntRegIndex rn, IntRegIndex rm,
187 IntRegIndex rs, uint32_t shiftAmt, ArmShiftType type,
188 uint64_t imm) const;
189
190 void
191 advancePC(PCState &pcState) const
191 advancePC(PCState &pcState) const override
192 {
193 pcState.advance();
194 }
195
192 {
193 pcState.advance();
194 }
195
196 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
196 std::string generateDisassembly(
197 Addr pc, const SymbolTable *symtab) const override;
197
198 static inline uint32_t
199 cpsrWriteByInstr(CPSR cpsr, uint32_t val, SCR scr, NSACR nsacr,
200 uint8_t byteMask, bool affectState, bool nmfi, ThreadContext *tc)
201 {
202 bool privileged = (cpsr.mode != MODE_USER);
203 bool haveVirt = ArmSystem::haveVirtualization(tc);
204 bool haveSecurity = ArmSystem::haveSecurity(tc);

--- 313 unchanged lines hidden ---
198
199 static inline uint32_t
200 cpsrWriteByInstr(CPSR cpsr, uint32_t val, SCR scr, NSACR nsacr,
201 uint8_t byteMask, bool affectState, bool nmfi, ThreadContext *tc)
202 {
203 bool privileged = (cpsr.mode != MODE_USER);
204 bool haveVirt = ArmSystem::haveVirtualization(tc);
205 bool haveSecurity = ArmSystem::haveSecurity(tc);

--- 313 unchanged lines hidden ---