Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
a738e155
Commit
a738e155
authored
Apr 09, 2019
by
Antonio Niño Díaz
Committed by
TrustedFirmware Code Review
Apr 09, 2019
Browse files
Merge "aarch32: Allow compiling with soft-float toolchain" into integration
parents
dbf65238
fbd8f6c8
Changes
1
Show whitespace changes
Inline
Side-by-side
include/arch/aarch32/el3_common_macros.S
View file @
a738e155
...
@@ -92,9 +92,14 @@
...
@@ -92,9 +92,14 @@
*
*
*
FPEXC
.
EN
:
Enable
access
to
Advanced
SIMD
and
floating
point
features
*
FPEXC
.
EN
:
Enable
access
to
Advanced
SIMD
and
floating
point
features
*
from
all
exception
levels
.
*
from
all
exception
levels
.
*
*
__SOFTFP__
:
Predefined
macro
exposed
by
soft
-
float
toolchain
.
*
ARMv7
and
Cortex
-
A32
(
ARMv8
/
aarch32
)
has
both
soft
-
float
and
*
hard
-
float
variants
of
toolchain
,
avoid
compiling
below
code
with
*
soft
-
float
toolchain
as
"vmsr"
instruction
will
not
be
recognized
.
*
---------------------------------------------------------------------
*
---------------------------------------------------------------------
*/
*/
#if (ARM_ARCH_MAJOR > 7) || defined(ARMV7_SUPPORTS_VFP)
#if
(
(ARM_ARCH_MAJOR > 7) || defined(ARMV7_SUPPORTS_VFP)
) && !(__SOFTFP__)
ldr
r0
,
=(
FPEXC_RESET_VAL
|
FPEXC_EN_BIT
)
ldr
r0
,
=(
FPEXC_RESET_VAL
|
FPEXC_EN_BIT
)
vmsr
FPEXC
,
r0
vmsr
FPEXC
,
r0
isb
isb
...
...
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