From a1f6c14cccfc1bf40d6460f8f8c4b0419e09194d Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Sat, 25 Nov 2023 09:00:06 +0900 Subject: [PATCH] add alias of dfv --- xbyak/xbyak.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h index 35dc5395..2b445758 100644 --- a/xbyak/xbyak.h +++ b/xbyak/xbyak.h @@ -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