Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
06722210
Commit
06722210
authored
Jul 29, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Remove divl second argument for compatibility with clang.
parent
c1aef636
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
large_int.c
dlls/ntdll/large_int.c
+3
-6
No files found.
dlls/ntdll/large_int.c
View file @
06722210
...
...
@@ -259,14 +259,11 @@ ULONGLONG WINAPI RtlEnlargedUnsignedMultiply( UINT a, UINT b )
UINT
WINAPI
RtlEnlargedUnsignedDivide
(
ULONGLONG
a
,
UINT
b
,
UINT
*
remptr
)
{
#if defined(__i386__) && defined(__GNUC__)
UINT
ret
,
rem
,
p1
,
p2
;
UINT
ret
,
rem
;
p1
=
a
>>
32
;
p2
=
a
&
0xffffffffLL
;
__asm__
(
"divl %4,%%eax"
__asm__
(
"divl %4"
:
"=a"
(
ret
),
"=d"
(
rem
)
:
"0"
(
p2
),
"1"
(
p1
),
"g"
(
b
)
);
:
"0"
(
(
UINT
)
a
),
"1"
((
UINT
)(
a
>>
32
)
),
"g"
(
b
)
);
if
(
remptr
)
*
remptr
=
rem
;
return
ret
;
#else
...
...
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