Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9107c6b0
Commit
9107c6b0
authored
Jul 11, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added disassembly for 0x0f 0x5x opcodes.
parent
1ce1bef8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
20 deletions
+54
-20
db_disasm.c
debugger/db_disasm.c
+54
-20
No files found.
debugger/db_disasm.c
View file @
9107c6b0
...
...
@@ -128,8 +128,10 @@ static BOOL db_display = FALSE;
#define STI 32
/* FP stack */
#define X 33
/* extended FP op */
#define XA 34
/* for 'fstcw %ax' */
#define MX 35
/* special register (mmx) */
#define EMX 36
/* special register (mmx) */
#define MX 35
/* special register (MMX reg %mm0-7) */
#define EMX 36
/* special register (MMX reg %mm0-7) */
#define XMM 37
/* special register (floating point reg %xmm0-7) */
#define EXMM 38
/* special register (floating point reg %xmm0-7) */
struct
inst
{
const
char
*
i_name
;
/* name */
...
...
@@ -258,23 +260,23 @@ static const struct inst db_inst_0f2x[] = {
};
static
const
struct
inst
db_inst_0f3x
[]
=
{
/*
2
0*/
{
"wrmsr"
,
FALSE
,
NONE
,
0
,
0
},
/*
2
1*/
{
"rdtsc"
,
FALSE
,
NONE
,
0
,
0
},
/*
2
2*/
{
"rdmsr"
,
FALSE
,
NONE
,
0
,
0
},
/*
2
3*/
{
"rdpmc"
,
FALSE
,
NONE
,
0
,
0
},
/*
2
4*/
{
"sysenter"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(bad)"
,
FALSE
,
NONE
,
0
,
0
},
/*
3
e*/
{
"(bad)"
,
FALSE
,
NONE
,
0
,
0
},
/*
3
f*/
{
"(bad)"
,
FALSE
,
NONE
,
0
,
0
},
};
static
const
struct
inst
db_inst_0f4x
[]
=
{
...
...
@@ -297,6 +299,26 @@ static const struct inst db_inst_0f4x[] = {
/*4f*/
{
"cmovnle"
,
TRUE
,
NONE
,
op2
(
E
,
R
),
0
},
};
static
const
struct
inst
db_inst_0f5x
[]
=
{
/*50*/
{
"movmskps"
,
TRUE
,
NONE
,
op2
(
E
,
XMM
),
0
},
/*51*/
{
"sqrtps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
/*52*/
{
"rsqrtps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
/*53*/
{
"rcpps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
/*54*/
{
"andps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
/*55*/
{
"andnps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
/*56*/
{
"orps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
/*57*/
{
"xorps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
/*58*/
{
"addps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
/*59*/
{
"mulps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
/*5a*/
{
"(bad)"
,
FALSE
,
NONE
,
0
,
0
},
/*5b*/
{
"(bad)"
,
FALSE
,
NONE
,
0
,
0
},
/*5c*/
{
"subps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
/*5d*/
{
"minps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
/*5e*/
{
"divps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
/*5f*/
{
"maxps"
,
TRUE
,
NONE
,
op2
(
XMM
,
EXMM
),
0
},
};
static
const
struct
inst
db_inst_0f6x
[]
=
{
/*60*/
{
"punpcklbw"
,
TRUE
,
NONE
,
op2
(
E
,
MX
),
0
},
/*61*/
{
"punpcklwd"
,
TRUE
,
NONE
,
op2
(
E
,
MX
),
0
},
...
...
@@ -499,7 +521,7 @@ static const struct inst * const db_inst_0f[] = {
db_inst_0f2x
,
db_inst_0f3x
,
db_inst_0f4x
,
0
,
db_inst_0f5x
,
db_inst_0f6x
,
db_inst_0f7x
,
db_inst_0f8x
,
...
...
@@ -1554,6 +1576,18 @@ void DEBUG_Disasm( DBG_ADDR *addr, int display )
DEBUG_Printf
(
DBG_CHN_MESG
,
"%%mm%d"
,
f_rm
(
regmodrm
));
}
break
;
case
XMM
:
if
(
db_display
)
{
DEBUG_Printf
(
DBG_CHN_MESG
,
"%%xmm%d"
,
f_reg
(
regmodrm
));
}
break
;
case
EXMM
:
if
(
db_display
)
{
DEBUG_Printf
(
DBG_CHN_MESG
,
"%%xmm%d"
,
f_rm
(
regmodrm
));
}
break
;
case
Rw
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment