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
26344433
Commit
26344433
authored
May 11, 2015
by
Steve Ellcey
Committed by
Steve Ellcey
May 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.target/mips/branch-1.c: Pass argument to bar().
From-SVN: r223010
parent
4e2c881f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.target/mips/branch-1.c
+5
-5
No files found.
gcc/testsuite/ChangeLog
View file @
26344433
2015-05-11 Steve Ellcey <sellcey@mips.com>
* gcc.target/mips/branch-1.c: Pass argument to bar().
2015-05-11 Alexander Monakov <amonakov@ispras.ru>
PR target/65753
...
...
gcc/testsuite/gcc.target/mips/branch-1.c
View file @
26344433
...
...
@@ -4,11 +4,11 @@
on zero. */
/* { dg-options "forbid_cpu=octeon.*" } */
void
bar
(
void
);
NOMIPS16
void
f1
(
int
x
)
{
if
(
x
&
4
)
bar
();
}
NOMIPS16
void
f2
(
int
x
)
{
if
((
x
>>
2
)
&
1
)
bar
();
}
NOMIPS16
void
f3
(
unsigned
int
x
)
{
if
(
x
&
0x10
)
bar
();
}
NOMIPS16
void
f4
(
unsigned
int
x
)
{
if
((
x
>>
4
)
&
1
)
bar
();
}
void
bar
(
int
);
NOMIPS16
void
f1
(
int
x
)
{
if
(
x
&
4
)
bar
(
1
);
}
NOMIPS16
void
f2
(
int
x
)
{
if
((
x
>>
2
)
&
1
)
bar
(
2
);
}
NOMIPS16
void
f3
(
unsigned
int
x
)
{
if
(
x
&
0x10
)
bar
(
3
);
}
NOMIPS16
void
f4
(
unsigned
int
x
)
{
if
((
x
>>
4
)
&
1
)
bar
(
4
);
}
/* { dg-final { scan-assembler "\tandi\t.*\tandi\t.*\tandi\t.*\tandi\t" } } */
/* { dg-final { scan-assembler-not "\tsrl\t" } } */
/* { dg-final { scan-assembler-not "\tsra\t" } } */
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