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
3920f1fd
Commit
3920f1fd
authored
Feb 07, 2007
by
Hans-Peter Nilsson
Committed by
Hans-Peter Nilsson
Feb 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lib/target-supports.exp (check_effective_target_simulator): New.
From-SVN: r121683
parent
ed445ba3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/lib/target-supports.exp
+19
-0
No files found.
gcc/testsuite/ChangeLog
View file @
3920f1fd
2007
-
02
-
07
Hans
-
Peter
Nilsson
<
hp
@axis
.
com
>
*
lib
/
target
-
supports
.
exp
(
check_effective_target_simulator
)
:
New
.
2007
-
02
-
06
Zdenek
Dvorak
<
dvorakz
@suse
.
cz
>
*
gcc
.
dg
/
tree
-
ssa
/
loop
-
25
.
c
:
New
test
.
gcc/testsuite/lib/target-supports.exp
View file @
3920f1fd
...
...
@@ -2091,3 +2091,22 @@ proc check_effective_target_stdint_types { } {
uint8_t e; uint16_t f; uint32_t g; uint64_t h;
}]
}
# Return 1 if programs are intended to be run on a simulator
# (i.e. slowly) rather than hardware (i.e. fast).
proc check_effective_target_simulator { } {
# All "src/sim" simulators set this one.
if [board_info target exists is_simulator] {
return [board_info target is_simulator]
}
# The "sid" simulators don't set that one, but at least they set
# this one.
if [board_info target exists slow_simulator] {
return [board_info target slow_simulator]
}
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