PROLEAD
A Probing-Based Leakage Detection Tool for Hardware and Software
Loading...
Searching...
No Matches
Projects
PROLEAD
inc
Software
mulator
conditions.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <ostream>
5
6
namespace
mulator
7
{
8
9
enum
Condition
10
{
11
EQ
= 0,
// Equal Z == 1
12
NE
,
// Not equal Z == 0
13
CS
,
// HS (unsigned higher or same) is a synonym for CS. Carry set C == 1
14
CC
,
// LO (unsigned lower) is a synonym for CC. Carry clear C == 0
15
MI
,
// Minus, negative N == 1
16
PL
,
// Plus, positive or zero N == 0
17
VS
,
// Overflow V == 1
18
VC
,
// No overflow V == 0
19
HI
,
// Unsigned higher C == 1 and Z == 0
20
LS
,
// Unsigned lower or same C == 0 or Z == 1
21
GE
,
// Signed greater than or equal N == V
22
LT
,
// Signed less than N != V
23
GT
,
// Signed greater than Z == 0 and N == V
24
LE
,
// Signed less than or equal Z == 1 or N != V
25
AL
,
// Always (never encoded)
26
};
27
28
std::string
to_string
(
const
Condition
& x);
29
std::ostream&
operator<<
(std::ostream& os,
const
Condition
& x);
30
31
}
mulator
Definition:
architectures.h:7
mulator::Condition
Condition
Definition:
conditions.h:10
mulator::LT
@ LT
Definition:
conditions.h:22
mulator::VS
@ VS
Definition:
conditions.h:17
mulator::GE
@ GE
Definition:
conditions.h:21
mulator::EQ
@ EQ
Definition:
conditions.h:11
mulator::AL
@ AL
Definition:
conditions.h:25
mulator::LE
@ LE
Definition:
conditions.h:24
mulator::GT
@ GT
Definition:
conditions.h:23
mulator::LS
@ LS
Definition:
conditions.h:20
mulator::CS
@ CS
Definition:
conditions.h:13
mulator::PL
@ PL
Definition:
conditions.h:16
mulator::HI
@ HI
Definition:
conditions.h:19
mulator::CC
@ CC
Definition:
conditions.h:14
mulator::VC
@ VC
Definition:
conditions.h:18
mulator::NE
@ NE
Definition:
conditions.h:12
mulator::MI
@ MI
Definition:
conditions.h:15
mulator::to_string
std::string to_string(const Architecture &x)
mulator::operator<<
std::ostream & operator<<(std::ostream &os, const Architecture &x)
Generated by
1.9.6