mirror of
https://github.com/herumi/xbyak
synced 2024-11-20 16:06:14 -07:00
[doc] add ccmpSCC and ctestSCC
This commit is contained in:
parent
b5e115284a
commit
2255aea0d3
1 changed files with 10 additions and 0 deletions
10
doc/usage.md
10
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).
|
||||
|
|
Loading…
Reference in a new issue