diff options
author | MITSUNARI Shigeo <[email protected]> | 2023-12-26 12:33:39 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2023-12-26 12:33:39 +0900 |
commit | 2255aea0d3403509daec287206a3550ace6f8e98 (patch) | |
tree | 85c75d1e827a84a06717a9472db2cd052a859e27 /doc | |
parent | b5e115284a90d688190f87ba163617da7dd58517 (diff) | |
download | xbyak-2255aea0d3403509daec287206a3550ace6f8e98.tar.gz xbyak-2255aea0d3403509daec287206a3550ace6f8e98.zip |
[doc] add ccmpSCC and ctestSCC
Diffstat (limited to 'doc')
-rw-r--r-- | doc/usage.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/usage.md b/doc/usage.md index e0ecccc..1c9089b 100644 --- a/doc/usage.md +++ b/doc/usage.md @@ -145,6 +145,16 @@ vpdpbusd(xm0, xm1, xm2); // VEX encoding - `imul(ax|T_zu, cx, 0x1234);` // Set ND=ZU - `imul(ax|T_zu|T_nf, cx, 0x1234);` // Set ND=ZU and EVEX.NF=1 - `setb(r31b|T_zu);` // same as set(r31b); movzx(r31, r31b); + - See [sample/zero_upper.cpp](../sample/zero_upper.cpp) + +### ccmpSCC and ctestSCC + +- ccmpSCC(op1, op2, dfv); // eflags = eflags == SCC ? cmp(op1, op2) : dfv +- ctestSCC(op1, op2, dfv); // eflags = eflags == SCC ? test(op1, op2) : dfv +- SCC means source condition code such as z, a, gt. +- See [sample/ccmp.cpp](../sample/ccmp.cpp) +- Specify the union of T_of, T_sf, T_zf, or T_cf for dfv. + ## Label Two kinds of Label are supported. (String literal and Label class). |