decoder.hh (11165:d90aec9435bd) | decoder.hh (13759:9941fca869a9) |
---|---|
1/* 2 * Copyright (c) 2013-2014 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 --- 58 unchanged lines hidden (view full) --- 67 bool outOfBytes; 68 int offset; 69 bool foundIt; 70 ITSTATE itBits; 71 72 int fpscrLen; 73 int fpscrStride; 74 | 1/* 2 * Copyright (c) 2013-2014 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 --- 58 unchanged lines hidden (view full) --- 67 bool outOfBytes; 68 int offset; 69 bool foundIt; 70 ITSTATE itBits; 71 72 int fpscrLen; 73 int fpscrStride; 74 |
75 /** 76 * SVE vector length, encoded in the same format as the ZCR_EL<x>.LEN 77 * bitfields. 78 */ 79 int sveLen; 80 |
|
75 Enums::DecoderFlavour decoderFlavour; 76 77 /// A cache of decoded instruction objects. 78 static GenericISA::BasicDecodeCache defaultCache; 79 80 /** 81 * Pre-decode an instruction from the current state of the 82 * decoder. --- 109 unchanged lines hidden (view full) --- 192 193 194 public: // ARM-specific decoder state manipulation 195 void setContext(FPSCR fpscr) 196 { 197 fpscrLen = fpscr.len; 198 fpscrStride = fpscr.stride; 199 } | 81 Enums::DecoderFlavour decoderFlavour; 82 83 /// A cache of decoded instruction objects. 84 static GenericISA::BasicDecodeCache defaultCache; 85 86 /** 87 * Pre-decode an instruction from the current state of the 88 * decoder. --- 109 unchanged lines hidden (view full) --- 198 199 200 public: // ARM-specific decoder state manipulation 201 void setContext(FPSCR fpscr) 202 { 203 fpscrLen = fpscr.len; 204 fpscrStride = fpscr.stride; 205 } |
206 207 void setSveLen(uint8_t len) 208 { 209 sveLen = len; 210 } |
|
200}; 201 202} // namespace ArmISA 203 204#endif // __ARCH_ARM_DECODER_HH__ | 211}; 212 213} // namespace ArmISA 214 215#endif // __ARCH_ARM_DECODER_HH__ |