Skip to content

Commit

Permalink
add alias of dfv
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Nov 25, 2023
1 parent facb052 commit a1f6c14
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xbyak/xbyak.h
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,12 @@ class Reg;
struct ApxFlagNF {};
struct ApxFlagZU {};

// dfv (default flags value) is or operation of these flags
static const int T_of = 8;
static const int T_sf = 4;
static const int T_zf = 2;
static const int T_cf = 1;

class Operand {
static const uint8_t EXT8BIT = 0x20;
unsigned int idx_:6; // 0..31 + EXT8BIT = 1 if spl/bpl/sil/dil
Expand Down

0 comments on commit a1f6c14

Please sign in to comment.