mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 03:39:52 +00:00
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>
This commit is contained in:
1 parent
0fdb995892
commit
223a754eb7
8 files changed
+180
-151
No files matched your search
@@ -19,6 +19,7 @@ remains unsupported.
|
||||
### Added
|
||||
- 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 four Wave32 gfx1030 VOP2 select and carry forms through the semantic registry. Conditional select, add with carry and both subtract orders with borrow use a per-lane VCC bit and have a guide-derived oracle that passes on both CPU interpreters and on native Metal (local Apple M5, API and shader validation); independent acceptance is pending. Part of #215.
|
||||
- Added decoding and Metal shader translation for twelve Wave32 VOPC 16-bit integer compares (#215). The signed and unsigned forms compare the low 16 bits of each source and write the Wave32 VCC mask. CPU verification covers 1,572 compiler acceptance cases and 408 rejections from the guide-derived oracle, which also passes on native Metal (1,572 cases in 1,420 programs on a local Apple M5 under API and shader validation); acceptance is pending.
|
||||
- Added MOVS and STOS for 8- to 64-bit elements, with and without REP, and the direction flag with CLD and STD (#129). A REP form runs one element per step and stays on the instruction until RCX is zero, so every element counts against the step budget, a repeat can stop part-way and resume, a zero count touches nothing, and a fault keeps the elements already done with RSI, RDI and RCX at the one that faulted. An FS or GS override applies to the MOVS source only. Both engines run these on the shared semantics with no bulk-copy path, so large copies are slow. LODS, CMPS, SCAS, REPE, REPNE and the address-size override stay rejected. Fourteen SDM-derived cases already in `cpu_known_answers.rs` moved from refused to verified, and `tests/cpu_rep.rs` adds a byte-array model over every form, direction and count; not compared with x86 hardware and awaiting independent review.
|
||||
|
||||
@@ -354,6 +354,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
@@ -76,6 +76,7 @@ pub enum Op {
|
||||
Movdqa,
|
||||
Movdqu,
|
||||
Movntdq,
|
||||
Movnti,
|
||||
Movntps,
|
||||
Movss,
|
||||
Movsd,
|
||||
@@ -209,7 +210,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::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::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::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::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 {
|
||||
@@ -282,6 +283,7 @@ impl Op {
|
||||
Op::Movdqa => "movdqa",
|
||||
Op::Movdqu => "movdqu",
|
||||
Op::Movntdq => "movntdq",
|
||||
Op::Movnti => "movnti",
|
||||
Op::Movntps => "movntps",
|
||||
Op::Movss => "movss",
|
||||
Op::Movsd => "movsd",
|
||||
@@ -486,6 +488,7 @@ impl Op {
|
||||
Op::Movdqa => 0,
|
||||
Op::Movdqu => 0,
|
||||
Op::Movntdq => 0,
|
||||
Op::Movnti => 0,
|
||||
Op::Movntps => 0,
|
||||
Op::Movss => 0,
|
||||
Op::Movsd => 0,
|
||||
@@ -690,6 +693,7 @@ impl Op {
|
||||
Op::Movdqa => 0,
|
||||
Op::Movdqu => 0,
|
||||
Op::Movntdq => 0,
|
||||
Op::Movnti => 0,
|
||||
Op::Movntps => 0,
|
||||
Op::Movss => 0,
|
||||
Op::Movsd => 0,
|
||||
@@ -894,6 +898,7 @@ impl Op {
|
||||
Op::Movdqa => 0,
|
||||
Op::Movdqu => 0,
|
||||
Op::Movntdq => 0,
|
||||
Op::Movnti => 0,
|
||||
Op::Movntps => 0,
|
||||
Op::Movss => 0,
|
||||
Op::Movsd => 0,
|
||||
@@ -1098,6 +1103,7 @@ impl Op {
|
||||
Op::Movdqa => 0,
|
||||
Op::Movdqu => 0,
|
||||
Op::Movntdq => 0,
|
||||
Op::Movnti => 0,
|
||||
Op::Movntps => 0,
|
||||
Op::Movss => 0,
|
||||
Op::Movsd => 0,
|
||||
@@ -1302,6 +1308,7 @@ impl Op {
|
||||
Op::Movdqa => false,
|
||||
Op::Movdqu => false,
|
||||
Op::Movntdq => false,
|
||||
Op::Movnti => false,
|
||||
Op::Movntps => false,
|
||||
Op::Movss => false,
|
||||
Op::Movsd => false,
|
||||
@@ -1506,6 +1513,7 @@ impl Op {
|
||||
Op::Movdqa => false,
|
||||
Op::Movdqu => false,
|
||||
Op::Movntdq => false,
|
||||
Op::Movnti => false,
|
||||
Op::Movntps => false,
|
||||
Op::Movss => false,
|
||||
Op::Movsd => false,
|
||||
@@ -1710,6 +1718,7 @@ impl Op {
|
||||
Op::Movdqa => true,
|
||||
Op::Movdqu => true,
|
||||
Op::Movntdq => true,
|
||||
Op::Movnti => false,
|
||||
Op::Movntps => true,
|
||||
Op::Movss => true,
|
||||
Op::Movsd => true,
|
||||
@@ -1844,7 +1853,7 @@ impl Op {
|
||||
}
|
||||
}
|
||||
|
||||
pub static FORMS: [Form; 369] = [
|
||||
pub static FORMS: [Form; 370] = [
|
||||
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 },
|
||||
@@ -1931,6 +1940,7 @@ pub static FORMS: [Form; 369] = [
|
||||
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 },
|
||||
@@ -2218,47 +2228,47 @@ pub static FORMS: [Form; 369] = [
|
||||
|
||||
/// Form per ModRM digit; 65535 marks an unsupported digit.
|
||||
pub static GROUPS: [[u16; 8]; 22] = [
|
||||
[253, 262, 271, 280, 289, 298, 307, 316],
|
||||
[254, 263, 272, 281, 290, 299, 308, 317],
|
||||
[255, 264, 273, 282, 291, 300, 309, 318],
|
||||
[256, 265, 274, 283, 292, 301, 310, 319],
|
||||
[6, 65535, 65535, 65535, 65535, 65535, 65535, 65535],
|
||||
[339, 340, 65535, 65535, 341, 342, 65535, 343],
|
||||
[344, 345, 65535, 65535, 346, 347, 65535, 348],
|
||||
[340, 341, 65535, 65535, 342, 343, 65535, 344],
|
||||
[345, 346, 65535, 65535, 347, 348, 65535, 349],
|
||||
[33, 65535, 65535, 65535, 65535, 65535, 65535, 65535],
|
||||
[34, 65535, 65535, 65535, 65535, 65535, 65535, 65535],
|
||||
[349, 350, 65535, 65535, 351, 352, 65535, 353],
|
||||
[354, 355, 65535, 65535, 356, 357, 65535, 358],
|
||||
[359, 360, 65535, 65535, 361, 362, 65535, 363],
|
||||
[364, 365, 65535, 65535, 366, 367, 65535, 368],
|
||||
[18, 65535, 323, 324, 325, 326, 327, 328],
|
||||
[19, 65535, 329, 330, 331, 332, 333, 334],
|
||||
[335, 336, 65535, 65535, 65535, 65535, 65535, 65535],
|
||||
[337, 338, 41, 65535, 42, 65535, 5, 65535],
|
||||
[350, 351, 65535, 65535, 352, 353, 65535, 354],
|
||||
[355, 356, 65535, 65535, 357, 358, 65535, 359],
|
||||
[360, 361, 65535, 65535, 362, 363, 65535, 364],
|
||||
[365, 366, 65535, 65535, 367, 368, 65535, 369],
|
||||
[18, 65535, 324, 325, 326, 327, 328, 329],
|
||||
[19, 65535, 330, 331, 332, 333, 334, 335],
|
||||
[336, 337, 65535, 65535, 65535, 65535, 65535, 65535],
|
||||
[338, 339, 41, 65535, 42, 65535, 5, 65535],
|
||||
[28, 65535, 65535, 65535, 65535, 65535, 65535, 65535],
|
||||
[65535, 65535, 193, 194, 65535, 65535, 65535, 65535],
|
||||
[65535, 65535, 65535, 65535, 319, 320, 321, 322],
|
||||
[65535, 65535, 165, 65535, 167, 65535, 169, 65535],
|
||||
[65535, 65535, 171, 65535, 173, 65535, 175, 65535],
|
||||
[65535, 65535, 177, 180, 65535, 65535, 179, 181],
|
||||
[65535, 65535, 194, 195, 65535, 65535, 65535, 65535],
|
||||
[65535, 65535, 65535, 65535, 320, 321, 322, 323],
|
||||
[65535, 65535, 166, 65535, 168, 65535, 170, 65535],
|
||||
[65535, 65535, 172, 65535, 174, 65535, 176, 65535],
|
||||
[65535, 65535, 178, 181, 65535, 65535, 180, 182],
|
||||
];
|
||||
|
||||
pub static ONE_BYTE: [Entry; 256] = [
|
||||
Entry::Form(247), Entry::Form(248), Entry::Form(249), Entry::Form(250),
|
||||
Entry::Form(251), Entry::Form(252), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(256), Entry::Form(257), Entry::Form(258), Entry::Form(259),
|
||||
Entry::Form(260), Entry::Form(261), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(265), Entry::Form(266), Entry::Form(267), Entry::Form(268),
|
||||
Entry::Form(269), Entry::Form(270), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(274), Entry::Form(275), Entry::Form(276), Entry::Form(277),
|
||||
Entry::Form(278), Entry::Form(279), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(283), Entry::Form(284), Entry::Form(285), Entry::Form(286),
|
||||
Entry::Form(287), Entry::Form(288), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(292), Entry::Form(293), Entry::Form(294), Entry::Form(295),
|
||||
Entry::Form(296), Entry::Form(297), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(301), Entry::Form(302), Entry::Form(303), Entry::Form(304),
|
||||
Entry::Form(305), Entry::Form(306), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(310), Entry::Form(311), Entry::Form(312), Entry::Form(313),
|
||||
Entry::Form(314), Entry::Form(315), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(248), Entry::Form(249), Entry::Form(250), Entry::Form(251),
|
||||
Entry::Form(252), Entry::Form(253), Entry::Unsupported, Entry::Unsupported,
|
||||
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::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
@@ -2314,14 +2324,14 @@ pub static TWO_BYTE: [Entry; 256] = [
|
||||
Entry::Unsupported, Entry::Form(47), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(77), Entry::Form(78), Entry::Form(96), Entry::Form(98),
|
||||
Entry::Form(187), Entry::Form(189), Entry::Form(100), Entry::Form(102),
|
||||
Entry::Form(77), Entry::Form(78), Entry::Form(97), Entry::Form(99),
|
||||
Entry::Form(188), Entry::Form(190), Entry::Form(101), Entry::Form(103),
|
||||
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(73), Entry::Form(74), Entry::Unsupported, Entry::Form(86),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(227), Entry::Form(228),
|
||||
Entry::Form(73), Entry::Form(74), Entry::Unsupported, Entry::Form(87),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(228), Entry::Form(229),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
@@ -2330,10 +2340,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(104), Entry::Form(195), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(108), Entry::Form(111), Entry::Form(114), Entry::Form(117),
|
||||
Entry::Form(199), Entry::Form(203), Entry::Form(231), Entry::Form(235),
|
||||
Entry::Form(207), Entry::Form(211), Entry::Form(215), Entry::Form(219),
|
||||
Entry::Form(105), Entry::Form(196), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(109), Entry::Form(112), Entry::Form(115), Entry::Form(118),
|
||||
Entry::Form(200), Entry::Form(204), Entry::Form(232), Entry::Form(236),
|
||||
Entry::Form(208), Entry::Form(212), Entry::Form(216), Entry::Form(220),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
@@ -2358,8 +2368,8 @@ pub static TWO_BYTE: [Entry; 256] = [
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(55), Entry::Form(56),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Group(18), Entry::Form(68),
|
||||
Entry::Form(60), Entry::Form(61), Entry::Form(57), Entry::Form(58),
|
||||
Entry::Form(71), Entry::Form(72), Entry::Form(223), Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(185), Entry::Unsupported,
|
||||
Entry::Form(71), Entry::Form(72), Entry::Form(224), Entry::Form(86),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(186), Entry::Unsupported,
|
||||
Entry::Form(59), Entry::Form(59), Entry::Form(59), Entry::Form(59),
|
||||
Entry::Form(59), Entry::Form(59), Entry::Form(59), Entry::Form(59),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
@@ -2381,14 +2391,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(79), Entry::Form(80), Entry::Form(97), Entry::Form(99),
|
||||
Entry::Form(188), Entry::Form(190), Entry::Form(101), Entry::Form(103),
|
||||
Entry::Form(79), Entry::Form(80), Entry::Form(98), Entry::Form(100),
|
||||
Entry::Form(189), Entry::Form(191), Entry::Form(102), Entry::Form(104),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::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(75), Entry::Form(76), Entry::Unsupported, Entry::Form(87),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(229), Entry::Form(230),
|
||||
Entry::Form(75), Entry::Form(76), Entry::Unsupported, Entry::Form(88),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(230), Entry::Form(231),
|
||||
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,18 +2407,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(105), Entry::Form(196), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(109), Entry::Form(112), Entry::Form(115), Entry::Form(118),
|
||||
Entry::Form(200), Entry::Form(204), Entry::Form(232), Entry::Form(236),
|
||||
Entry::Form(208), Entry::Form(212), Entry::Form(216), Entry::Form(220),
|
||||
Entry::Form(119), Entry::Form(120), Entry::Form(121), Entry::Form(122),
|
||||
Entry::Form(123), Entry::Form(124), Entry::Form(125), Entry::Form(126),
|
||||
Entry::Form(127), Entry::Form(128), Entry::Form(129), Entry::Form(130),
|
||||
Entry::Form(131), Entry::Form(132), Entry::Form(94), Entry::Form(81),
|
||||
Entry::Form(182), Entry::Group(19), Entry::Group(20), Entry::Group(21),
|
||||
Entry::Form(133), Entry::Form(134), Entry::Form(135), Entry::Unsupported,
|
||||
Entry::Form(106), Entry::Form(197), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(110), Entry::Form(113), Entry::Form(116), Entry::Form(119),
|
||||
Entry::Form(201), Entry::Form(205), Entry::Form(233), Entry::Form(237),
|
||||
Entry::Form(209), Entry::Form(213), Entry::Form(217), Entry::Form(221),
|
||||
Entry::Form(120), Entry::Form(121), Entry::Form(122), Entry::Form(123),
|
||||
Entry::Form(124), Entry::Form(125), 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(95), Entry::Form(81),
|
||||
Entry::Form(183), Entry::Group(19), Entry::Group(20), Entry::Group(21),
|
||||
Entry::Form(134), Entry::Form(135), Entry::Form(136), Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(95), Entry::Form(82),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(96), Entry::Form(82),
|
||||
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,22 +2435,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(224), Entry::Unsupported,
|
||||
Entry::Form(191), Entry::Form(192), Entry::Form(186), Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(225), Entry::Unsupported,
|
||||
Entry::Form(192), Entry::Form(193), Entry::Form(187), Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Form(164), Entry::Form(170), Entry::Form(176),
|
||||
Entry::Form(136), Entry::Form(137), Entry::Form(93), Entry::Form(106),
|
||||
Entry::Form(138), Entry::Form(139), Entry::Form(140), Entry::Form(107),
|
||||
Entry::Form(141), Entry::Form(142), Entry::Form(143), Entry::Form(110),
|
||||
Entry::Form(144), Entry::Form(166), Entry::Form(172), Entry::Form(145),
|
||||
Entry::Form(146), Entry::Form(147), Entry::Form(238), Entry::Form(85),
|
||||
Entry::Form(148), Entry::Form(149), Entry::Form(150), Entry::Form(113),
|
||||
Entry::Form(151), Entry::Form(152), Entry::Form(153), Entry::Form(116),
|
||||
Entry::Unsupported, Entry::Form(168), Entry::Form(174), Entry::Form(178),
|
||||
Entry::Form(154), Entry::Form(155), Entry::Form(156), Entry::Unsupported,
|
||||
Entry::Form(157), Entry::Form(158), Entry::Form(159), Entry::Form(160),
|
||||
Entry::Form(161), Entry::Form(162), Entry::Form(163), Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Form(165), Entry::Form(171), Entry::Form(177),
|
||||
Entry::Form(137), Entry::Form(138), Entry::Form(94), Entry::Form(107),
|
||||
Entry::Form(139), Entry::Form(140), Entry::Form(141), Entry::Form(108),
|
||||
Entry::Form(142), Entry::Form(143), Entry::Form(144), Entry::Form(111),
|
||||
Entry::Form(145), Entry::Form(167), Entry::Form(173), Entry::Form(146),
|
||||
Entry::Form(147), Entry::Form(148), Entry::Form(239), Entry::Form(85),
|
||||
Entry::Form(149), Entry::Form(150), Entry::Form(151), Entry::Form(114),
|
||||
Entry::Form(152), Entry::Form(153), Entry::Form(154), Entry::Form(117),
|
||||
Entry::Unsupported, Entry::Form(169), Entry::Form(175), Entry::Form(179),
|
||||
Entry::Form(155), Entry::Form(156), Entry::Form(157), Entry::Unsupported,
|
||||
Entry::Form(158), Entry::Form(159), Entry::Form(160), Entry::Form(161),
|
||||
Entry::Form(162), Entry::Form(163), Entry::Form(164), Entry::Unsupported,
|
||||
];
|
||||
|
||||
pub static TWO_BYTE_F3: [Entry; 256] = [
|
||||
@@ -2448,14 +2458,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(88), Entry::Form(89), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(89), Entry::Form(90), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::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(241), Entry::Unsupported,
|
||||
Entry::Form(242), Entry::Form(243), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(242), Entry::Unsupported,
|
||||
Entry::Form(243), Entry::Form(244), Entry::Unsupported, Entry::Unsupported,
|
||||
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_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(197), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Form(198), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(201), Entry::Form(205), Entry::Form(233), Entry::Form(237),
|
||||
Entry::Form(209), Entry::Form(213), Entry::Form(217), Entry::Form(221),
|
||||
Entry::Form(202), Entry::Form(206), Entry::Form(234), Entry::Form(238),
|
||||
Entry::Form(210), Entry::Form(214), Entry::Form(218), Entry::Form(222),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::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(83),
|
||||
Entry::Form(183), Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(184), Entry::Unsupported, Entry::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(92), Entry::Form(84),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(93), Entry::Form(84),
|
||||
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,73 +2502,6 @@ pub static TWO_BYTE_F3: [Entry; 256] = [
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(62), Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(63), Entry::Form(64), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Form(225), Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::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(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, Entry::Unsupported,
|
||||
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(90), 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, Entry::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(244), Entry::Unsupported,
|
||||
Entry::Form(245), Entry::Form(246), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::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(198), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(202), Entry::Form(206), Entry::Form(234), Entry::Unsupported,
|
||||
Entry::Form(210), Entry::Form(214), Entry::Form(218), Entry::Form(222),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::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(184), Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::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(226), Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
@@ -2576,3 +2519,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(91), Entry::Form(92), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::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(245), Entry::Unsupported,
|
||||
Entry::Form(246), Entry::Form(247), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::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(199), Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Form(203), Entry::Form(207), Entry::Form(235), Entry::Unsupported,
|
||||
Entry::Form(211), Entry::Form(215), Entry::Form(219), Entry::Form(223),
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::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(185), Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::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(227), Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::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(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, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
Entry::Unsupported, Entry::Unsupported, Entry::Unsupported, Entry::Unsupported,
|
||||
];
|
||||
@@ -2698,7 +2698,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),
|
||||
|
||||
@@ -96,7 +96,8 @@ 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", "push r9", "push rbx", "push -5", "push 0x12345678",
|
||||
"nop dword ptr [rax + 8]", "pause", 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"]
|
||||
return list(dict.fromkeys(out))
|
||||
|
||||
|
||||
@@ -1037,6 +1037,10 @@ f5 | cmc
|
||||
0f a2 | cpuid
|
||||
0f 1f 40 08 | nop dword ptr [rax + 8]
|
||||
f3 90 | pause
|
||||
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
|
||||
|
||||
@@ -627,7 +627,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)
|
||||
@@ -1224,6 +1225,8 @@ fn undeclared_and_ambiguous_encodings_are_rejected() {
|
||||
&[0x66, 0x63, 0xC1], // 16-bit movsxd
|
||||
&[0x41, 0x90], // xchg r8, rax
|
||||
&[0x8D, 0xC0], // lea with a register operand
|
||||
&[0x0F, 0xC3, 0xC1], // movnti with a register destination
|
||||
&[0x66, 0x0F, 0xC3, 0x06], // 66 with movnti
|
||||
&[0x0F, 0xA3, 0x06], // bt [rsi], eax
|
||||
&[0xC0, 0xD0, 0x01], // rcl al, 1
|
||||
&[0xC6, 0xC8, 0x01], // C6 /1
|
||||
|
||||
@@ -106,6 +106,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)" }
|
||||
@@ -903,6 +904,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"
|
||||
|
||||
Reference in new issue
Block a user