diff options
author | MITSUNARI Shigeo <[email protected]> | 2018-09-04 10:29:50 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2018-09-04 11:48:52 +0900 |
commit | 613922bda3b1b789fc0c28ed060b3bf9fab4ffb2 (patch) | |
tree | ad2c4e5b7cac3520e2e81cf129d84c8805fab6ff /readme.md | |
parent | 43e155836224bfe05ccd252654b339d4096ec4bc (diff) | |
download | xbyak-613922bda3b1b789fc0c28ed060b3bf9fab4ffb2.tar.gz xbyak-613922bda3b1b789fc0c28ed060b3bf9fab4ffb2.zip |
add Label L() for convenience
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,5 +1,5 @@ -# Xbyak 5.70 ; JIT assembler for x86(IA32), x64(AMD64, x86-64) by C++ +# Xbyak 5.71 ; JIT assembler for x86(IA32), x64(AMD64, x86-64) by C++ ## Abstract @@ -246,13 +246,14 @@ L(L1); `assignL(dstLabel, srcLabel)` binds dstLabel with srcLabel. ``` - Xbyak::Label label1, label2; -L(label1); + Label label2; + Label label1 = L(); // make label1 ; same to Label label1; L(label1); ... - jmp(label2); // jump to label1 by assignL + jmp(label2); // label2 is not determined here ... assignL(label2, label1); // label2 <- label1 ``` +The `jmp` in the above code jumps to label1 assigned by `assignL`. **Note**: * srcLabel must be used in `L()`. @@ -391,6 +392,7 @@ modified new BSD License http://opensource.org/licenses/BSD-3-Clause ## History +* 2018/Sep/04 ver 5.71 L() returns a new label instance * 2018/Aug/27 ver 5.70 support setProtectMode() and DontUseProtect for read/exec setting * 2018/Aug/24 ver 5.68 fix wrong VSIB encoding with vector index >= 16(thanks to petercaday) * 2018/Aug/14 ver 5.67 remove mutable in Address ; fix setCacheHierarchy for cloud vm |