41#ifndef __ARCH_ARM_TYPES_HH__
42#define __ARCH_ARM_TYPES_HH__
123 Bitfield<24> prepost;
383 return ((OperatingMode64)(uint8_t)
mode).width == 0;
402 bool aarch32 = ((
mode >> 4) & 1) ? true :
false;
419 panic(
"Invalid operating mode: %d",
mode);
473 static inline const char*
494 "Unsupported max. SVE vector length");
509 "Unsupported max. SME vector length");
#define BitUnion64(name)
Use this to define conveniently sized values overlayed with bitfields.
#define EndBitUnion(name)
This closes off the class and union started by the above macro.
#define SubBitUnion(name, first, last)
Regular bitfields These define macros for read/write regular bitfield based subbitfields.
#define EndSubBitUnion(name)
This closes off the union created above and gives it a name.
#define panic(...)
This implements a cprintf based panic() function.
Bitfield< 33 > sevenAndFour
Bitfield< 7, 6 > topcode7_6
Bitfield< 10, 8 > topcode10_8
static bool opModeIsT(OperatingMode mode)
Bitfield< 11, 9 > topcode11_9
Bitfield< 11, 0 > immed11_0
constexpr unsigned MaxSmeVecLenInBytes
constexpr unsigned MaxSmeVecLenInWords
Bitfield< 11, 8 > immedHi11_8
Bitfield< 3, 0 > topcode3_0
Bitfield< 7, 0 > immed7_0
Bitfield< 31, 28 > condCode
Bitfield< 24, 23 > htopcode8_7
Bitfield< 9, 6 > topcode9_6
Bitfield< 13, 11 > topcode13_11
Bitfield< 51, 48 > itstateMask
static bool unknownMode32(OperatingMode mode)
Bitfield< 15, 0 > regList
Bitfield< 7, 4 > miscOpcode
static bool unknownMode(OperatingMode mode)
constexpr unsigned VecPredRegSizeBits
Bitfield< 15 > ltopcode15
Bitfield< 24, 21 > htopcode8_5
@ PREFETCH_ABORT_LOWER_EL
@ PREFETCH_ABORT_FROM_HYP
Bitfield< 26, 25 > htopcode10_9
Bitfield< 10, 9 > topcode10_9
Bitfield< 25, 21 > htopcode9_5
Bitfield< 7, 5 > topcode7_5
Bitfield< 15, 13 > topcode15_13
static const char * regimeToStr(TranslationRegime regime)
DecoderFault
Instruction decoder fault codes in ExtMachInst.
@ UNALIGNED
Unaligned instruction fault.
@ PANIC
Internal gem5 error.
Bitfield< 7, 4 > topcode7_4
Bitfield< 41, 40 > fpscrStride
Bitfield< 39, 37 > fpscrLen
Bitfield< 11, 8 > ltcoproc
Bitfield< 22, 21 > htopcode6_5
Bitfield< 23, 20 > opcode23_20
constexpr unsigned MaxSveVecLenInWords
static bool opModeIsH(OperatingMode mode)
constexpr unsigned VecRegSizeBytes
Bitfield< 55, 52 > itstateCond
constexpr unsigned MaxSveVecLenInDWords
Bitfield< 55, 48 > itstate
Bitfield< 24, 23 > opcode24_23
Bitfield< 25, 24 > htopcode9_8
constexpr unsigned MaxSmeVecLenInBits
constexpr unsigned MaxSveVecLenInBits
Bitfield< 23, 21 > opcode23_21
Bitfield< 3, 0 > immedLo3_0
Bitfield< 24, 21 > opcode
Bitfield< 21, 20 > htopcode5_4
Bitfield< 23, 21 > htopcode7_5
Bitfield< 25, 20 > htopcode9_4
Bitfield< 28, 27 > htopcode12_11
Bitfield< 12, 10 > topcode12_10
static ExceptionLevel opModeToEL(OperatingMode mode)
Bitfield< 23, 0 > immed23_0
Bitfield< 11, 8 > ltopcode11_8
Bitfield< 27, 25 > encoding
Bitfield< 24, 22 > htopcode8_6
Bitfield< 11, 7 > shiftSize
Bitfield< 15, 12 > opcode15_12
constexpr unsigned MaxSmeVecLenInDWords
Bitfield< 59, 56 > sveLen
Bitfield< 7, 4 > ltopcode7_4
Bitfield< 7, 6 > ltopcode7_6
Bitfield< 11, 8 > topcode11_8
Bitfield< 12, 11 > topcode12_11
Bitfield< 61 > illegalExecution
Bitfield< 19, 16 > opcode19_16
constexpr unsigned MaxSveVecLenInBytes
Bitfield< 24, 20 > mediaOpcode
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.