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
aaab40fa
Commit
aaab40fa
authored
Jan 20, 2011
by
Michael Meissner
Committed by
Michael Meissner
Jan 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refix test for PR47251
From-SVN: r169067
parent
f22ee689
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
gcc/testsuite/ChangeLog
+6
-0
gcc/testsuite/gcc.target/powerpc/pr47251.c
+4
-4
No files found.
gcc/testsuite/ChangeLog
View file @
aaab40fa
2011-01-20 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/47251
* gcc.target/powerpc/pr47251.c: Fixup test so that it runs on
ILP32 system and not IP32.
2011-01-20 Alexandre Oliva <aoliva@redhat.com>
2011-01-20 Alexandre Oliva <aoliva@redhat.com>
PR debug/46583
PR debug/46583
...
...
gcc/testsuite/gcc.target/powerpc/pr47251.c
View file @
aaab40fa
/* { dg-do compile { target { powerpc*-*-* && ip32 } } } */
/* { dg-do compile { target { powerpc*-*-* && i
l
p32 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
/* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-options "-O2 -msoft-float -mcpu=power7" } */
/* { dg-options "-O2 -msoft-float -mcpu=power7" } */
/* PR 47151: libgcc fails to build when using --with-cpu=power7 due to a missed
/* PR 47151: libgcc fails to build when using --with-cpu=power7 due to a missed
TARGET_HARD_FLOAT test. */
TARGET_HARD_FLOAT test. */
unsigned
int
unsigned
long
long
__fixunssfdi
(
float
a
)
func
(
float
a
)
{
{
const
float
dfa
=
a
;
const
float
dfa
=
a
;
const
unsigned
int
hi
=
dfa
/
0x1
p32f
;
const
unsigned
int
hi
=
dfa
/
0x1
p32f
;
const
unsigned
int
lo
=
dfa
-
(
float
)
hi
*
0x1
p32f
;
const
unsigned
int
lo
=
dfa
-
(
float
)
hi
*
0x1
p32f
;
return
((
unsigned
int
)
hi
<<
(
4
*
8
))
|
lo
;
return
((
unsigned
long
long
)
hi
<<
(
4
*
8
))
|
lo
;
}
}
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