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
37809d7d
Commit
37809d7d
authored
17 years ago
by
Hans-Peter Nilsson
Committed by
Hans-Peter Nilsson
17 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.target/cris/asm-b-1.c: New test.
From-SVN: r132548
parent
54062fc0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.target/cris/asm-b-1.c
+15
-0
No files found.
gcc/testsuite/ChangeLog
View file @
37809d7d
2008
-
02
-
22
Hans
-
Peter
Nilsson
<
hp
@axis
.
com
>
*
gcc
.
target
/
cris
/
asm
-
b
-
1
.
c
:
New
test
.
2008
-
02
-
22
Paolo
Carlini
<
pcarlini
@suse
.
de
>
PR
c
++/
35282
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.target/cris/asm-b-1.c
0 → 100644
View file @
37809d7d
/* { dg-do assemble } */
/* { dg-options "-O2" } */
/* Checking that the "b" constraint is accepted, for all target variants. */
long
sys_ipc
(
void
)
{
long
__gu_err
=
-
14
;
long
dummy_for_get_user_asm_64_
;
__asm__
__volatile__
(
"move.d [%1+],%0
\n
"
:
"=r"
(
__gu_err
),
"=b"
(
dummy_for_get_user_asm_64_
)
:
"0"
(
__gu_err
));
return
__gu_err
;
}
This diff is collapsed.
Click to expand it.
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