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
06d50e21
Commit
06d50e21
authored
May 24, 2013
by
Ian Bolton
Committed by
Ian Bolton
May 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AArch64 - fix invalid assembler in testcase
From-SVN: r199294
parent
50d38551
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
gcc/testsuite/ChangeLog
+7
-0
gcc/testsuite/gcc.target/aarch64/scalar_intrinsics.c
+3
-3
No files found.
gcc/testsuite/ChangeLog
View file @
06d50e21
2013-05-24 Ian Bolton <ian.bolton@arm.com>
* gcc.target/aarch64/scalar_intrinsics.c
(force_simd): Use a valid instruction.
(test_vdupd_lane_s64): Pass a valid lane argument.
(test_vdupd_lane_u64): Likewise.
2013-05-24 Richard Biener <rguenther@suse.de>
PR tree-optimization/57287
...
...
gcc/testsuite/gcc.target/aarch64/scalar_intrinsics.c
View file @
06d50e21
...
...
@@ -4,7 +4,7 @@
#include <arm_neon.h>
/* Used to force a variable to a SIMD register. */
#define force_simd(V1) asm volatile ("mov %d0, %
d1"
\
#define force_simd(V1) asm volatile ("mov %d0, %
1.d[0]"
\
: "=w"(V1) \
: "w"(V1) \
:
/* No clobbers */
);
...
...
@@ -228,13 +228,13 @@ test_vdups_lane_u32 (uint32x4_t a)
int64x1_t
test_vdupd_lane_s64
(
int64x2_t
a
)
{
return
vdupd_lane_s64
(
a
,
2
);
return
vdupd_lane_s64
(
a
,
1
);
}
uint64x1_t
test_vdupd_lane_u64
(
uint64x2_t
a
)
{
return
vdupd_lane_u64
(
a
,
2
);
return
vdupd_lane_u64
(
a
,
1
);
}
/* { dg-final { scan-assembler-times "\\tcmtst\\td\[0-9\]+, d\[0-9\]+, d\[0-9\]+" 2 } } */
...
...
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