Compare commits

..
Author SHA1 Message Date
zachdoxsee b4f45573cf Merge the updated fences branch into task/125-movnti
Brings the branch up to main after #366 and #368, with #358, which is
merged first. No conflicts.

Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>
2026-11-24 21:05:39 +01:00
zachdoxsee 938cbd3028 Merge upstream main and the fences branch into task/125-movnti
Conflicts: CHANGELOG.md and the rejected-encodings list in
x86_integer.rs, where both sides are kept; the case list in
tests/x86/assemble.py, which now has the fences followed by MOVNTI; and
the generated x86_table.rs and tests/x86/integer.txt, rebuilt with
generate_x86.py and assemble.py from the merged sources.

Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>
2026-11-24 20:56:21 +01:00
sahib453 223a754eb7 loader: add MOVNTI, the non-temporal store of a general register (#125)
Both engines refused MOVNTI (0F C3 /r) as an illegal instruction. It is
the SSE2 move still missing next to the XMM moves already implemented.

- instructions.toml, x86_table.rs (generated): MOVNTI for 32- and
  64-bit operands with a memory destination only.
- x86_exec.rs: an ordinary store of the register, as the other
  non-temporal stores already are.
- cpu_known_answers.rs: the SDM-derived case that ends in a MOVNTI
  moves from refused to verified.
- tests/x86: four assembled instructions with the text-only reference;
  the register form and the 66 prefix join the rejected encodings.

MASKMOVDQU stays rejected and SSE2 stays unreported by CPUID.

Signed-off-by: sahib453 <117431595+sahib453@users.noreply.github.com>
2026-11-25 00:40:02 +05:30
8 changed files with 181 additions and 151 deletions

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ remains unsupported.
- Added a documented independent acceptance rule for promoting AMD RDNA2 desktop GPU (gfx1030) forms from local CPU and Metal results to `fixture verified`, including clean-commit evidence, reviewer independence, raw-log location, review-log summary, failure handling and status regeneration (#302).
- Added the VOP3A (`_e64`) encodings of eleven gfx1030 VOP2 integer forms (`v_mul_{i32_i24,hi_i32_i24,u32_u24,hi_u32_u24}`, `v_{min,max}_{i32,u32}`, `v_xnor_b32`, `v_sub_nc_u32`, `v_subrev_nc_u32`) and of the sixteen Wave32 integer compares (explicit SGPR mask destination, `s_cbranch_vccz` through `vcc_lo`, a translation error for reads of runtime-only SGPR results) as semantic-registry encoding variants, with VGPR sources only. New fixtures `vop3-integer` and `vop3-compare` with IR and MSL goldens, and an independent guide-derived oracle (`tests/validation/tests/vop3_{integer,compare}.rs`) that agrees on both reference interpreters and on native Metal. Part of #215.
- Added guest texture binding through D3D12-style descriptor tables (#303): shader-visible CBV_SRV_UAV and sampler heaps, `CreateShaderResourceView` for one-level RGBA8 and BC1 2D textures, a point/clamp `CreateSampler`, a root signature with one pixel-stage SRV table and one sampler table, and `SetDescriptorHeaps`/`SetGraphicsRootDescriptorTable` in `crates/loader/src/graphics.rs`, plus `NativeCompute::render_rgba8_sampled_bc1`. Verified locally on an Apple M5 Pro under Metal validation: a guest draw with the translated `image_sample_lz` pixel stage matches the software reference and hand-derived images on 16 of 16 pixels for two RGBA8 textures and 64 of 64 for an 8×8 BC1 texture. A wrong descriptor slot changes the image, off-centre and out-of-range coordinates point-sample with clamping, and a rejected binding, draw shape or resource state never reaches the backend. The software reference samples BC1 with the spec-exact decoder, while Apple's hardware rounds BC1's interpolated palette entries differently (171/84 against 170/85), so the BC1 fixtures use only endpoint colours. Not yet reachable from guest imports. Not yet independently accepted.
- Added MOVNTI, the SSE2 non-temporal store of a 32- or 64-bit general register to memory (part of #125). Both engines used to stop on it with an illegal-instruction exit. It is an ordinary store, as the other non-temporal stores already are; the register form and the 66 prefix stay rejected, and a destination that cannot be written faults without changing state. The SDM-derived case `movdqa_movaps_aligned_store_and_load` in `cpu_known_answers.rs`, which ends in a MOVNTI, moved from refused to verified, and `tests/x86/integer.txt` gains four assembled instructions checked by the text-only reference in `x86_integer.rs`. MASKMOVDQU stays rejected and SSE2 stays unreported by CPUID. Not compared with x86 hardware; awaiting independent review.
- Added MFENCE, LFENCE and SFENCE and documented the ordering of guest memory accesses (part of #199). Both engines used to stop on a fence with an illegal-instruction exit. Each engine runs one guest instruction at a time on one host thread and completes its loads and stores before the next, so accesses are already totally ordered and the fences change nothing; `docs/cpu/instruction-registry.md` states this and that it holds only while guest threads do not run on several host threads. Five single-thread cases in `cpu_known_answers.rs` and three assembled fixtures cover them, and the memory forms that share the opcode stay rejected. SSE2 is still not reported by CPUID because other SSE2 instructions are rejected; the refused SSE2 instruction that `cpu_features.rs` holds is now MASKMOVDQU. No multi-thread behaviour is established, and nothing was compared with x86 hardware; awaiting independent review.
- Added the accumulator short form of XCHG, opcodes 91 to 97 and 90 with REX.B, at 16, 32 and 64 bits (part of #118). Assemblers choose this form whenever one operand is the accumulator, and both engines used to stop on it with an illegal-instruction exit. A 16-bit exchange keeps the upper 48 bits of both registers, a 32-bit one clears both upper halves, and `49 90` exchanges RAX with R8 while plain `90` stays NOP. Both engines run the shared semantics; nothing is lowered to ARM64. Three SDM-derived cases already in `cpu_known_answers.rs` moved from refused to verified, and `tests/x86/integer.txt` gains 20 assembled instructions checked by the text-only reference in `x86_integer.rs`. F3 before this form, 16-bit PUSH and POP and LODSW stay rejected. Not compared with x86 hardware; awaiting independent review.
- Added RCL and RCR, the rotates through the carry flag, for 8-, 16-, 32- and 64-bit register and memory operands with a count of one, CL or an immediate (part of #121). The count is masked to five bits (six for 64-bit operands) and then reduced modulo 9 or 17 for 8- and 16-bit operands; a masked count of zero changes nothing, CF receives the last bit rotated out, and OF is set only for a count of one. Both engines run the shared semantics; nothing is lowered to ARM64. Fourteen SDM-derived cases already in `cpu_known_answers.rs` moved from refused to verified, and its shift sweep now runs both instructions at every width, count and carry against its bit-loop model. `tests/x86/integer.txt` gains 80 assembled RCL and RCR instructions, checked by the single-step reference in `x86_integer.rs`. SHLD and SHRD stay rejected. Not compared with x86 hardware; awaiting independent review.
+2
View File
@@ -373,6 +373,8 @@ pub fn execute(
Encoding::OpRegImm => write_reg(cpu, insn.reg, size, insn.imm),
_ => write_rm(cpu, memory, insn, insn.imm & mask(size))?,
},
// A non-temporal store is an ordinary store: there is no cache to bypass.
Op::Movnti => write_rm(cpu, memory, insn, read_reg(cpu, insn.reg, size))?,
Op::Movzx => {
let value = read_rm(cpu, memory, insn)?;
write_reg(cpu, insn.reg, size, value);
+158 -148
View File
@@ -78,6 +78,7 @@ pub enum Op {
Movdqa,
Movdqu,
Movntdq,
Movnti,
Movntps,
Movss,
Movsd,
@@ -214,7 +215,7 @@ pub enum Op {
}
impl Op {
pub const ALL: &[Op] = &[Op::Add, Op::Or, Op::Adc, Op::Sbb, Op::And, Op::Sub, Op::Xor, Op::Cmp, Op::Test, Op::Inc, Op::Dec, Op::Neg, Op::Not, Op::Mov, Op::Movzx, Op::Movsx, Op::Movsxd, Op::Lea, Op::Xchg, Op::Xadd, Op::Cmpxchg, Op::Bswap, Op::Cwde, Op::Cdq, Op::Rol, Op::Ror, Op::Rcl, Op::Rcr, Op::Shl, Op::Shr, Op::Sar, Op::Mul, Op::Imul, Op::Imul2, Op::Div, Op::Idiv, Op::Cmov, Op::Setcc, Op::Bt, Op::Bts, Op::Btr, Op::Btc, Op::Bsf, Op::Bsr, Op::Popcnt, Op::Tzcnt, Op::Lzcnt, Op::Push, Op::Pop, Op::Leave, Op::Call, Op::Jmp, Op::Jcc, Op::Ret, Op::Nop, Op::Hlt, Op::Syscall, Op::Clc, Op::Stc, Op::Cmc, Op::Cpuid, Op::Cld, Op::Std, Op::Movs, Op::Stos, Op::Movaps, Op::Movups, Op::Movdqa, Op::Movdqu, Op::Movntdq, Op::Movntps, Op::Movss, Op::Movsd, Op::Movq, Op::Movd, Op::Movlps, Op::Movhps, Op::Movmskps, Op::Movmskpd, Op::Pmovmskb, Op::Pand, Op::Pandn, Op::Por, Op::Pxor, Op::Punpcklbw, Op::Punpcklwd, Op::Punpckldq, Op::Packsswb, Op::Pcmpgtb, Op::Pcmpgtw, Op::Pcmpgtd, Op::Packuswb, Op::Punpckhbw, Op::Punpckhwd, Op::Punpckhdq, Op::Packssdw, Op::Punpcklqdq, Op::Punpckhqdq, Op::Pcmpeqb, Op::Pcmpeqw, Op::Pcmpeqd, Op::Paddq, Op::Pmullw, Op::Psubusb, Op::Psubusw, Op::Pminub, Op::Paddusb, Op::Paddusw, Op::Pmaxub, Op::Pavgb, Op::Pavgw, Op::Pmulhuw, Op::Pmulhw, Op::Psubsb, Op::Psubsw, Op::Pminsw, Op::Paddsb, Op::Paddsw, Op::Pmaxsw, Op::Pmuludq, Op::Pmaddwd, Op::Psadbw, Op::Psubb, Op::Psubw, Op::Psubd, Op::Psubq, Op::Paddb, Op::Paddw, Op::Paddd, Op::Psrlw, Op::Psraw, Op::Psllw, Op::Psrld, Op::Psrad, Op::Pslld, Op::Psrlq, Op::Psllq, Op::Psrldq, Op::Pslldq, Op::Pshufd, Op::Pshufhw, Op::Pshuflw, Op::Shufps, Op::Shufpd, Op::Pinsrw, Op::Pextrw, Op::Ldmxcsr, Op::Lfence, Op::Mfence, Op::Sfence, Op::Stmxcsr, Op::Sqrtps, Op::Sqrtpd, Op::Sqrtss, Op::Sqrtsd, Op::Addps, Op::Addpd, Op::Addss, Op::Addsd, Op::Mulps, Op::Mulpd, Op::Mulss, Op::Mulsd, Op::Subps, Op::Subpd, Op::Subss, Op::Subsd, Op::Minps, Op::Minpd, Op::Minss, Op::Minsd, Op::Divps, Op::Divpd, Op::Divss, Op::Divsd, Op::Maxps, Op::Maxpd, Op::Maxss, Op::Maxsd, Op::Cmpps, Op::Cmppd, Op::Cmpss, Op::Cmpsd, Op::Ucomiss, Op::Comiss, Op::Ucomisd, Op::Comisd, Op::Cvtps2pd, Op::Cvtpd2ps, Op::Cvtss2sd, Op::Cvtsd2ss, Op::Cvtdq2ps, Op::Cvtps2dq, Op::Cvttps2dq, Op::Cvttpd2dq, Op::Cvtdq2pd, Op::Cvtpd2dq, Op::Cvtsi2ss, Op::Cvttss2si, Op::Cvtss2si, Op::Cvtsi2sd, Op::Cvttsd2si, Op::Cvtsd2si];
pub const ALL: &[Op] = &[Op::Add, Op::Or, Op::Adc, Op::Sbb, Op::And, Op::Sub, Op::Xor, Op::Cmp, Op::Test, Op::Inc, Op::Dec, Op::Neg, Op::Not, Op::Mov, Op::Movzx, Op::Movsx, Op::Movsxd, Op::Lea, Op::Xchg, Op::Xadd, Op::Cmpxchg, Op::Bswap, Op::Cwde, Op::Cdq, Op::Rol, Op::Ror, Op::Rcl, Op::Rcr, Op::Shl, Op::Shr, Op::Sar, Op::Mul, Op::Imul, Op::Imul2, Op::Div, Op::Idiv, Op::Cmov, Op::Setcc, Op::Bt, Op::Bts, Op::Btr, Op::Btc, Op::Bsf, Op::Bsr, Op::Popcnt, Op::Tzcnt, Op::Lzcnt, Op::Push, Op::Pop, Op::Leave, Op::Call, Op::Jmp, Op::Jcc, Op::Ret, Op::Nop, Op::Hlt, Op::Syscall, Op::Clc, Op::Stc, Op::Cmc, Op::Cpuid, Op::Cld, Op::Std, Op::Movs, Op::Stos, Op::Movaps, Op::Movups, Op::Movdqa, Op::Movdqu, Op::Movntdq, Op::Movnti, Op::Movntps, Op::Movss, Op::Movsd, Op::Movq, Op::Movd, Op::Movlps, Op::Movhps, Op::Movmskps, Op::Movmskpd, Op::Pmovmskb, Op::Pand, Op::Pandn, Op::Por, Op::Pxor, Op::Punpcklbw, Op::Punpcklwd, Op::Punpckldq, Op::Packsswb, Op::Pcmpgtb, Op::Pcmpgtw, Op::Pcmpgtd, Op::Packuswb, Op::Punpckhbw, Op::Punpckhwd, Op::Punpckhdq, Op::Packssdw, Op::Punpcklqdq, Op::Punpckhqdq, Op::Pcmpeqb, Op::Pcmpeqw, Op::Pcmpeqd, Op::Paddq, Op::Pmullw, Op::Psubusb, Op::Psubusw, Op::Pminub, Op::Paddusb, Op::Paddusw, Op::Pmaxub, Op::Pavgb, Op::Pavgw, Op::Pmulhuw, Op::Pmulhw, Op::Psubsb, Op::Psubsw, Op::Pminsw, Op::Paddsb, Op::Paddsw, Op::Pmaxsw, Op::Pmuludq, Op::Pmaddwd, Op::Psadbw, Op::Psubb, Op::Psubw, Op::Psubd, Op::Psubq, Op::Paddb, Op::Paddw, Op::Paddd, Op::Psrlw, Op::Psraw, Op::Psllw, Op::Psrld, Op::Psrad, Op::Pslld, Op::Psrlq, Op::Psllq, Op::Psrldq, Op::Pslldq, Op::Pshufd, Op::Pshufhw, Op::Pshuflw, Op::Shufps, Op::Shufpd, Op::Pinsrw, Op::Pextrw, Op::Ldmxcsr, Op::Lfence, Op::Mfence, Op::Sfence, Op::Stmxcsr, Op::Sqrtps, Op::Sqrtpd, Op::Sqrtss, Op::Sqrtsd, Op::Addps, Op::Addpd, Op::Addss, Op::Addsd, Op::Mulps, Op::Mulpd, Op::Mulss, Op::Mulsd, Op::Subps, Op::Subpd, Op::Subss, Op::Subsd, Op::Minps, Op::Minpd, Op::Minss, Op::Minsd, Op::Divps, Op::Divpd, Op::Divss, Op::Divsd, Op::Maxps, Op::Maxpd, Op::Maxss, Op::Maxsd, Op::Cmpps, Op::Cmppd, Op::Cmpss, Op::Cmpsd, Op::Ucomiss, Op::Comiss, Op::Ucomisd, Op::Comisd, Op::Cvtps2pd, Op::Cvtpd2ps, Op::Cvtss2sd, Op::Cvtsd2ss, Op::Cvtdq2ps, Op::Cvtps2dq, Op::Cvttps2dq, Op::Cvttpd2dq, Op::Cvtdq2pd, Op::Cvtpd2dq, Op::Cvtsi2ss, Op::Cvttss2si, Op::Cvtss2si, Op::Cvtsi2sd, Op::Cvttsd2si, Op::Cvtsd2si];
/// Lower-case mnemonic stem.
pub const fn name(self) -> &'static str {
@@ -289,6 +290,7 @@ impl Op {
Op::Movdqa => "movdqa",
Op::Movdqu => "movdqu",
Op::Movntdq => "movntdq",
Op::Movnti => "movnti",
Op::Movntps => "movntps",
Op::Movss => "movss",
Op::Movsd => "movsd",
@@ -498,6 +500,7 @@ impl Op {
Op::Movdqa => 0,
Op::Movdqu => 0,
Op::Movntdq => 0,
Op::Movnti => 0,
Op::Movntps => 0,
Op::Movss => 0,
Op::Movsd => 0,
@@ -707,6 +710,7 @@ impl Op {
Op::Movdqa => 0,
Op::Movdqu => 0,
Op::Movntdq => 0,
Op::Movnti => 0,
Op::Movntps => 0,
Op::Movss => 0,
Op::Movsd => 0,
@@ -916,6 +920,7 @@ impl Op {
Op::Movdqa => 0,
Op::Movdqu => 0,
Op::Movntdq => 0,
Op::Movnti => 0,
Op::Movntps => 0,
Op::Movss => 0,
Op::Movsd => 0,
@@ -1125,6 +1130,7 @@ impl Op {
Op::Movdqa => 0,
Op::Movdqu => 0,
Op::Movntdq => 0,
Op::Movnti => 0,
Op::Movntps => 0,
Op::Movss => 0,
Op::Movsd => 0,
@@ -1334,6 +1340,7 @@ impl Op {
Op::Movdqa => false,
Op::Movdqu => false,
Op::Movntdq => false,
Op::Movnti => false,
Op::Movntps => false,
Op::Movss => false,
Op::Movsd => false,
@@ -1543,6 +1550,7 @@ impl Op {
Op::Movdqa => false,
Op::Movdqu => false,
Op::Movntdq => false,
Op::Movnti => false,
Op::Movntps => false,
Op::Movss => false,
Op::Movsd => false,
@@ -1752,6 +1760,7 @@ impl Op {
Op::Movdqa => true,
Op::Movdqu => true,
Op::Movntdq => true,
Op::Movnti => false,
Op::Movntps => true,
Op::Movss => true,
Op::Movsd => true,
@@ -1889,7 +1898,7 @@ impl Op {
}
}
pub static FORMS: [Form; 391] = [
pub static FORMS: [Form; 392] = [
Form { op: Op::Movsxd, encoding: Encoding::RegRm, size: OperandSize::Wide, immediate: Immediate::None, source: 4, has_modrm: true, memory_only: false, register_only: false, no_rex_b: false, unaligned: false, lockable: false },
Form { op: Op::Push, encoding: Encoding::OpReg, size: OperandSize::Quad, immediate: Immediate::None, source: 0, has_modrm: false, memory_only: false, register_only: false, no_rex_b: false, unaligned: false, lockable: false },
Form { op: Op::Pop, encoding: Encoding::OpReg, size: OperandSize::Quad, immediate: Immediate::None, source: 0, has_modrm: false, memory_only: false, register_only: false, no_rex_b: false, unaligned: false, lockable: false },
@@ -1983,6 +1992,7 @@ pub static FORMS: [Form; 391] = [
Form { op: Op::Movdqu, encoding: Encoding::XmmRm, size: OperandSize::Xmm, immediate: Immediate::None, source: 16, has_modrm: true, memory_only: false, register_only: false, no_rex_b: false, unaligned: true, lockable: false },
Form { op: Op::Movdqu, encoding: Encoding::RmXmm, size: OperandSize::Xmm, immediate: Immediate::None, source: 16, has_modrm: true, memory_only: false, register_only: false, no_rex_b: false, unaligned: true, lockable: false },
Form { op: Op::Movntdq, encoding: Encoding::RmXmm, size: OperandSize::Xmm, immediate: Immediate::None, source: 16, has_modrm: true, memory_only: true, register_only: false, no_rex_b: false, unaligned: false, lockable: false },
Form { op: Op::Movnti, encoding: Encoding::RmReg, size: OperandSize::Wide, immediate: Immediate::None, source: 0, has_modrm: true, memory_only: true, register_only: false, no_rex_b: false, unaligned: false, lockable: false },
Form { op: Op::Movntps, encoding: Encoding::RmXmm, size: OperandSize::Xmm, immediate: Immediate::None, source: 16, has_modrm: true, memory_only: true, register_only: false, no_rex_b: false, unaligned: false, lockable: false },
Form { op: Op::Movntps, encoding: Encoding::RmXmm, size: OperandSize::Xmm, immediate: Immediate::None, source: 16, has_modrm: true, memory_only: true, register_only: false, no_rex_b: false, unaligned: false, lockable: false },
Form { op: Op::Movss, encoding: Encoding::XmmRm, size: OperandSize::Xmm, immediate: Immediate::None, source: 4, has_modrm: true, memory_only: false, register_only: false, no_rex_b: false, unaligned: false, lockable: false },
@@ -2285,47 +2295,47 @@ pub static FORMS: [Form; 391] = [
/// Form per ModRM digit; 65535 marks an unsupported digit.
pub static GROUPS: [[u16; 8]; 22] = [
[263, 272, 281, 290, 299, 308, 317, 326],
[264, 273, 282, 291, 300, 309, 318, 327],
[265, 274, 283, 292, 301, 310, 319, 328],
[266, 275, 284, 293, 302, 311, 320, 329],
[6, 65535, 65535, 65535, 65535, 65535, 65535, 65535],
[349, 350, 351, 352, 353, 354, 65535, 355],
[356, 357, 358, 359, 360, 361, 65535, 362],
[350, 351, 352, 353, 354, 355, 65535, 356],
[357, 358, 359, 360, 361, 362, 65535, 363],
[40, 65535, 65535, 65535, 65535, 65535, 65535, 65535],
[41, 65535, 65535, 65535, 65535, 65535, 65535, 65535],
[363, 364, 365, 366, 367, 368, 65535, 369],
[370, 371, 372, 373, 374, 375, 65535, 376],
[377, 378, 379, 380, 381, 382, 65535, 383],
[384, 385, 386, 387, 388, 389, 65535, 390],
[18, 65535, 333, 334, 335, 336, 337, 338],
[19, 65535, 339, 340, 341, 342, 343, 344],
[345, 346, 65535, 65535, 65535, 65535, 65535, 65535],
[347, 348, 48, 65535, 49, 65535, 5, 65535],
[364, 365, 366, 367, 368, 369, 65535, 370],
[371, 372, 373, 374, 375, 376, 65535, 377],
[378, 379, 380, 381, 382, 383, 65535, 384],
[385, 386, 387, 388, 389, 390, 65535, 391],
[18, 65535, 334, 335, 336, 337, 338, 339],
[19, 65535, 340, 341, 342, 343, 344, 345],
[346, 347, 65535, 65535, 65535, 65535, 65535, 65535],
[348, 349, 48, 65535, 49, 65535, 5, 65535],
[35, 65535, 65535, 65535, 65535, 65535, 65535, 65535],
[65535, 65535, 200, 201, 65535, 202, 203, 204],
[65535, 65535, 65535, 65535, 329, 330, 331, 332],
[65535, 65535, 172, 65535, 174, 65535, 176, 65535],
[65535, 65535, 178, 65535, 180, 65535, 182, 65535],
[65535, 65535, 184, 187, 65535, 65535, 186, 188],
[65535, 65535, 201, 202, 65535, 203, 204, 205],
[65535, 65535, 65535, 65535, 330, 331, 332, 333],
[65535, 65535, 173, 65535, 175, 65535, 177, 65535],
[65535, 65535, 179, 65535, 181, 65535, 183, 65535],
[65535, 65535, 185, 188, 65535, 65535, 187, 189],
];
pub static ONE_BYTE: [Entry; 256] = [
Entry::Form(257), Entry::Form(258), Entry::Form(259), Entry::Form(260),
Entry::Form(261), Entry::Form(262), Entry::Unsupported, Entry::Unsupported,
Entry::Form(266), Entry::Form(267), Entry::Form(268), Entry::Form(269),
Entry::Form(270), Entry::Form(271), Entry::Unsupported, Entry::Unsupported,
Entry::Form(275), Entry::Form(276), Entry::Form(277), Entry::Form(278),
Entry::Form(279), Entry::Form(280), Entry::Unsupported, Entry::Unsupported,
Entry::Form(284), Entry::Form(285), Entry::Form(286), Entry::Form(287),
Entry::Form(288), Entry::Form(289), Entry::Unsupported, Entry::Unsupported,
Entry::Form(293), Entry::Form(294), Entry::Form(295), Entry::Form(296),
Entry::Form(297), Entry::Form(298), Entry::Unsupported, Entry::Unsupported,
Entry::Form(302), Entry::Form(303), Entry::Form(304), Entry::Form(305),
Entry::Form(306), Entry::Form(307), Entry::Unsupported, Entry::Unsupported,
Entry::Form(311), Entry::Form(312), Entry::Form(313), Entry::Form(314),
Entry::Form(315), Entry::Form(316), Entry::Unsupported, Entry::Unsupported,
Entry::Form(320), Entry::Form(321), Entry::Form(322), Entry::Form(323),
Entry::Form(324), Entry::Form(325), Entry::Unsupported, Entry::Unsupported,
Entry::Form(258), Entry::Form(259), Entry::Form(260), Entry::Form(261),
Entry::Form(262), Entry::Form(263), Entry::Unsupported, Entry::Unsupported,
Entry::Form(267), Entry::Form(268), Entry::Form(269), Entry::Form(270),
Entry::Form(271), Entry::Form(272), Entry::Unsupported, Entry::Unsupported,
Entry::Form(276), Entry::Form(277), Entry::Form(278), Entry::Form(279),
Entry::Form(280), Entry::Form(281), Entry::Unsupported, Entry::Unsupported,
Entry::Form(285), Entry::Form(286), Entry::Form(287), Entry::Form(288),
Entry::Form(289), Entry::Form(290), Entry::Unsupported, Entry::Unsupported,
Entry::Form(294), Entry::Form(295), Entry::Form(296), Entry::Form(297),
Entry::Form(298), Entry::Form(299), Entry::Unsupported, Entry::Unsupported,
Entry::Form(303), Entry::Form(304), Entry::Form(305), Entry::Form(306),
Entry::Form(307), Entry::Form(308), Entry::Unsupported, Entry::Unsupported,
Entry::Form(312), Entry::Form(313), Entry::Form(314), Entry::Form(315),
Entry::Form(316), Entry::Form(317), Entry::Unsupported, Entry::Unsupported,
Entry::Form(321), Entry::Form(322), Entry::Form(323), Entry::Form(324),
Entry::Form(325), Entry::Form(326), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
@@ -2381,14 +2391,14 @@ pub static TWO_BYTE: [Entry; 256] = [
Entry::Unsupported, Entry::Form(54), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(84), Entry::Form(85), Entry::Form(103), Entry::Form(105),
Entry::Form(194), Entry::Form(196), Entry::Form(107), Entry::Form(109),
Entry::Form(84), Entry::Form(85), Entry::Form(104), Entry::Form(106),
Entry::Form(195), Entry::Form(197), Entry::Form(108), Entry::Form(110),
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Group(16),
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(80), Entry::Form(81), Entry::Unsupported, Entry::Form(93),
Entry::Unsupported, Entry::Unsupported, Entry::Form(237), Entry::Form(238),
Entry::Form(80), Entry::Form(81), Entry::Unsupported, Entry::Form(94),
Entry::Unsupported, Entry::Unsupported, Entry::Form(238), Entry::Form(239),
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
@@ -2397,10 +2407,10 @@ pub static TWO_BYTE: [Entry; 256] = [
Entry::Form(12), Entry::Form(12), Entry::Form(12), Entry::Form(12),
Entry::Form(12), Entry::Form(12), Entry::Form(12), Entry::Form(12),
Entry::Form(12), Entry::Form(12), Entry::Form(12), Entry::Form(12),
Entry::Form(111), Entry::Form(205), Entry::Unsupported, Entry::Unsupported,
Entry::Form(115), Entry::Form(118), Entry::Form(121), Entry::Form(124),
Entry::Form(209), Entry::Form(213), Entry::Form(241), Entry::Form(245),
Entry::Form(217), Entry::Form(221), Entry::Form(225), Entry::Form(229),
Entry::Form(112), Entry::Form(206), Entry::Unsupported, Entry::Unsupported,
Entry::Form(116), Entry::Form(119), Entry::Form(122), Entry::Form(125),
Entry::Form(210), Entry::Form(214), Entry::Form(242), Entry::Form(246),
Entry::Form(218), Entry::Form(222), Entry::Form(226), Entry::Form(230),
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
@@ -2425,8 +2435,8 @@ pub static TWO_BYTE: [Entry; 256] = [
Entry::Unsupported, Entry::Unsupported, Entry::Form(62), Entry::Form(63),
Entry::Unsupported, Entry::Unsupported, Entry::Group(18), Entry::Form(75),
Entry::Form(67), Entry::Form(68), Entry::Form(64), Entry::Form(65),
Entry::Form(78), Entry::Form(79), Entry::Form(233), Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(192), Entry::Unsupported,
Entry::Form(78), Entry::Form(79), Entry::Form(234), Entry::Form(93),
Entry::Unsupported, Entry::Unsupported, Entry::Form(193), Entry::Unsupported,
Entry::Form(66), Entry::Form(66), Entry::Form(66), Entry::Form(66),
Entry::Form(66), Entry::Form(66), Entry::Form(66), Entry::Form(66),
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
@@ -2448,14 +2458,14 @@ pub static TWO_BYTE_66: [Entry; 256] = [
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(86), Entry::Form(87), Entry::Form(104), Entry::Form(106),
Entry::Form(195), Entry::Form(197), Entry::Form(108), Entry::Form(110),
Entry::Form(86), Entry::Form(87), Entry::Form(105), Entry::Form(107),
Entry::Form(196), Entry::Form(198), Entry::Form(109), Entry::Form(111),
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(82), Entry::Form(83), Entry::Unsupported, Entry::Form(94),
Entry::Unsupported, Entry::Unsupported, Entry::Form(239), Entry::Form(240),
Entry::Form(82), Entry::Form(83), Entry::Unsupported, Entry::Form(95),
Entry::Unsupported, Entry::Unsupported, Entry::Form(240), Entry::Form(241),
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
@@ -2464,18 +2474,18 @@ pub static TWO_BYTE_66: [Entry; 256] = [
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(112), Entry::Form(206), Entry::Unsupported, Entry::Unsupported,
Entry::Form(116), Entry::Form(119), Entry::Form(122), Entry::Form(125),
Entry::Form(210), Entry::Form(214), Entry::Form(242), Entry::Form(246),
Entry::Form(218), Entry::Form(222), Entry::Form(226), Entry::Form(230),
Entry::Form(126), Entry::Form(127), Entry::Form(128), Entry::Form(129),
Entry::Form(130), Entry::Form(131), Entry::Form(132), Entry::Form(133),
Entry::Form(134), Entry::Form(135), Entry::Form(136), Entry::Form(137),
Entry::Form(138), Entry::Form(139), Entry::Form(101), Entry::Form(88),
Entry::Form(189), Entry::Group(19), Entry::Group(20), Entry::Group(21),
Entry::Form(140), Entry::Form(141), Entry::Form(142), Entry::Unsupported,
Entry::Form(113), Entry::Form(207), Entry::Unsupported, Entry::Unsupported,
Entry::Form(117), Entry::Form(120), Entry::Form(123), Entry::Form(126),
Entry::Form(211), Entry::Form(215), Entry::Form(243), Entry::Form(247),
Entry::Form(219), Entry::Form(223), Entry::Form(227), Entry::Form(231),
Entry::Form(127), Entry::Form(128), Entry::Form(129), Entry::Form(130),
Entry::Form(131), Entry::Form(132), Entry::Form(133), Entry::Form(134),
Entry::Form(135), Entry::Form(136), Entry::Form(137), Entry::Form(138),
Entry::Form(139), Entry::Form(140), Entry::Form(102), Entry::Form(88),
Entry::Form(190), Entry::Group(19), Entry::Group(20), Entry::Group(21),
Entry::Form(141), Entry::Form(142), Entry::Form(143), Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(102), Entry::Form(89),
Entry::Unsupported, Entry::Unsupported, Entry::Form(103), Entry::Form(89),
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
@@ -2492,22 +2502,22 @@ pub static TWO_BYTE_66: [Entry; 256] = [
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(234), Entry::Unsupported,
Entry::Form(198), Entry::Form(199), Entry::Form(193), Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(235), Entry::Unsupported,
Entry::Form(199), Entry::Form(200), Entry::Form(194), Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Form(171), Entry::Form(177), Entry::Form(183),
Entry::Form(143), Entry::Form(144), Entry::Form(100), Entry::Form(113),
Entry::Form(145), Entry::Form(146), Entry::Form(147), Entry::Form(114),
Entry::Form(148), Entry::Form(149), Entry::Form(150), Entry::Form(117),
Entry::Form(151), Entry::Form(173), Entry::Form(179), Entry::Form(152),
Entry::Form(153), Entry::Form(154), Entry::Form(248), Entry::Form(92),
Entry::Form(155), Entry::Form(156), Entry::Form(157), Entry::Form(120),
Entry::Form(158), Entry::Form(159), Entry::Form(160), Entry::Form(123),
Entry::Unsupported, Entry::Form(175), Entry::Form(181), Entry::Form(185),
Entry::Form(161), Entry::Form(162), Entry::Form(163), Entry::Unsupported,
Entry::Form(164), Entry::Form(165), Entry::Form(166), Entry::Form(167),
Entry::Form(168), Entry::Form(169), Entry::Form(170), Entry::Unsupported,
Entry::Unsupported, Entry::Form(172), Entry::Form(178), Entry::Form(184),
Entry::Form(144), Entry::Form(145), Entry::Form(101), Entry::Form(114),
Entry::Form(146), Entry::Form(147), Entry::Form(148), Entry::Form(115),
Entry::Form(149), Entry::Form(150), Entry::Form(151), Entry::Form(118),
Entry::Form(152), Entry::Form(174), Entry::Form(180), Entry::Form(153),
Entry::Form(154), Entry::Form(155), Entry::Form(249), Entry::Form(92),
Entry::Form(156), Entry::Form(157), Entry::Form(158), Entry::Form(121),
Entry::Form(159), Entry::Form(160), Entry::Form(161), Entry::Form(124),
Entry::Unsupported, Entry::Form(176), Entry::Form(182), Entry::Form(186),
Entry::Form(162), Entry::Form(163), Entry::Form(164), Entry::Unsupported,
Entry::Form(165), Entry::Form(166), Entry::Form(167), Entry::Form(168),
Entry::Form(169), Entry::Form(170), Entry::Form(171), Entry::Unsupported,
];
pub static TWO_BYTE_F3: [Entry; 256] = [
@@ -2515,14 +2525,14 @@ pub static TWO_BYTE_F3: [Entry; 256] = [
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(95), Entry::Form(96), Entry::Unsupported, Entry::Unsupported,
Entry::Form(96), Entry::Form(97), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(251), Entry::Unsupported,
Entry::Form(252), Entry::Form(253), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(252), Entry::Unsupported,
Entry::Form(253), Entry::Form(254), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
@@ -2531,18 +2541,18 @@ pub static TWO_BYTE_F3: [Entry; 256] = [
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Form(207), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Form(208), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(211), Entry::Form(215), Entry::Form(243), Entry::Form(247),
Entry::Form(219), Entry::Form(223), Entry::Form(227), Entry::Form(231),
Entry::Form(212), Entry::Form(216), Entry::Form(244), Entry::Form(248),
Entry::Form(220), Entry::Form(224), Entry::Form(228), Entry::Form(232),
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Form(90),
Entry::Form(190), Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(191), Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(99), Entry::Form(91),
Entry::Unsupported, Entry::Unsupported, Entry::Form(100), Entry::Form(91),
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
@@ -2559,73 +2569,6 @@ pub static TWO_BYTE_F3: [Entry; 256] = [
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(69), Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(70), Entry::Form(71), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(235), Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(249), Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
];
pub static TWO_BYTE_F2: [Entry; 256] = [
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(97), Entry::Form(98), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(254), Entry::Unsupported,
Entry::Form(255), Entry::Form(256), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Form(208), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(212), Entry::Form(216), Entry::Form(244), Entry::Unsupported,
Entry::Form(220), Entry::Form(224), Entry::Form(228), Entry::Form(232),
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(191), Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(236), Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
@@ -2643,3 +2586,70 @@ pub static TWO_BYTE_F2: [Entry; 256] = [
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
];
pub static TWO_BYTE_F2: [Entry; 256] = [
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(98), Entry::Form(99), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(255), Entry::Unsupported,
Entry::Form(256), Entry::Form(257), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Form(209), Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(213), Entry::Form(217), Entry::Form(245), Entry::Unsupported,
Entry::Form(221), Entry::Form(225), Entry::Form(229), Entry::Form(233),
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Form(192), Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(237), Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Form(251), Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
];
-1
View File
@@ -2738,7 +2738,6 @@ const UNSUPPORTED: &[(&str, usize)] = &[
("mov_moffs64_load", 0),
("mov_moffs8_store", 0),
("movddup_movsldup_movshdup", 0),
("movdqa_movaps_aligned_store_and_load", 3),
("mpsadbw", 0),
("pabs_min_is_unchanged", 0),
("packusdw", 0),
+3 -1
View File
@@ -96,7 +96,9 @@ def cases():
out += ["mov ah, bl", "mov dl, ch", "mov bh, 0x21", "xchg ah, bl", "mov sil, dil",
"movabs r15, 0x8877665544332211", "mov rcx, -2", "bswap ebx", "bswap r9",
"cbw", "cwde", "cdqe", "cwd", "cdq", "cqo", "clc", "stc", "cmc", "nop", "cpuid",
"nop dword ptr [rax + 8]", "pause", "lfence", "mfence", "sfence", "push r9", "push rbx", "push -5", "push 0x12345678",
"nop dword ptr [rax + 8]", "pause", "lfence", "mfence", "sfence",
f"movnti {mem(32)}, ebx", f"movnti {mem(64)}, rbx",
f"movnti {mem(32)}, r9d", f"movnti {mem(64)}, r14", "push r9", "push rbx", "push -5", "push 0x12345678",
f"push {mem(64)}", "pop rbx", "pop r12", f"pop {mem(64)}", "leave"]
# The accumulator short form of XCHG: 91..97, and 90 with REX.B.
for index in range(1, 16):
+4
View File
@@ -1120,6 +1120,10 @@ f3 90 | pause
0f ae e8 | lfence
0f ae f0 | mfence
0f ae f8 | sfence
0f c3 5c be 10 | movnti dword ptr [rsi + 4*rdi + 16], ebx
48 0f c3 5c be 10 | movnti qword ptr [rsi + 4*rdi + 16], rbx
44 0f c3 4c be 10 | movnti dword ptr [rsi + 4*rdi + 16], r9d
4c 0f c3 74 be 10 | movnti qword ptr [rsi + 4*rdi + 16], r14
41 51 | push r9
53 | push rbx
6a fb | push -5
+4 -1
View File
@@ -637,7 +637,8 @@ fn reference(m: &mut Machine, text: &str) -> Outcome {
..none
})
}
"mov" | "movabs" => {
// MOVNTI stores like MOV; the non-temporal hint changes no result.
"mov" | "movabs" | "movnti" => {
let value = read(m, places[1], bits);
write(m, places[0], value);
Outcome::Done(none)
@@ -1237,6 +1238,8 @@ fn undeclared_and_ambiguous_encodings_are_rejected() {
&[0x8D, 0xC0], // lea with a register operand
&[0x0F, 0xAE, 0x2E], // 0F AE /5 with a memory operand
&[0x0F, 0xAE, 0x36], // 0F AE /6 with a memory operand
&[0x0F, 0xC3, 0xC1], // movnti with a register destination
&[0x66, 0x0F, 0xC3, 0x06], // 66 with movnti
&[0x0F, 0xA3, 0x06], // bt [rsi], eax
&[0xC6, 0xC8, 0x01], // C6 /1
&[0xFF, 0xF8], // FF /7
+9
View File
@@ -108,6 +108,7 @@ movups = { ref = "sdm MOVUPS" }
movdqa = { ref = "sdm MOVDQA" }
movdqu = { ref = "sdm MOVDQU" }
movntdq = { ref = "sdm MOVNTDQ" }
movnti = { ref = "sdm MOVNTI" }
movntps = { ref = "sdm MOVNTPS/MOVNTPD" }
movss = { ref = "sdm MOVSS" }
movsd = { ref = "sdm MOVSD (scalar double)" }
@@ -953,6 +954,14 @@ size = "x"
src = "x"
memory_only = true
[[form]]
op = "movnti"
map = "0f"
opcode = 0xC3
enc = "rm_reg"
size = "y"
memory_only = true
[[form]]
op = "movntps"
map = "0f"