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
213a1c03
Commit
213a1c03
authored
Jan 26, 2016
by
Christian Bruel
Committed by
Christian Bruel
Jan 26, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove arm_crypto_pragma test selector
From-SVN: r232824
parent
6a8b00eb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
59 deletions
+11
-59
gcc/ChangeLog
+4
-0
gcc/doc/sourcebuild.texi
+0
-12
gcc/testsuite/ChangeLog
+7
-0
gcc/testsuite/gcc.target/arm/attr-crypto.c
+0
-1
gcc/testsuite/lib/target-supports.exp
+0
-46
No files found.
gcc/ChangeLog
View file @
213a1c03
2016-01-26 Christian Bruel <christian.bruel@st.com>
* doc/sourcebuild.texi (arm_crypto_pragma_ok): Remove.
2016-01-26 Eric Botcazou <ebotcazou@adacore.com>
* config/ia64/ia64.c (ia64_expand_vecint_compare): Use gen_int_mode.
...
...
gcc/doc/sourcebuild.texi
View file @
213a1c03
...
...
@@ -1511,12 +1511,6 @@ Target generates decimal floating point instructions with current options.
@item
arm32
ARM
target
generates
32
-
bit
code
.
@item
arm_crypto_pragma_ok
@anchor
{
arm_crypto_pragma_ok
}
ARM
target
supports
pragma
target
@code
{
fpu
=
crypto
-
neon
-
fp
-
armv8
}.
This
may
need
@code
{
-
mfpu
=
crypto
-
neon
-
fp
-
armv8
}
or
equivalent
options
.
Some
multilibs
may
be
incompatible
with
these
options
.
@item
arm_eabi
ARM
target
adheres
to
the
ABI
for
the
ARM
Architecture
.
...
...
@@ -2059,12 +2053,6 @@ The supported values of @var{feature} for directive @code{dg-add-options}
are
:
@table
@code
@item
arm_crypto_pragma
Crypto
extension
pragma
support
.
Only
ARM
targets
support
this
feature
,
and
only
then
in
certain
modes
;
see
the
@ref
{
arm_crypto_pragma_ok
,,
arm_crypto_pragma_ok
effective
target
keyword
}.
@item
arm_fp
@code
{
__ARM_FP
}
definition
.
Only
ARM
targets
support
this
feature
,
and
only
then
in
certain
modes
;
see
the
@ref
{
arm_fp_ok
,,
arm_fp_ok
effective
target
...
...
gcc/testsuite/ChangeLog
View file @
213a1c03
2016-01-26 Christian Bruel <christian.bruel@st.com>
* lib/target-supports.exp
(check_effective_target_arm_crypto_pragma_ok_nocache): Remove.
(check_effective_target_arm_crypto_pragma_ok): Likewise.
* gcc.target/arm/attr-crypto.c: Remove arm_crypto_pragma_ok test.
2016-01-26 Richard Biener <rguenther@suse.de>
PR tree-optimization/69452
...
...
gcc/testsuite/gcc.target/arm/attr-crypto.c
View file @
213a1c03
...
...
@@ -2,7 +2,6 @@
/* Make sure we can force fpu=vfp before switching using the
pragma. */
/* { dg-require-effective-target arm_fp_ok } */
/* { dg-require-effective-target arm_crypto_pragma_ok } */
/* { dg-options "-O2 -march=armv8-a" } */
/* { dg-add-options arm_fp } */
...
...
gcc/testsuite/lib/target-supports.exp
View file @
213a1c03
...
...
@@ -2852,52 +2852,6 @@ proc add_options_for_arm_crypto { flags } {
return "$flags $et_arm_crypto_flags"
}
# Return 1 if this is an ARM target supporting pragma target
# fpu=crypto-neon-fp-armv8, possibly needing -mfloat-abi=softfp or
# equivalent options. Some multilibs may be incompatible with these
# options. Also set et_arm_crypto_pragma_flags to the best options to
# add.
proc check_effective_target_arm_crypto_pragma_ok_nocache { } {
global et_arm_crypto_pragma_flags
set et_arm_crypto_pragma_flags ""
if { [check_effective_target_arm_v8_neon_ok] } {
foreach flags {"" "-mfloat-abi=softfp" "-mfpu=crypto-neon-fp-armv8" "-mfpu=crypto-neon-fp-armv8 -mfloat-abi=softfp"} {
if { [check_no_compiler_messages_nocache arm_crypto_pragmaok object {
#pragma GCC target ("fpu=crypto-neon-fp-armv8")
#include "arm_neon.h"
uint8x16_t
foo (uint8x16_t a, uint8x16_t b)
{
return vaeseq_u8 (a, b);
}
} "[add_options_for_arm_v8_neon ""] $flags"] } {
set et_arm_crypto_pragma_flags "[add_options_for_arm_v8_neon ""] $flags"
return 1
}
}
}
return 0
}
# Return 1 if this is an ARM target supporting pragma target
# -mfpu=crypto-neon-fp-armv8.
proc check_effective_target_arm_crypto_pragma_ok { } {
return [check_cached_effective_target arm_crypto_pragma_ok \
check_effective_target_arm_crypto_pragma_ok_nocache]
}
# Add options for crypto extensions pragma.
proc add_options_for_arm_crypto_pragma { flags } {
if { ! [check_effective_target_arm_crypto_pragma_ok] } {
return "$flags"
}
global et_arm_crypto_pragma_flags
return "$flags $et_arm_crypto_pragma_flags"
}
# Add the options needed for NEON. We need either -mfloat-abi=softfp
# or -mfloat-abi=hard, but if one is already specified by the
# multilib, use it. Similarly, if a -mfpu option already enables
...
...
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