gem5  v21.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
types.test.cc File Reference
#include <gtest/gtest.h>
#include <sstream>
#include "base/types.hh"

Go to the source code of this file.

Functions

 TEST (CyclesTest, NoCycles)
 
 TEST (CyclesTest, PrefixIncrement)
 
 TEST (CyclesTest, PrefixDecrement)
 
 TEST (CyclesTest, InPlaceAddition)
 
 TEST (CyclesTest, GreaterThanLessThan)
 
 TEST (CyclesTest, AddCycles)
 
 TEST (CyclesTest, SubtractCycles)
 
 TEST (CyclesTest, ShiftRight)
 
 TEST (CyclesTest, ShiftLeft)
 
 TEST (CyclesTest, OutStream)
 
 TEST (MicroPCTest, CheckMicroPCRomBit)
 
 TEST (MicroPCTest, RomMicroPCTest)
 
 TEST (MicroPCTest, NormalMicroPCTest)
 
 TEST (MicroPCTest, IsRomMicroPCTest)
 
 TEST (MicroPCTest, IsNotRomMicroPCTest)
 
 TEST (TypesTest, FloatToBits32)
 
 TEST (TypesTest, floatToBits64)
 
 TEST (TypesTest, floatsToBitsDoubleInput)
 
 TEST (TypesTest, floatsToBitsFloatInput)
 

Function Documentation

◆ TEST() [1/19]

TEST ( CyclesTest  ,
AddCycles   
)

Definition at line 87 of file types.test.cc.

◆ TEST() [2/19]

TEST ( CyclesTest  ,
GreaterThanLessThan   
)

Definition at line 79 of file types.test.cc.

◆ TEST() [3/19]

TEST ( CyclesTest  ,
InPlaceAddition   
)

Definition at line 71 of file types.test.cc.

◆ TEST() [4/19]

TEST ( CyclesTest  ,
NoCycles   
)

Definition at line 48 of file types.test.cc.

◆ TEST() [5/19]

TEST ( CyclesTest  ,
OutStream   
)

Definition at line 117 of file types.test.cc.

References ArmISA::ss.

◆ TEST() [6/19]

TEST ( CyclesTest  ,
PrefixDecrement   
)

Definition at line 63 of file types.test.cc.

◆ TEST() [7/19]

TEST ( CyclesTest  ,
PrefixIncrement   
)

Definition at line 54 of file types.test.cc.

◆ TEST() [8/19]

TEST ( CyclesTest  ,
ShiftLeft   
)

Definition at line 110 of file types.test.cc.

References ULL.

◆ TEST() [9/19]

TEST ( CyclesTest  ,
ShiftRight   
)

Definition at line 103 of file types.test.cc.

References ULL.

◆ TEST() [10/19]

TEST ( CyclesTest  ,
SubtractCycles   
)

Definition at line 95 of file types.test.cc.

◆ TEST() [11/19]

TEST ( MicroPCTest  ,
CheckMicroPCRomBit   
)

Definition at line 129 of file types.test.cc.

References MicroPCRomBit.

◆ TEST() [12/19]

TEST ( MicroPCTest  ,
IsNotRomMicroPCTest   
)

Definition at line 149 of file types.test.cc.

References isRomMicroPC().

◆ TEST() [13/19]

TEST ( MicroPCTest  ,
IsRomMicroPCTest   
)

Definition at line 144 of file types.test.cc.

References isRomMicroPC(), and MicroPCRomBit.

◆ TEST() [14/19]

TEST ( MicroPCTest  ,
NormalMicroPCTest   
)

Definition at line 139 of file types.test.cc.

References MicroPCRomBit, and normalMicroPC().

◆ TEST() [15/19]

TEST ( MicroPCTest  ,
RomMicroPCTest   
)

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

References MicroPCRomBit, and romMicroPC().

◆ TEST() [16/19]

TEST ( TypesTest  ,
floatsToBitsDoubleInput   
)

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

References floatToBits(), floatToBits64(), and X86ISA::val.

◆ TEST() [17/19]

TEST ( TypesTest  ,
floatsToBitsFloatInput   
)

Definition at line 180 of file types.test.cc.

References floatToBits(), floatToBits32(), and X86ISA::val.

◆ TEST() [18/19]

TEST ( TypesTest  ,
FloatToBits32   
)

Definition at line 159 of file types.test.cc.

References floatToBits32().

◆ TEST() [19/19]

TEST ( TypesTest  ,
floatToBits64   
)

Definition at line 164 of file types.test.cc.

References floatToBits64().


Generated on Tue Mar 23 2021 19:41:31 for gem5 by doxygen 1.8.17