gem5  v21.1.0.2
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 89 of file types.test.cc.

◆ TEST() [2/19]

TEST ( CyclesTest  ,
GreaterThanLessThan   
)

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

◆ TEST() [3/19]

TEST ( CyclesTest  ,
InPlaceAddition   
)

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

◆ TEST() [4/19]

TEST ( CyclesTest  ,
NoCycles   
)

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

◆ TEST() [5/19]

TEST ( CyclesTest  ,
OutStream   
)

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

References ss.

◆ TEST() [6/19]

TEST ( CyclesTest  ,
PrefixDecrement   
)

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

◆ TEST() [7/19]

TEST ( CyclesTest  ,
PrefixIncrement   
)

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

◆ TEST() [8/19]

TEST ( CyclesTest  ,
ShiftLeft   
)

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

◆ TEST() [9/19]

TEST ( CyclesTest  ,
ShiftRight   
)

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

◆ TEST() [10/19]

TEST ( CyclesTest  ,
SubtractCycles   
)

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

◆ TEST() [11/19]

TEST ( MicroPCTest  ,
CheckMicroPCRomBit   
)

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

References gem5::MicroPCRomBit.

◆ TEST() [12/19]

TEST ( MicroPCTest  ,
IsNotRomMicroPCTest   
)

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

References gem5::isRomMicroPC().

◆ TEST() [13/19]

TEST ( MicroPCTest  ,
IsRomMicroPCTest   
)

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

References gem5::isRomMicroPC(), and gem5::MicroPCRomBit.

◆ TEST() [14/19]

TEST ( MicroPCTest  ,
NormalMicroPCTest   
)

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

References gem5::MicroPCRomBit, and gem5::normalMicroPC().

◆ TEST() [15/19]

TEST ( MicroPCTest  ,
RomMicroPCTest   
)

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

References gem5::MicroPCRomBit, and gem5::romMicroPC().

◆ TEST() [16/19]

TEST ( TypesTest  ,
floatsToBitsDoubleInput   
)

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

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

◆ TEST() [17/19]

TEST ( TypesTest  ,
floatsToBitsFloatInput   
)

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

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

◆ TEST() [18/19]

TEST ( TypesTest  ,
FloatToBits32   
)

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

References gem5::floatToBits32().

◆ TEST() [19/19]

TEST ( TypesTest  ,
floatToBits64   
)

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

References gem5::floatToBits64().


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