aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2023-11-17 17:19:33 +0900
committerMITSUNARI Shigeo <[email protected]>2023-11-17 17:19:36 +0900
commit1d3a19a50a065439fd7f34d79fffb87bbd00f96a (patch)
tree59fc4550bba6528e9383d5274f20a6c300f73010 /doc
parent273d8d5b6bc3df51df6137b803bdb15e67289fe0 (diff)
downloadxbyak-1d3a19a50a065439fd7f34d79fffb87bbd00f96a.tar.gz
xbyak-1d3a19a50a065439fd7f34d79fffb87bbd00f96a.zip
update doc of apx
Diffstat (limited to 'doc')
-rw-r--r--doc/usage.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/usage.md b/doc/usage.md
index cfaafc0..2b5e211 100644
--- a/doc/usage.md
+++ b/doc/usage.md
@@ -131,12 +131,15 @@ vpdpbusd(xm0, xm1, xm2); // VEX encoding
## APX
- Support 16 additional GPRs (general-purpose registers) r16, ..., r31
- Support three-operand instruction
-- Support NF (status flags update suppression)
+- Support T_nf for NF=1 (status flags update suppression)
+- Support T_zu for NF=ZU (zero upper)
e.g.
-- `add(r20, r21, r23)`;
+- `add(r20, r21, r23);`
- `add(r20, ptr[rax + rcx * 8 + 0x1234], r23);`
-- `add(r20|T_nf, r21, r23)`; // set EVEX.NF = 1
+- `add(r20|T_nf, r21, r23);` // set EVEX.NF=1
+- `imul(ax|T_zu, cx, 0x1234);` // set ND=ZU
+- `imul(ax|T_zu|T_nf, cx, 0x1234);` // set ND=ZU and EVEX.NF=1
## Label
Two kinds of Label are supported. (String literal and Label class).