gem5 v25.0.0.1
Loading...
Searching...
No Matches
condcodes.hh File Reference
#include "base/bitfield.hh"

Go to the source code of this file.

Namespaces

namespace  gem5
 Copyright (c) 2024 Arm Limited All rights reserved.

Functions

static bool gem5::findCarry (int width, uint64_t dest, uint64_t src1, uint64_t src2)
 Calculate the carry flag from an addition.
static bool gem5::findOverflow (int width, uint64_t dest, uint64_t src1, uint64_t src2)
 Calculate the overflow flag from an addition.
static bool gem5::findParity (int width, uint64_t dest)
 Calculate the parity of a value.
static bool gem5::findNegative (int width, uint64_t dest)
 Calculate the negative flag.
static bool gem5::findZero (int width, uint64_t dest)
 Calculate the zero flag.

Generated on Sat Oct 18 2025 08:06:47 for gem5 by doxygen 1.14.0