Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
8efe4743
Commit
8efe4743
authored
Nov 27, 2016
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.25.x'
parents
0ed6a47d
afeb193f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Cython/Utility/Optimize.c
Cython/Utility/Optimize.c
+3
-3
No files found.
Cython/Utility/Optimize.c
View file @
8efe4743
...
@@ -596,7 +596,7 @@ static PyObject* __Pyx_PyInt_{{op}}{{order}}(PyObject *op1, PyObject *op2, CYTHO
...
@@ -596,7 +596,7 @@ static PyObject* __Pyx_PyInt_{{op}}{{order}}(PyObject *op1, PyObject *op2, CYTHO
}
}
return
PyInt_FromLong
(
x
);
return
PyInt_FromLong
(
x
);
{{
elif
op
==
'
Lshift
'
}}
{{
elif
op
==
'
Lshift
'
}}
if
(
likely
(
a
==
(
a
<<
b
)
>>
b
)
)
{
if
(
likely
(
b
<
sizeof
(
long
)
*
8
&&
a
==
(
a
<<
b
)
>>
b
)
||
!
a
)
{
return
PyInt_FromLong
(
a
{{
c_op
}}
b
);
return
PyInt_FromLong
(
a
{{
c_op
}}
b
);
}
}
{{
else
}}
{{
else
}}
...
@@ -685,12 +685,12 @@ static PyObject* __Pyx_PyInt_{{op}}{{order}}(PyObject *op1, PyObject *op2, CYTHO
...
@@ -685,12 +685,12 @@ static PyObject* __Pyx_PyInt_{{op}}{{order}}(PyObject *op1, PyObject *op2, CYTHO
x
=
a
{{
c_op
}}
b
;
x
=
a
{{
c_op
}}
b
;
{{
if
op
==
'
Lshift
'
}}
{{
if
op
==
'
Lshift
'
}}
#ifdef HAVE_LONG_LONG
#ifdef HAVE_LONG_LONG
if
(
unlikely
(
a
!=
x
>>
b
)
)
{
if
(
unlikely
(
!
(
b
<
sizeof
(
long
)
*
8
&&
a
==
x
>>
b
))
&&
a
)
{
ll
{{
ival
}}
=
{{
ival
}};
ll
{{
ival
}}
=
{{
ival
}};
goto
long_long
;
goto
long_long
;
}
}
#else
#else
if
(
likely
(
a
==
x
>>
b
)
)
/* execute return statement below */
if
(
likely
(
b
<
sizeof
(
long
)
*
8
&&
a
==
x
>>
b
)
||
!
a
)
/* execute return statement below */
#endif
#endif
{{
endif
}}
{{
endif
}}
{{
endif
}}
{{
endif
}}
...
...
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