gem5 v24.0.0.0
Loading...
Searching...
No Matches
float.hh
Go to the documentation of this file.
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer;
10 * redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution;
13 * neither the name of the copyright holders nor the names of its
14 * contributors may be used to endorse or promote products derived from
15 * this software without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
30#ifndef __ARCH_MIPS_REGS_FLOAT_HH__
31#define __ARCH_MIPS_REGS_FLOAT_HH__
32
33#include <cstdint>
34
35#include "cpu/reg_class.hh"
36#include "debug/FloatRegs.hh"
37
38namespace gem5
39{
40namespace MipsISA
41{
91
93 float_reg::NumRegs, debug::FloatRegs);
94
95namespace float_reg
96{
97
98inline constexpr RegId
131
137
138} // namespace float_reg
139
149
156
157const uint32_t MIPS32_QNAN = 0x7fbfffff;
158const uint64_t MIPS64_QNAN = 0x7ff7ffffffffffffULL;
159
160} // namespace MipsISA
161} // namespace gem5
162
163#endif
Register ID: describe an architectural register with its class and index.
Definition reg_class.hh:94
constexpr RegId F25
Definition float.hh:124
constexpr RegId F22
Definition float.hh:121
constexpr RegId F20
Definition float.hh:119
constexpr RegId F8
Definition float.hh:107
constexpr RegId F0
Definition float.hh:99
constexpr RegId F28
Definition float.hh:127
constexpr RegId F13
Definition float.hh:112
constexpr RegId F3
Definition float.hh:102
constexpr RegId F7
Definition float.hh:106
constexpr RegId F27
Definition float.hh:126
constexpr RegId F1
Definition float.hh:100
constexpr RegId F21
Definition float.hh:120
constexpr RegId F14
Definition float.hh:113
constexpr RegId Fccr
Definition float.hh:133
constexpr RegId F2
Definition float.hh:101
constexpr RegId F24
Definition float.hh:123
constexpr RegId F26
Definition float.hh:125
constexpr RegId F29
Definition float.hh:128
constexpr RegId Fenr
Definition float.hh:135
constexpr RegId F31
Definition float.hh:130
constexpr RegId F12
Definition float.hh:111
constexpr RegId F6
Definition float.hh:105
constexpr RegId F10
Definition float.hh:109
constexpr RegId F5
Definition float.hh:104
constexpr RegId F19
Definition float.hh:118
constexpr RegId F30
Definition float.hh:129
constexpr RegId Fexr
Definition float.hh:134
constexpr RegId F11
Definition float.hh:110
constexpr RegId F23
Definition float.hh:122
constexpr RegId Fir
Definition float.hh:132
constexpr RegId F17
Definition float.hh:116
constexpr RegId F9
Definition float.hh:108
constexpr RegId F16
Definition float.hh:115
constexpr RegId F18
Definition float.hh:117
constexpr RegId F4
Definition float.hh:103
constexpr RegId F15
Definition float.hh:114
constexpr RegId Fcsr
Definition float.hh:136
const uint64_t MIPS64_QNAN
Definition float.hh:158
const uint32_t MIPS32_QNAN
Definition float.hh:157
constexpr RegClass floatRegClass
Definition float.hh:143
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
Definition binary32.hh:36
uint16_t RegIndex
Definition types.hh:176
@ FloatRegClass
Floating-point register.
Definition reg_class.hh:62
constexpr char FloatRegClassName[]
Definition reg_class.hh:76

Generated on Tue Jun 18 2024 16:23:59 for gem5 by doxygen 1.11.0