diff options
author | MITSUNARI Shigeo <[email protected]> | 2023-11-21 16:56:44 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2023-11-21 16:56:44 +0900 |
commit | 3f3d6095c742e4e60e99d96babd260b56b21d4d4 (patch) | |
tree | 525b8f74e014abf99b539b9173b772250bdc36e5 /gen | |
parent | ee572b7eb2ff91c8c8d122dc8efc168c28188dc9 (diff) | |
download | xbyak-3f3d6095c742e4e60e99d96babd260b56b21d4d4.tar.gz xbyak-3f3d6095c742e4e60e99d96babd260b56b21d4d4.zip |
disable rol/ror to support NF
Diffstat (limited to 'gen')
-rw-r--r-- | gen/gen_code.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gen/gen_code.cpp b/gen/gen_code.cpp index bb1ce20..a0ed29b 100644 --- a/gen/gen_code.cpp +++ b/gen/gen_code.cpp @@ -898,17 +898,17 @@ void put() { const struct Tbl { const char *name; - uint8_t ext; + uint8_t ext; // |8 means supporting NF=1 } tbl[] = { - { "rcl", 2 }, - { "rcr", 3 }, - { "rol", 0 }, - { "ror", 1 }, - { "sar", 7 }, - { "shl", 4 }, - { "shr", 5 }, - - { "sal", 4 }, + { "rcl", 2|0 }, + { "rcr", 3|0 }, + { "rol", 0|8 }, + { "ror", 1|8 }, + { "sar", 7|8 }, + { "shl", 4|8 }, + { "shr", 5|8 }, + + { "sal", 4|8 }, }; for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) { const Tbl *p = &tbl[i]; |