PROLEAD
A Probing-Based Leakage Detection Tool for Hardware and Software
Loading...
Searching...
No Matches
conditions.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <ostream>
5
6namespace mulator
7{
8
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}
std::string to_string(const Architecture &x)
std::ostream & operator<<(std::ostream &os, const Architecture &x)