isa_traits.hh (7158:195780d97b1b) isa_traits.hh (7349:8b4564729c81)
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

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

116 const int WordBytes = 4;
117 const int HalfwordBytes = 2;
118 const int ByteBytes = 1;
119
120 const uint32_t HighVecs = 0xFFFF0000;
121
122 // Memory accesses cannot be unaligned
123 const bool HasUnalignedMemAcc = false;
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

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

116 const int WordBytes = 4;
117 const int HalfwordBytes = 2;
118 const int ByteBytes = 1;
119
120 const uint32_t HighVecs = 0xFFFF0000;
121
122 // Memory accesses cannot be unaligned
123 const bool HasUnalignedMemAcc = false;
124
125 // These otherwise unused bits of the PC are used to select a mode
126 // like the J and T bits of the CPSR.
127 static const Addr PcJBitShift = 33;
128 static const Addr PcTBitShift = 34;
129 static const Addr PcModeMask = (ULL(1) << PcJBitShift) |
130 (ULL(1) << PcTBitShift);
124};
125
126using namespace ArmISA;
127
128#endif // __ARCH_ARM_ISA_TRAITS_HH__
131};
132
133using namespace ArmISA;
134
135#endif // __ARCH_ARM_ISA_TRAITS_HH__