gem5  v20.1.0.0
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.

References EXPECT_EQ.

◆ TEST() [2/19]

TEST ( CyclesTest  ,
GreaterThanLessThan   
)

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

References EXPECT_TRUE.

◆ TEST() [3/19]

TEST ( CyclesTest  ,
InPlaceAddition   
)

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

References EXPECT_EQ.

◆ TEST() [4/19]

TEST ( CyclesTest  ,
NoCycles   
)

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

References EXPECT_EQ.

◆ TEST() [5/19]

TEST ( CyclesTest  ,
OutStream   
)

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

References EXPECT_EQ, and ArmISA::ss.

◆ TEST() [6/19]

TEST ( CyclesTest  ,
PrefixDecrement   
)

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

References EXPECT_EQ.

◆ TEST() [7/19]

TEST ( CyclesTest  ,
PrefixIncrement   
)

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

References EXPECT_EQ.

◆ TEST() [8/19]

TEST ( CyclesTest  ,
ShiftLeft   
)

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

References EXPECT_EQ, and ULL.

◆ TEST() [9/19]

TEST ( CyclesTest  ,
ShiftRight   
)

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

References EXPECT_EQ, and ULL.

◆ TEST() [10/19]

TEST ( CyclesTest  ,
SubtractCycles   
)

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

References EXPECT_EQ.

◆ TEST() [11/19]

TEST ( MicroPCTest  ,
CheckMicroPCRomBit   
)

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

References EXPECT_EQ, and MicroPCRomBit.

◆ TEST() [12/19]

TEST ( MicroPCTest  ,
IsNotRomMicroPCTest   
)

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

References EXPECT_FALSE, and isRomMicroPC().

◆ TEST() [13/19]

TEST ( MicroPCTest  ,
IsRomMicroPCTest   
)

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

References EXPECT_TRUE, isRomMicroPC(), and MicroPCRomBit.

◆ TEST() [14/19]

TEST ( MicroPCTest  ,
NormalMicroPCTest   
)

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

References EXPECT_EQ, MicroPCRomBit, and normalMicroPC().

◆ TEST() [15/19]

TEST ( MicroPCTest  ,
RomMicroPCTest   
)

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

References EXPECT_EQ, MicroPCRomBit, and romMicroPC().

◆ TEST() [16/19]

TEST ( TypesTest  ,
floatsToBitsDoubleInput   
)

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

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

◆ TEST() [17/19]

TEST ( TypesTest  ,
floatsToBitsFloatInput   
)

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

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

◆ TEST() [18/19]

TEST ( TypesTest  ,
FloatToBits32   
)

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

References EXPECT_EQ, and floatToBits32().

◆ TEST() [19/19]

TEST ( TypesTest  ,
floatToBits64   
)

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

References EXPECT_EQ, and floatToBits64().


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17