Skip to content

Commit

Permalink
[doc] update dfv
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Dec 26, 2023
1 parent 8d0e781 commit 691ce36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@ vpdpbusd(xm0, xm1, xm2); // VEX encoding

### 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
- ccmpSCC(op1, op2, dfv = 0); // eflags = eflags == SCC ? cmp(op1, op2) : dfv
- ctestSCC(op1, op2, dfv = 0); // 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.
- Specify the union of T_of(=8), T_sf(=4), T_zf(=2), or T_cf(=1) for dfv.


## Label
Expand Down

0 comments on commit 691ce36

Please sign in to comment.