Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ parser.add_option('--with-arm-float-abi',
help='specifies which floating-point ABI to use. Valid values are: '
'soft, softfp, hard')

parser.add_option('--with-arm-fpu',
action='store',
dest='arm_fpu',
help='specifies which vector floating point unit to use. Valid values are: '
'vfpv3, vfpv3-d16, neon')

parser.add_option('--with-dtrace',
action='store_true',
dest='with_dtrace',
Expand Down Expand Up @@ -490,14 +496,19 @@ def configure_arm(o):
else:
arm_float_abi = 'default'

if options.arm_fpu:
arm_fpu = options.arm_fpu
else:
arm_fpu = 'vfpv3'

if is_arch_armv7():
o['variables']['arm_version'] = '7'
elif is_arch_armv6():
o['variables']['arm_version'] = '6'
else:
o['variables']['arm_version'] = 'default'

o['variables']['arm_fpu'] = 'vfpv3' # V8 3.18 no longer supports VFP2.
o['variables']['arm_fpu'] = arm_fpu
o['variables']['arm_neon'] = int(is_arm_neon())
o['variables']['arm_thumb'] = 0 # -marm
o['variables']['arm_float_abi'] = arm_float_abi
Expand Down