gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Functions | Variables
bitunion.test.cc File Reference
#include <gtest/gtest.h>
#include <cassert>
#include <iostream>
#include <type_traits>
#include "base/bitunion.hh"
#include "base/cprintf.hh"

Go to the source code of this file.

Classes

class  BitUnionData
 

Functions

EmptyEight emptyEight (0)
 
 TEST_F (BitUnionData, NormalBitfield)
 
 TEST_F (BitUnionData, SingleBitfield)
 
 TEST_F (BitUnionData, ReadOnlyBitfield)
 
 TEST_F (BitUnionData, WriteOnlyBitfield)
 
 TEST_F (BitUnionData, SubBitUnions)
 
 TEST_F (BitUnionData, SignedBitfields)
 
 TEST_F (BitUnionData, InsideStruct)
 
 TEST_F (BitUnionData, InsideFunction)
 
 TEST_F (BitUnionData, BitfieldToBitfieldAssignment)
 
 TEST_F (BitUnionData, Operators)
 
 TEST_F (BitUnionData, Custom)
 
 TEST_F (BitUnionData, Templating)
 
 TEST_F (BitUnionData, Output)
 

Variables

EmptySixtyFour emptySixtyFour = 0
 
EmptyThirtyTwo emptyThirtyTwo
 
EmptySixteen emptySixteen
 

Function Documentation

◆ emptyEight()

EmptyEight emptyEight ( )

◆ TEST_F() [1/13]

TEST_F ( BitUnionData  ,
NormalBitfield   
)

Definition at line 157 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [2/13]

TEST_F ( BitUnionData  ,
SingleBitfield   
)

Definition at line 167 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [3/13]

TEST_F ( BitUnionData  ,
ReadOnlyBitfield   
)

Definition at line 175 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [4/13]

TEST_F ( BitUnionData  ,
WriteOnlyBitfield   
)

Definition at line 182 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [5/13]

TEST_F ( BitUnionData  ,
SubBitUnions   
)

Definition at line 188 of file bitunion.test.cc.

References EXPECT_EQ, and PowerISA::xe.

◆ TEST_F() [6/13]

TEST_F ( BitUnionData  ,
SignedBitfields   
)

Definition at line 200 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [7/13]

TEST_F ( BitUnionData  ,
InsideStruct   
)

Definition at line 211 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [8/13]

TEST_F ( BitUnionData  ,
InsideFunction   
)

Definition at line 219 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [9/13]

TEST_F ( BitUnionData  ,
BitfieldToBitfieldAssignment   
)

Definition at line 224 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [10/13]

TEST_F ( BitUnionData  ,
Operators   
)

Definition at line 234 of file bitunion.test.cc.

References EXPECT_EQ, and EXPECT_TRUE.

◆ TEST_F() [11/13]

TEST_F ( BitUnionData  ,
Custom   
)

Definition at line 247 of file bitunion.test.cc.

References EXPECT_EQ.

◆ TEST_F() [12/13]

TEST_F ( BitUnionData  ,
Templating   
)

Definition at line 255 of file bitunion.test.cc.

References BitUnion, EndBitUnion(), EXPECT_EQ, EXPECT_FALSE, and EXPECT_TRUE.

◆ TEST_F() [13/13]

TEST_F ( BitUnionData  ,
Output   
)

Definition at line 274 of file bitunion.test.cc.

References EXPECT_EQ, and ArmISA::ss.

Variable Documentation

◆ emptySixteen

EmptySixteen emptySixteen

Definition at line 135 of file bitunion.test.cc.

◆ emptySixtyFour

EmptySixtyFour emptySixtyFour = 0

Definition at line 133 of file bitunion.test.cc.

◆ emptyThirtyTwo

EmptyThirtyTwo emptyThirtyTwo

Definition at line 134 of file bitunion.test.cc.


Generated on Fri Feb 28 2020 16:27:06 for gem5 by doxygen 1.8.13