Commit 788d9d1b authored by jochen's avatar jochen Committed by Commit bot

Clarify arm gn configuration

R=dpranke@chromium.org
TBR=machenbach@chromium.org
BUG=
LOG=n

Review URL: https://codereview.chromium.org/1004113003

Cr-Commit-Position: refs/heads/master@{#27209}
parent f92c8a36
...@@ -123,14 +123,12 @@ config("toolchain") { ...@@ -123,14 +123,12 @@ config("toolchain") {
} }
if (arm_fpu == "vfpv3-d16") { if (arm_fpu == "vfpv3-d16") {
defines += [ "CAN_USE_VFP3_INSTRUCTIONS" ] defines += [ "CAN_USE_VFP3_INSTRUCTIONS" ]
} } else if (arm_fpu == "vfpv3") {
if (arm_fpu == "vfpv3") {
defines += [ defines += [
"CAN_USE_VFP3_INSTRUCTIONS", "CAN_USE_VFP3_INSTRUCTIONS",
"CAN_USE_VFP32DREGS", "CAN_USE_VFP32DREGS",
] ]
} } else if (arm_fpu == "neon") {
if (arm_fpu == "neon") {
defines += [ defines += [
"CAN_USE_VFP3_INSTRUCTIONS", "CAN_USE_VFP3_INSTRUCTIONS",
"CAN_USE_VFP32DREGS", "CAN_USE_VFP32DREGS",
...@@ -138,6 +136,7 @@ config("toolchain") { ...@@ -138,6 +136,7 @@ config("toolchain") {
] ]
} }
} else { } else {
# These defines ares used for the ARM simulator.
defines += [ defines += [
"CAN_USE_ARMV7_INSTRUCTIONS", "CAN_USE_ARMV7_INSTRUCTIONS",
"CAN_USE_VFP3_INSTRUCTIONS", "CAN_USE_VFP3_INSTRUCTIONS",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment