// extension.
def SLDT64r : RI<0x00, MRM0r, (outs GR64:$dst), (ins),
"sldt{q}\t$dst", []>, TB, Requires<[In64BitMode]>;
-let mayStore = 1 in
-def SLDT64m : RI<0x00, MRM0m, (outs), (ins i16mem:$dst),
- "sldt{q}\t$dst", []>, TB, Requires<[In64BitMode]>;
def LGDT16m : I<0x01, MRM2m, (outs), (ins opaque48mem:$src),
"lgdt{w}\t$src", []>, TB, OpSize16, Requires<[Not64BitMode]>;
// CHECK: encoding: [0x0f,0x01,0x0a]
sidtq (%rdx)
+// CHECK: sldtw %r13w
+// CHECK: encoding: [0x66,0x41,0x0f,0x00,0xc5]
+sldtw %r13w
+
// CHECK: sldtl %r13d
// CHECK: encoding: [0x41,0x0f,0x00,0xc5]
sldtl %r13d
-// CHECK: sldtq 485498096
-// CHECK: encoding: [0x48,0x0f,0x00,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
-sldtq 485498096
-
-// CHECK: sldtq 64(%rdx)
-// CHECK: encoding: [0x48,0x0f,0x00,0x42,0x40]
-sldtq 64(%rdx)
-
-// CHECK: sldtq 64(%rdx,%rax,4)
-// CHECK: encoding: [0x48,0x0f,0x00,0x44,0x82,0x40]
-sldtq 64(%rdx,%rax,4)
-
-// CHECK: sldtq -64(%rdx,%rax,4)
-// CHECK: encoding: [0x48,0x0f,0x00,0x44,0x82,0xc0]
-sldtq -64(%rdx,%rax,4)
-
-// CHECK: sldtq 64(%rdx,%rax)
-// CHECK: encoding: [0x48,0x0f,0x00,0x44,0x02,0x40]
-sldtq 64(%rdx,%rax)
-
-// CHECK: sldtq (%rdx)
-// CHECK: encoding: [0x48,0x0f,0x00,0x02]
-sldtq (%rdx)
+// CHECK: sldtq %r13
+// CHECK: encoding: [0x49,0x0f,0x00,0xc5]
+sldtq %r13
// CHECK: sldtw 485498096
// CHECK: encoding: [0x0f,0x00,0x04,0x25,0xf0,0x1c,0xf0,0x1c]