gem5  v21.1.0.2
cc.hh
Go to the documentation of this file.
1 /*
2  * Copyright (c) 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
9  * licensed hereunder. You may use the software subject to the license
10  * terms below provided that you ensure that this notice is replicated
11  * unmodified and in its entirety in all distributions of the software,
12  * modified or unmodified, in source code or in binary form.
13  *
14  * Redistribution and use in source and binary forms, with or without
15  * modification, are permitted provided that the following conditions are
16  * met: redistributions of source code must retain the above copyright
17  * notice, this list of conditions and the following disclaimer;
18  * redistributions in binary form must reproduce the above copyright
19  * notice, this list of conditions and the following disclaimer in the
20  * documentation and/or other materials provided with the distribution;
21  * neither the name of the copyright holders nor the names of its
22  * contributors may be used to endorse or promote products derived from
23  * this software without specific prior written permission.
24  *
25  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36  */
37 
38 #ifndef __ARCH_ARM_REGS_CC_HH__
39 #define __ARCH_ARM_REGS_CC_HH__
40 
41 namespace gem5
42 {
43 
44 namespace ArmISA
45 {
46 
48 {
56 };
57 
58 const char * const ccRegName[NUM_CCREGS] = {
59  "nz",
60  "c",
61  "v",
62  "ge",
63  "fp",
64  "zero"
65 };
66 
68 {
69  COND_EQ = 0,
70  COND_NE, // 1
71  COND_CS, // 2
72  COND_CC, // 3
73  COND_MI, // 4
74  COND_PL, // 5
75  COND_VS, // 6
76  COND_VC, // 7
77  COND_HI, // 8
78  COND_LS, // 9
79  COND_GE, // 10
80  COND_LT, // 11
81  COND_GT, // 12
82  COND_LE, // 13
83  COND_AL, // 14
84  COND_UC // 15
85 };
86 
87 } // namespace ArmISA
88 } // namespace gem5
89 
90 #endif // __ARCH_ARM_REGS_CC_HH__
gem5::ArmISA::CCREG_C
@ CCREG_C
Definition: cc.hh:50
gem5::ArmISA::COND_HI
@ COND_HI
Definition: cc.hh:77
gem5::ArmISA::COND_NE
@ COND_NE
Definition: cc.hh:70
gem5::ArmISA::CCREG_NZ
@ CCREG_NZ
Definition: cc.hh:49
gem5::ArmISA::ccRegName
const char *const ccRegName[NUM_CCREGS]
Definition: cc.hh:58
gem5::ArmISA::COND_PL
@ COND_PL
Definition: cc.hh:74
gem5::ArmISA::ccRegIndex
ccRegIndex
Definition: cc.hh:47
gem5::ArmISA::COND_CS
@ COND_CS
Definition: cc.hh:71
gem5::ArmISA::COND_LT
@ COND_LT
Definition: cc.hh:80
gem5::ArmISA::COND_VC
@ COND_VC
Definition: cc.hh:76
gem5::ArmISA::COND_UC
@ COND_UC
Definition: cc.hh:84
gem5::ArmISA::COND_EQ
@ COND_EQ
Definition: cc.hh:69
gem5::ArmISA::COND_VS
@ COND_VS
Definition: cc.hh:75
gem5::ArmISA::COND_AL
@ COND_AL
Definition: cc.hh:83
gem5::ArmISA::CCREG_GE
@ CCREG_GE
Definition: cc.hh:52
gem5::ArmISA::COND_MI
@ COND_MI
Definition: cc.hh:73
gem5::ArmISA::COND_LS
@ COND_LS
Definition: cc.hh:78
gem5::ArmISA::CCREG_FP
@ CCREG_FP
Definition: cc.hh:53
gem5::ArmISA::COND_LE
@ COND_LE
Definition: cc.hh:82
gem5::ArmISA::ConditionCode
ConditionCode
Definition: cc.hh:67
gem5::ArmISA::NUM_CCREGS
@ NUM_CCREGS
Definition: cc.hh:55
gem5::ArmISA::COND_GE
@ COND_GE
Definition: cc.hh:79
gem5::ArmISA::CCREG_ZERO
@ CCREG_ZERO
Definition: cc.hh:54
gem5
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Definition: decoder.cc:40
gem5::ArmISA::CCREG_V
@ CCREG_V
Definition: cc.hh:51
gem5::ArmISA::COND_GT
@ COND_GT
Definition: cc.hh:81
gem5::ArmISA::COND_CC
@ COND_CC
Definition: cc.hh:72

Generated on Tue Sep 21 2021 12:24:37 for gem5 by doxygen 1.8.17