macromem.hh (7175:db22937a4e0f) macromem.hh (7294:fda2c00880db)
1/*
2 * Copyright (c) 2010 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

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

38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39 *
40 * Authors: Stephen Hines
41 */
42#ifndef __ARCH_ARM_MACROMEM_HH__
43#define __ARCH_ARM_MACROMEM_HH__
44
45#include "arch/arm/insts/pred_inst.hh"
1/*
2 * Copyright (c) 2010 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

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

38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39 *
40 * Authors: Stephen Hines
41 */
42#ifndef __ARCH_ARM_MACROMEM_HH__
43#define __ARCH_ARM_MACROMEM_HH__
44
45#include "arch/arm/insts/pred_inst.hh"
46#include "arch/arm/tlb.hh"
46
47namespace ArmISA
48{
49
50static inline unsigned int
51number_of_ones(int32_t val)
52{
53 uint32_t ones = 0;

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

83{
84 protected:
85 bool up;
86 unsigned memAccessFlags;
87
88 MicroMemOp(const char *mnem, ExtMachInst machInst, OpClass __opClass,
89 RegIndex _ura, RegIndex _urb, bool _up, uint8_t _imm)
90 : MicroIntOp(mnem, machInst, __opClass, _ura, _urb, _imm),
47
48namespace ArmISA
49{
50
51static inline unsigned int
52number_of_ones(int32_t val)
53{
54 uint32_t ones = 0;

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

84{
85 protected:
86 bool up;
87 unsigned memAccessFlags;
88
89 MicroMemOp(const char *mnem, ExtMachInst machInst, OpClass __opClass,
90 RegIndex _ura, RegIndex _urb, bool _up, uint8_t _imm)
91 : MicroIntOp(mnem, machInst, __opClass, _ura, _urb, _imm),
91 up(_up), memAccessFlags(0)
92 up(_up), memAccessFlags(TLB::MustBeOne | TLB::AlignWord)
92 {
93 }
94};
95
96class MacroMemOp : public PredMacroOp
97{
98 protected:
99 MacroMemOp(const char *mnem, ExtMachInst machInst, OpClass __opClass,

--- 15 unchanged lines hidden ---
93 {
94 }
95};
96
97class MacroMemOp : public PredMacroOp
98{
99 protected:
100 MacroMemOp(const char *mnem, ExtMachInst machInst, OpClass __opClass,

--- 15 unchanged lines hidden ---