From b5d167784804c5597c5b33e4e0b117e824ffeb47 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Mon, 11 Jan 2010 21:27:59 +0000 Subject: [PATCH] GETSC instruction disasm --- bochs/disasm/dis_tables.inc | 12 ++++++------ bochs/disasm/opcodes.inc | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/bochs/disasm/dis_tables.inc b/bochs/disasm/dis_tables.inc index e89875378..d8a09e717 100755 --- a/bochs/disasm/dis_tables.inc +++ b/bochs/disasm/dis_tables.inc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: dis_tables.inc,v 1.28 2009-12-17 09:13:34 sshwarts Exp $ +// $Id: dis_tables.inc,v 1.29 2010-01-11 21:27:59 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (c) 2005-2009 Stanislav Shwartsman @@ -3896,7 +3896,7 @@ static BxDisasmOpcodeTable_t BxDisasmOpcodes16[256*2] = { /* 0F 34 */ { 0, &Ia_sysenter }, /* 0F 35 */ { 0, &Ia_sysexit }, /* 0F 36 */ { 0, &Ia_Invalid }, - /* 0F 37 */ { 0, &Ia_Invalid }, + /* 0F 37 */ { 0, &Ia_getsec }, /* 0F 38 */ { GR3BTAB(0f38) }, /* 0F 39 */ { 0, &Ia_Invalid }, /* 0F 3A */ { GR3BTAB(0f3a) }, @@ -4417,7 +4417,7 @@ static BxDisasmOpcodeTable_t BxDisasmOpcodes32[256*2] = { /* 0F 34 */ { 0, &Ia_sysenter }, /* 0F 35 */ { 0, &Ia_sysexit }, /* 0F 36 */ { 0, &Ia_Invalid }, - /* 0F 37 */ { 0, &Ia_Invalid }, + /* 0F 37 */ { 0, &Ia_getsec }, /* 0F 38 */ { GR3BTAB(0f38) }, /* 0F 39 */ { 0, &Ia_Invalid }, /* 0F 3A */ { GR3BTAB(0f3a) }, @@ -4938,7 +4938,7 @@ static BxDisasmOpcodeTable_t BxDisasmOpcodes64w[256*2] = { /* 0F 34 */ { 0, &Ia_sysenter }, /* 0F 35 */ { 0, &Ia_sysexit }, /* 0F 36 */ { 0, &Ia_Invalid }, - /* 0F 37 */ { 0, &Ia_Invalid }, + /* 0F 37 */ { 0, &Ia_getsec }, /* 0F 38 */ { GR3BTAB(0f38) }, /* 0F 39 */ { 0, &Ia_Invalid }, /* 0F 3A */ { GR3BTAB(0f3a) }, @@ -5456,7 +5456,7 @@ static BxDisasmOpcodeTable_t BxDisasmOpcodes64d[256*2] = { /* 0F 34 */ { 0, &Ia_sysenter }, /* 0F 35 */ { 0, &Ia_sysexit }, /* 0F 36 */ { 0, &Ia_Invalid }, - /* 0F 37 */ { 0, &Ia_Invalid }, + /* 0F 37 */ { 0, &Ia_getsec }, /* 0F 38 */ { GR3BTAB(0f38) }, /* 0F 39 */ { 0, &Ia_Invalid }, /* 0F 3A */ { GR3BTAB(0f3a) }, @@ -5974,7 +5974,7 @@ static BxDisasmOpcodeTable_t BxDisasmOpcodes64q[256*2] = { /* 0F 34 */ { 0, &Ia_sysenter }, /* 0F 35 */ { 0, &Ia_sysexit }, /* 0F 36 */ { 0, &Ia_Invalid }, - /* 0F 37 */ { 0, &Ia_Invalid }, + /* 0F 37 */ { 0, &Ia_getsec }, /* 0F 38 */ { GR3BTAB(0f38) }, /* 0F 39 */ { 0, &Ia_Invalid }, /* 0F 3A */ { GR3BTAB(0f3a) }, diff --git a/bochs/disasm/opcodes.inc b/bochs/disasm/opcodes.inc index 9ab92aa65..05de25293 100755 --- a/bochs/disasm/opcodes.inc +++ b/bochs/disasm/opcodes.inc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: opcodes.inc,v 1.29 2009-12-17 09:17:45 sshwarts Exp $ +// $Id: opcodes.inc,v 1.30 2010-01-11 21:27:59 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (c) 2005-2009 Stanislav Shwartsman @@ -434,6 +434,7 @@ Ia_fxsave = { "fxsave", "fxsave", Mx, XX, XX, XX, IA_P6 }, Ia_fxtract = { "fxtract", "fxtract", XX, XX, XX, XX, IA_X87 }, Ia_fyl2x = { "fyl2x", "fyl2x", XX, XX, XX, XX, IA_X87 }, Ia_fyl2xp1 = { "fyl2xp1", "fyl2xp1", XX, XX, XX, XX, IA_X87 }, +Ia_getsec = { "getsec", "getsec", XX, XX, XX, XX, IA_SMX }, Ia_haddpd_Vpd_Wpd = { "haddpd", "haddpd", Vpd, Wpd, XX, XX, IA_SSE3 }, Ia_haddps_Vps_Wps = { "haddps", "haddps", Vps, Wps, XX, XX, IA_SSE3 }, Ia_hlt = { "hlt", "hlt", XX, XX, XX, XX, 0 },