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
86d0c875
Commit
86d0c875
authored
Oct 07, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Oct 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Simplify Coprocessor operators in the Thumb2 disassembler.
parent
a0ae8b4b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
be_arm.c
programs/winedbg/be_arm.c
+2
-10
No files found.
programs/winedbg/be_arm.c
View file @
86d0c875
...
@@ -1058,15 +1058,11 @@ static UINT thumb2_disasm_coprocdat(UINT inst, ADDRESS64 *addr)
...
@@ -1058,15 +1058,11 @@ static UINT thumb2_disasm_coprocdat(UINT inst, ADDRESS64 *addr)
{
{
WORD
opc2
=
(
inst
>>
5
)
&
0x07
;
WORD
opc2
=
(
inst
>>
5
)
&
0x07
;
if
(
opc2
)
dbg_printf
(
"
\n\t
cdp%s
\t
p%u, #%u, cr%u, cr%u, cr%u, #%u"
,
(
inst
&
0x10000000
)
?
"2"
:
""
,
get_nibble
(
inst
,
2
),
get_nibble
(
inst
,
5
),
get_nibble
(
inst
,
3
),
get_nibble
(
inst
,
4
),
get_nibble
(
inst
,
0
),
opc2
);
else
dbg_printf
(
"
\n\t
cdp%s
\t
p%u, #%u, cr%u, cr%u, cr%u"
,
(
inst
&
0x10000000
)
?
"2"
:
""
,
dbg_printf
(
"
\n\t
cdp%s
\t
p%u, #%u, cr%u, cr%u, cr%u"
,
(
inst
&
0x10000000
)
?
"2"
:
""
,
get_nibble
(
inst
,
2
),
get_nibble
(
inst
,
5
),
get_nibble
(
inst
,
3
),
get_nibble
(
inst
,
2
),
get_nibble
(
inst
,
5
),
get_nibble
(
inst
,
3
),
get_nibble
(
inst
,
4
),
get_nibble
(
inst
,
0
));
get_nibble
(
inst
,
4
),
get_nibble
(
inst
,
0
));
if
(
opc2
)
dbg_printf
(
", #%u"
,
opc2
);
return
0
;
return
0
;
}
}
...
@@ -1075,15 +1071,11 @@ static UINT thumb2_disasm_coprocmov1(UINT inst, ADDRESS64 *addr)
...
@@ -1075,15 +1071,11 @@ static UINT thumb2_disasm_coprocmov1(UINT inst, ADDRESS64 *addr)
WORD
opc1
=
(
inst
>>
21
)
&
0x07
;
WORD
opc1
=
(
inst
>>
21
)
&
0x07
;
WORD
opc2
=
(
inst
>>
5
)
&
0x07
;
WORD
opc2
=
(
inst
>>
5
)
&
0x07
;
if
(
opc2
)
dbg_printf
(
"
\n\t
%s%s
\t
p%u, #%u, %s, cr%u, cr%u, #%u"
,
(
inst
&
0x00100000
)
?
"mrc"
:
"mcr"
,
(
inst
&
0x10000000
)
?
"2"
:
""
,
get_nibble
(
inst
,
2
),
opc1
,
tbl_regs
[
get_nibble
(
inst
,
3
)],
get_nibble
(
inst
,
4
),
get_nibble
(
inst
,
0
),
opc2
);
else
dbg_printf
(
"
\n\t
%s%s
\t
p%u, #%u, %s, cr%u, cr%u"
,
(
inst
&
0x00100000
)
?
"mrc"
:
"mcr"
,
dbg_printf
(
"
\n\t
%s%s
\t
p%u, #%u, %s, cr%u, cr%u"
,
(
inst
&
0x00100000
)
?
"mrc"
:
"mcr"
,
(
inst
&
0x10000000
)
?
"2"
:
""
,
get_nibble
(
inst
,
2
),
opc1
,
(
inst
&
0x10000000
)
?
"2"
:
""
,
get_nibble
(
inst
,
2
),
opc1
,
tbl_regs
[
get_nibble
(
inst
,
3
)],
get_nibble
(
inst
,
4
),
get_nibble
(
inst
,
0
));
tbl_regs
[
get_nibble
(
inst
,
3
)],
get_nibble
(
inst
,
4
),
get_nibble
(
inst
,
0
));
if
(
opc2
)
dbg_printf
(
", #%u"
,
opc2
);
return
0
;
return
0
;
}
}
...
...
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