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
22c72158
Commit
22c72158
authored
Mar 02, 2016
by
Eric Botcazou
Committed by
Eric Botcazou
Mar 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.target/i386/pr70007.c: Tweak.
From-SVN: r233894
parent
22e3fa19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.target/i386/pr70007.c
+8
-7
No files found.
gcc/testsuite/ChangeLog
View file @
22c72158
2016-03-02 Eric Botcazou <ebotcazou@adacore.com>
* gcc.target/i386/pr70007.c: Tweak.
2016-03-02 Dominik Vogt <vogt@linux.vnet.ibm.com>
* gfortran.dg/bessel_6.f90: Reduce accuracy for S/390.
...
...
gcc/testsuite/gcc.target/i386/pr70007.c
View file @
22c72158
/* PR rtl-optimization/70007 */
/* { dg-do run } */
/* { dg-options "-O -fgcse -mbmi2" } */
/* { dg-require-effective-target bmi2 } */
/* { dg-do run { target bmi2 } } */
/* { dg-options "-O -fgcse -mbmi2 -Wno-psabi" } */
/* { dg-require-effective-target int128 } */
#include "bmi2-check.h"
typedef
unsigned
short
v32u16
__attribute__
((
vector_size
(
32
)));
typedef
unsigned
long
long
v32u64
__attribute__
((
vector_size
(
32
)));
...
...
@@ -19,11 +21,10 @@ foo (v32u16 v32u16_0, v32u64 v32u64_0, v32u64 v32u64_1)
return
v32u64_1
[
3
];
}
int
main
(
void
)
static
void
bmi2_test
(
)
{
u128
x
=
foo
((
v32u16
){
~
0xba31
,
0x47c6
},
(
v32u64
){
64
},
(
v32u64
){
0
,
0x8b217e2514d23242
,
0xac569b6dff9f82
,
0x9d4cffe03c139c
});
u128
x
=
foo
((
v32u16
){
(
unsigned
short
)
~
0xba31
,
0x47c6
},
(
v32u64
){
64
},
(
v32u64
){
0
,
0x8b217e2514d23242
,
0xac569b6dff9f82
,
0x9d4cffe03c139c
});
if
(
x
!=
0x3c74da5ca328d09
)
__builtin_abort
();
return
0
;
}
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