CACAO
X86_64Cond.cpp
Go to the documentation of this file.
1 /* src/vm/jit/compiler2/X86_64Cond.cpp - X86_64Cond
2 
3  Copyright (C) 2013
4  CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
5 
6  This file is part of CACAO.
7 
8  This program is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License as
10  published by the Free Software Foundation; either version 2, or (at
11  your option) any later version.
12 
13  This program is distributed in the hope that it will be useful, but
14  WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program; if not, write to the Free Software
20  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21  02110-1301, USA.
22 
23 */
25 
26 namespace cacao {
27 namespace jit {
28 namespace compiler2 {
29 namespace x86_64 {
30 
31 const Cond::COND Cond::O(0x00);
32 const Cond::COND Cond::NO(0x01);
33 const Cond::COND Cond::B(0x02);
34 const Cond::COND Cond::C(0x02);
35 const Cond::COND Cond::NAE(0x02);
36 const Cond::COND Cond::NB(0x03);
37 const Cond::COND Cond::NC(0x03);
38 const Cond::COND Cond::AE(0x03);
39 const Cond::COND Cond::Z(0x04);
40 const Cond::COND Cond::E(0x04);
41 const Cond::COND Cond::NZ(0x05);
42 const Cond::COND Cond::NE(0x05);
43 const Cond::COND Cond::BE(0x06);
44 const Cond::COND Cond::NA(0x06);
45 const Cond::COND Cond::NBE(0x07);
46 const Cond::COND Cond::A(0x07);
47 const Cond::COND Cond::S(0x08);
48 const Cond::COND Cond::NS(0x09);
49 const Cond::COND Cond::P(0x0a);
50 const Cond::COND Cond::PE(0x0a);
51 const Cond::COND Cond::NP(0x0b);
52 const Cond::COND Cond::PO(0x0b);
53 const Cond::COND Cond::L(0x0c);
54 const Cond::COND Cond::NGE(0x0c);
55 const Cond::COND Cond::NL(0x0d);
56 const Cond::COND Cond::GE(0x0d);
57 const Cond::COND Cond::LE(0x0e);
58 const Cond::COND Cond::NG(0x0e);
59 const Cond::COND Cond::NLE(0x0f);
60 const Cond::COND Cond::G(0x0f);
61 
62 } // end namespace x86_64
63 } // end namespace compiler2
64 } // end namespace jit
65 } // end namespace cacao
66 
67 
68 /*
69  * These are local overrides for various environment variables in Emacs.
70  * Please do not remove this and leave it at the end of the file, where
71  * Emacs will automagically detect them.
72  * ---------------------------------------------------------------------
73  * Local variables:
74  * mode: c++
75  * indent-tabs-mode: t
76  * c-basic-offset: 4
77  * tab-width: 4
78  * End:
79  * vim:noexpandtab:sw=4:ts=4:
80  */
static const COND B
below (CF = 1)
Definition: X86_64Cond.hpp:81
static const COND E
equal (ZF = 1)
Definition: X86_64Cond.hpp:88
static const COND NO
not overflow (OF = 0)
Definition: X86_64Cond.hpp:80
static const COND PO
parity odd (PF = 0)
Definition: X86_64Cond.hpp:100
static const COND NA
not above (CF = 1 or ZF = 1)
Definition: X86_64Cond.hpp:92
static const COND NGE
not greater or equal (SF <> OF)
Definition: X86_64Cond.hpp:102
static const COND C
carry (CF = 1)
Definition: X86_64Cond.hpp:82
static const COND G
greater (ZF = 0 and SF = OF)
Definition: X86_64Cond.hpp:108
static const COND NZ
not zero (ZF = 0)
Definition: X86_64Cond.hpp:89
static const COND L
less (SF <> OF)
Definition: X86_64Cond.hpp:101
static const COND AE
above or equal (CF = 0)
Definition: X86_64Cond.hpp:86
static const COND NG
not greater (ZF = 1 or SF <> OF)
Definition: X86_64Cond.hpp:106
static const COND GE
greater or equal (SF = OF)
Definition: X86_64Cond.hpp:104
static const COND NB
not below (CF = 0)
Definition: X86_64Cond.hpp:84
static const COND PE
parity even (PF = 1)
Definition: X86_64Cond.hpp:98
static const COND O
overflow (OF = 1)
Definition: X86_64Cond.hpp:79
static const COND BE
below or equal (CF = 1 or ZF = 1)
Definition: X86_64Cond.hpp:91
static const COND NE
not equal (ZF = 0)
Definition: X86_64Cond.hpp:90
static const COND Z
zero (ZF = 1)
Definition: X86_64Cond.hpp:87
static const COND A
above (CF = 0 and ZF = 0)
Definition: X86_64Cond.hpp:94
static const COND NLE
not less or equal (ZF = 0 and SF = OF)
Definition: X86_64Cond.hpp:107
static const COND P
parity (PF = 1)
Definition: X86_64Cond.hpp:97
static const COND NS
not sign (SF = 0)
Definition: X86_64Cond.hpp:96
static const COND NBE
not below or equal (CF = 0 and ZF = 0)
Definition: X86_64Cond.hpp:93
static const COND NP
not parity (PF = 0)
Definition: X86_64Cond.hpp:99
static const COND NL
not less (SF = OF)
Definition: X86_64Cond.hpp:103
static const COND NAE
not above or equal (CF = 1)
Definition: X86_64Cond.hpp:83
static const COND NC
not carry (CF = 0)
Definition: X86_64Cond.hpp:85
static const COND LE
less or equal (ZF = 1 or SF <> OF)
Definition: X86_64Cond.hpp:105
static const COND S
sign (SF = 1)
Definition: X86_64Cond.hpp:95