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

Go to the source code of this file.

Functions

 TEST (CondCodes, FindCarryWithNoCarryIn8Bit)
 
 TEST (CondCodes, FindNoCarryWithNoCarryIn8Bit)
 
 TEST (CondCodes, FindCarryWithCarryIn8Bit)
 
 TEST (CondCodes, FindNoCarryWithCarryIn8Bit)
 
 TEST (CondCodes, FindCarryWithNoCarryIn32Bit)
 
 TEST (CondCodes, FindNoCarryWithNoCarryIn32Bit)
 
 TEST (CondCodes, FindCarryWithCarryIn32Bit)
 
 TEST (CondCodes, FindCarryWithNoCarryIn64Bit)
 
 TEST (CondCodes, FindCarryWithCarryIn64Bit)
 
 TEST (CondCodes, FindOverflow8Bit)
 
 TEST (CondCodes, FindOverflow32Bit)
 
 TEST (CondCodes, FindOverflow64Bit)
 
 TEST (CondCodes, OddParity)
 
 TEST (CondCodes, EvenParity)
 
 TEST (CondCodes, OddParityOverflow)
 
 TEST (CondCodes, EvenParityOverflow)
 
 TEST (CondCodes, IsNegative)
 
 TEST (CondCodes, IsNotNegative)
 
 TEST (CondCodes, IsZero)
 
 TEST (CondCodes, IsNotZero)
 
 TEST (CondCodes, IsZeroOverflow)
 

Function Documentation

◆ TEST() [1/21]

TEST ( CondCodes  ,
EvenParity   
)

Definition at line 222 of file condcodes.test.cc.

References findParity().

◆ TEST() [2/21]

TEST ( CondCodes  ,
EvenParityOverflow   
)

Definition at line 232 of file condcodes.test.cc.

References findParity().

◆ TEST() [3/21]

TEST ( CondCodes  ,
FindCarryWithCarryIn32Bit   
)

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

References findCarry().

◆ TEST() [4/21]

TEST ( CondCodes  ,
FindCarryWithCarryIn64Bit   
)

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

References findCarry().

◆ TEST() [5/21]

TEST ( CondCodes  ,
FindCarryWithCarryIn8Bit   
)

Definition at line 55 of file condcodes.test.cc.

References findCarry().

◆ TEST() [6/21]

TEST ( CondCodes  ,
FindCarryWithNoCarryIn32Bit   
)

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

References findCarry().

◆ TEST() [7/21]

TEST ( CondCodes  ,
FindCarryWithNoCarryIn64Bit   
)

Definition at line 102 of file condcodes.test.cc.

References findCarry().

◆ TEST() [8/21]

TEST ( CondCodes  ,
FindCarryWithNoCarryIn8Bit   
)

Definition at line 37 of file condcodes.test.cc.

References findCarry().

◆ TEST() [9/21]

TEST ( CondCodes  ,
FindNoCarryWithCarryIn8Bit   
)

Definition at line 64 of file condcodes.test.cc.

References findCarry().

◆ TEST() [10/21]

TEST ( CondCodes  ,
FindNoCarryWithNoCarryIn32Bit   
)

Definition at line 82 of file condcodes.test.cc.

References findCarry().

◆ TEST() [11/21]

TEST ( CondCodes  ,
FindNoCarryWithNoCarryIn8Bit   
)

Definition at line 46 of file condcodes.test.cc.

References findCarry().

◆ TEST() [12/21]

TEST ( CondCodes  ,
FindOverflow32Bit   
)

Definition at line 184 of file condcodes.test.cc.

References findOverflow().

◆ TEST() [13/21]

TEST ( CondCodes  ,
FindOverflow64Bit   
)

Definition at line 198 of file condcodes.test.cc.

References findOverflow().

◆ TEST() [14/21]

TEST ( CondCodes  ,
FindOverflow8Bit   
)

Definition at line 170 of file condcodes.test.cc.

References findOverflow().

◆ TEST() [15/21]

TEST ( CondCodes  ,
IsNegative   
)

Definition at line 237 of file condcodes.test.cc.

References findNegative().

◆ TEST() [16/21]

TEST ( CondCodes  ,
IsNotNegative   
)

Definition at line 242 of file condcodes.test.cc.

References findNegative().

◆ TEST() [17/21]

TEST ( CondCodes  ,
IsNotZero   
)

Definition at line 252 of file condcodes.test.cc.

References findZero().

◆ TEST() [18/21]

TEST ( CondCodes  ,
IsZero   
)

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

References findZero().

◆ TEST() [19/21]

TEST ( CondCodes  ,
IsZeroOverflow   
)

Definition at line 257 of file condcodes.test.cc.

References findZero().

◆ TEST() [20/21]

TEST ( CondCodes  ,
OddParity   
)

Definition at line 217 of file condcodes.test.cc.

References findParity().

◆ TEST() [21/21]

TEST ( CondCodes  ,
OddParityOverflow   
)

Definition at line 227 of file condcodes.test.cc.

References findParity().


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