Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
d5f4a527
Commit
d5f4a527
authored
Apr 22, 2010
by
Nick Clifton
Committed by
Nick Clifton
Apr 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/stormy16/stormy16-lib2.c (__ucmpsi2): Fix thinko.
From-SVN: r158646
parent
44741f03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
gcc/ChangeLog
+4
-0
gcc/config/stormy16/stormy16-lib2.c
+4
-4
No files found.
gcc/ChangeLog
View file @
d5f4a527
2010-04-22 Nick Clifton <nickc@redhat.com>
* config/stormy16/stormy16-lib2.c (__ucmpsi2): Fix thinko.
2010-04-22 Alexander Monakov <amonakov@ispras.ru>
* tree-ssa-reassoc.c (eliminate_plus_minus_pair): Handle BIT_NOT_EXPR
...
...
gcc/config/stormy16/stormy16-lib2.c
View file @
d5f4a527
...
...
@@ -318,13 +318,13 @@ __ffshi2 (UHWtype u)
word_type
__ucmpsi2
(
USItype
a
,
USItype
b
)
{
word_type
hi_a
=
(
a
<<
16
);
word_type
hi_b
=
(
b
<<
16
);
word_type
hi_a
=
(
a
>>
16
);
word_type
hi_b
=
(
b
>>
16
);
if
(
hi_a
==
hi_b
)
{
word_type
low_a
=
(
a
&
0xff
);
word_type
low_b
=
(
b
&
0xff
);
word_type
low_a
=
(
a
&
0xff
ff
);
word_type
low_b
=
(
b
&
0xff
ff
);
return
low_a
<
low_b
?
0
:
(
low_a
>
low_b
?
2
:
1
);
}
...
...
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