gem5  v21.1.0.2
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  ,
BitfieldToBitfieldAssignment   
)

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

◆ TEST_F() [2/13]

TEST_F ( BitUnionData  ,
Custom   
)

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

◆ TEST_F() [3/13]

TEST_F ( BitUnionData  ,
InsideFunction   
)

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

◆ TEST_F() [4/13]

TEST_F ( BitUnionData  ,
InsideStruct   
)

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

◆ TEST_F() [5/13]

TEST_F ( BitUnionData  ,
NormalBitfield   
)

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

◆ TEST_F() [6/13]

TEST_F ( BitUnionData  ,
Operators   
)

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

◆ TEST_F() [7/13]

TEST_F ( BitUnionData  ,
Output   
)

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

References ss.

◆ TEST_F() [8/13]

TEST_F ( BitUnionData  ,
ReadOnlyBitfield   
)

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

◆ TEST_F() [9/13]

TEST_F ( BitUnionData  ,
SignedBitfields   
)

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

◆ TEST_F() [10/13]

TEST_F ( BitUnionData  ,
SingleBitfield   
)

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

◆ TEST_F() [11/13]

TEST_F ( BitUnionData  ,
SubBitUnions   
)

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

References gem5::PowerISA::xe.

◆ TEST_F() [12/13]

TEST_F ( BitUnionData  ,
Templating   
)

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

References BitUnion, and EndBitUnion().

◆ TEST_F() [13/13]

TEST_F ( BitUnionData  ,
WriteOnlyBitfield   
)

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

Variable Documentation

◆ emptySixteen

EmptySixteen emptySixteen

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

◆ emptySixtyFour

EmptySixtyFour emptySixtyFour = 0

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

◆ emptyThirtyTwo

EmptyThirtyTwo emptyThirtyTwo

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


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