aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gen/gen_code.cpp2
-rw-r--r--test/make_nm.cpp2
-rw-r--r--xbyak/xbyak_mnemonic.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/gen/gen_code.cpp b/gen/gen_code.cpp
index 6379c8c..3af1a06 100644
--- a/gen/gen_code.cpp
+++ b/gen/gen_code.cpp
@@ -1695,6 +1695,8 @@ void put64()
{ "cdqe", 0x48, 0x98 },
{ "cqo", 0x48, 0x99 },
{ "cmpsq", 0x48, 0xA7 },
+ { "popfq", 0x9D },
+ { "pushfq", 0x9C },
{ "movsq", 0x48, 0xA5 },
{ "scasq", 0x48, 0xAF },
{ "stosq", 0x48, 0xAB },
diff --git a/test/make_nm.cpp b/test/make_nm.cpp
index 862cd96..8df5092 100644
--- a/test/make_nm.cpp
+++ b/test/make_nm.cpp
@@ -460,6 +460,8 @@ class Test {
"cqo",
"cmpsq",
"movsq",
+ "popfq",
+ "pushfq",
"scasq",
"stosq",
"syscall",
diff --git a/xbyak/xbyak_mnemonic.h b/xbyak/xbyak_mnemonic.h
index 5fff545..5d70295 100644
--- a/xbyak/xbyak_mnemonic.h
+++ b/xbyak/xbyak_mnemonic.h
@@ -1559,6 +1559,8 @@ void jrcxz(const Label& label) { opJmp(label, T_SHORT, 0xe3, 0, 0); }
void cdqe() { db(0x48); db(0x98); }
void cqo() { db(0x48); db(0x99); }
void cmpsq() { db(0x48); db(0xA7); }
+void popfq() { db(0x9D); }
+void pushfq() { db(0x9C); }
void movsq() { db(0x48); db(0xA5); }
void scasq() { db(0x48); db(0xAF); }
void stosq() { db(0x48); db(0xAB); }