forked from nodejs/node-v0.x-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure: port remove unused arm_neon variable
Port c6cd460 from io.js. Original commit message: Remove the configure check, the flag was dropped in V8 3.28. PR-URL: nodejs/node#559 Reviewed-By: Fedor Indutny <[email protected]>
- Loading branch information
1 parent
354f6fe
commit c601adc
Showing
1 changed file
with
0 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -393,11 +393,6 @@ def is_arch_armv6(): | |
'__ARM_ARCH_6M__' in cc_macros_cache) | ||
|
||
|
||
def is_arm_neon(): | ||
"""Check for ARM NEON support""" | ||
return '__ARM_NEON__' in cc_macros() | ||
|
||
|
||
def is_arm_hard_float_abi(): | ||
"""Check for hardfloat or softfloat eabi on ARM""" | ||
# GCC versions 4.6 and above define __ARM_PCS or __ARM_PCS_VFP to specify | ||
|
@@ -492,11 +487,9 @@ def configure_arm(o): | |
|
||
if is_arch_armv7(): | ||
o['variables']['arm_fpu'] = 'vfpv3' | ||
o['variables']['arm_neon'] = int(is_arm_neon()) | ||
o['variables']['arm_version'] = '7' | ||
else: | ||
o['variables']['arm_fpu'] = 'vfpv2' | ||
o['variables']['arm_neon'] = 0 | ||
o['variables']['arm_version'] = '6' if is_arch_armv6() else 'default' | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
misterdjules
Owner
|
||
|
||
o['variables']['arm_thumb'] = 0 # -marm | ||
|
@bnoordhuis @misterdjules Line 493 (as of commit c601adc), specifically, shows an if/else on the right-side of the assignment, probably meant to be on the next line and indented for readability so people aren't overlooking it in the future.
this is what i was referring to in my comment some time back when noting "there appears to be some extra code at the end of line 477" (which now line 493 after patches/merges since.) sorry for the late response, i'm pulled so many directions every day.