Bug: 120933387

Clone this repo:
  1. 80a68ee Add METADATA to neon_2_sse: BSD=NOTICE am: c6dbb123bd am: b4f8cb4dff am: 5e2d02c27d am: 68fd0d0a12 am: 3ffb341a27 by Bob Badour · 2 years, 9 months ago android-games-sdk-game-activity-release android-games-sdk-game-text-input-release android-games-sdk-games-controller-release android-games-sdk-games-frame-pacing-release android-games-sdk-games-memory-advice-release android-games-sdk-games-performance-tuner-release android-games-sdk-release android-s-qpr3-beta-1 android-s-v2-beta-3 android-s-v2-preview-1 android-t-preview-1 android12--mainline-release android12-dev android12-mainline-art-release android12-mainline-networkstack-release android12-mainline-tzdata3-release android12-qpr1-d-release android12-qpr1-d-s1-release android12-qpr1-d-s2-release android12-qpr1-d-s3-release android12-qpr1-release android12-qpr3-release android12-qpr3-s1-release android12-qpr3-s2-release android12-qpr3-s3-release android12-qpr3-s4-release android12-qpr3-s5-release android12-qpr3-s6-release android12-qpr3-s7-release android12L-d2-release android12L-d2-s1-release android12L-d2-s2-release android12L-d2-s3-release android12L-d2-s4-release android12L-d2-s5-release android12L-d2-s6-release android12L-d2-s7-release android12L-d2-s8-release android12L-dev android12L-gsi android12L-platform-release android12L-release android12L-s1-release android12L-tests-release android13-d1-release android13-d1-s1-release android13-d1-s2-release android13-d1-s3-release android13-dev android13-frc-adbd-release android13-frc-art-release android13-frc-cellbroadcast-release android13-frc-conscrypt-release android13-frc-documentsui-release android13-frc-extservices-release android13-frc-ipsec-release android13-frc-media-release android13-frc-media-swcodec-release android13-frc-networking-release android13-frc-neuralnetworks-release android13-frc-os-statsd-release android13-frc-permission-release android13-frc-resolv-release android13-frc-scheduling-release android13-gsi android13-mainline-adservices-release android13-mainline-appsearch-release android13-mainline-art-release android13-mainline-go-adbd-release android13-mainline-go-adservices-release android13-mainline-go-appsearch-release android13-mainline-go-art-release android13-mainline-go-cellbroadcast-release android13-mainline-go-conscrypt-release android13-mainline-go-documentsui-release android13-mainline-go-extservices-release android13-mainline-go-ipsec-release android13-mainline-go-media-release android13-mainline-go-media-swcodec-release android13-mainline-go-mediaprovider-release android13-mainline-go-networking-release android13-mainline-go-neuralnetworks-release android13-mainline-go-odp-release android13-mainline-go-os-statsd-release android13-mainline-go-permission-release android13-mainline-go-resolv-release android13-mainline-go-scheduling-release android13-mainline-go-sdkext-release android13-mainline-go-tethering-release android13-mainline-go-tzdata4-release android13-mainline-go-uwb-release android13-mainline-go-wifi-release android13-mainline-networking-release android13-mainline-tzdata4-release android13-mainline-uwb-release android13-platform-release android13-qpr1-release android13-qpr1-s1-release android13-qpr1-s2-release android13-qpr1-s3-release android13-qpr1-s4-release android13-qpr1-s5-release android13-release android13-s1-release android13-s2-release android13-s3-release android13-security-release android13-tests-release gki13-boot-release main-16k main-16k-with-phones master aml_ads_331131000 aml_art_331012050 aml_art_331113000 aml_art_331314010 aml_ase_331011020 aml_ase_331112000 aml_go_adb_330913000 aml_go_ads_330913000 aml_go_art_330913000 aml_go_ase_330913000 aml_go_cbr_330912000 aml_go_con_330913000 aml_go_doc_330912000 aml_go_ext_330912000 aml_go_ips_330911000 aml_go_med_330913000 aml_go_mpr_330912000 aml_go_net_330913000 aml_go_neu_330912000 aml_go_odp_330912000 aml_go_per_330912000 aml_go_res_330912000 aml_go_sch_330911000 aml_go_sdk_330810000 aml_go_sta_330911000 aml_go_swc_330913000 aml_go_tet_330914010 aml_go_tz4_330912000 aml_go_uwb_330912000 aml_go_wif_330911000 aml_net_330811010 aml_net_330910010 aml_net_331011030 aml_net_331110020 aml_net_331313010 aml_net_331313030 aml_sch_331111000 aml_tz3_311312010 aml_tz3_312410010 aml_tz3_312410020 aml_tz3_312511010 aml_tz4_331012000 aml_tz4_331012040 aml_tz4_331012050 aml_tz4_331314010 aml_uwb_330810010 aml_uwb_331015040 aml_uwb_331115000 aml_uwb_331310030 android-12.0.0_r16 android-12.0.0_r18 android-12.0.0_r19 android-12.0.0_r20 android-12.0.0_r21 android-12.0.0_r26 android-12.0.0_r27 android-12.0.0_r28 android-12.0.0_r29 android-12.0.0_r32 android-12.1.0_r1 android-12.1.0_r10 android-12.1.0_r11 android-12.1.0_r12 android-12.1.0_r13 android-12.1.0_r14 android-12.1.0_r15 android-12.1.0_r16 android-12.1.0_r17 android-12.1.0_r18 android-12.1.0_r19 android-12.1.0_r2 android-12.1.0_r20 android-12.1.0_r21 android-12.1.0_r22 android-12.1.0_r23 android-12.1.0_r24 android-12.1.0_r25 android-12.1.0_r26 android-12.1.0_r27 android-12.1.0_r3 android-12.1.0_r4 android-12.1.0_r5 android-12.1.0_r6 android-12.1.0_r7 android-12.1.0_r8 android-12.1.0_r9 android-13.0.0_r1 android-13.0.0_r10 android-13.0.0_r11 android-13.0.0_r12 android-13.0.0_r13 android-13.0.0_r14 android-13.0.0_r15 android-13.0.0_r16 android-13.0.0_r17 android-13.0.0_r18 android-13.0.0_r19 android-13.0.0_r2 android-13.0.0_r20 android-13.0.0_r21 android-13.0.0_r22 android-13.0.0_r23 android-13.0.0_r24 android-13.0.0_r3 android-13.0.0_r4 android-13.0.0_r5 android-13.0.0_r6 android-13.0.0_r7 android-13.0.0_r8 android-13.0.0_r9 android-cts-12.1_r1 android-cts-12.1_r2 android-cts-12.1_r3 android-cts-12.1_r4 android-cts-13.0_r1 android-cts-13.0_r2 android-mainline-12.0.0_r100 android-mainline-12.0.0_r113 android-mainline-12.0.0_r115 android-mainline-12.0.0_r122 android-mainline-12.0.0_r19 android-mainline-12.0.0_r22 android-mainline-12.0.0_r36 android-mainline-12.0.0_r39 android-mainline-12.0.0_r4 android-mainline-12.0.0_r42 android-mainline-12.0.0_r49 android-mainline-12.0.0_r5 android-mainline-12.0.0_r56 android-mainline-12.0.0_r59 android-mainline-12.0.0_r63 android-mainline-12.0.0_r69 android-mainline-12.0.0_r70 android-mainline-12.0.0_r77 android-mainline-12.0.0_r98 android-mainline-12.0.0_r99 android-platform-12.1.0_r1 android-platform-12.1.0_r10 android-platform-12.1.0_r11 android-platform-12.1.0_r2 android-platform-12.1.0_r3 android-platform-12.1.0_r4 android-platform-12.1.0_r5 android-platform-12.1.0_r6 android-platform-12.1.0_r7 android-platform-12.1.0_r8 android-platform-12.1.0_r9 android-platform-13.0.0_r1 android-platform-13.0.0_r2 android-platform-13.0.0_r3 android-platform-13.0.0_r4 android-s-qpr3-beta-1 android-s-v2-beta-2 android-s-v2-beta-3 android-s-v2-preview-1 android-s-v2-preview-2 android-security-13.0.0_r1 android-t-beta-3 android-t-preview-1 android-t-preview-2 android-vts-12.1_r1 android-vts-12.1_r2 android-vts-12.1_r3 android-vts-12.1_r4 android-vts-13.0_r1 android-vts-13.0_r2 t_frc_adb_330444000 t_frc_art_330443060 t_frc_ase_330444010 t_frc_cbr_330443000 t_frc_con_330443020 t_frc_doc_330443000 t_frc_doc_330443060 t_frc_doc_330543000 t_frc_ext_330443000 t_frc_ips_330443010 t_frc_med_330443030 t_frc_net_330443000 t_frc_neu_330443000 t_frc_neu_330443030 t_frc_odp_330442000 t_frc_per_330444010 t_frc_res_330443000 t_frc_sch_330443010 t_frc_sch_330443040 t_frc_sta_330443010 t_frc_swc_330443010 t_frc_swc_330443040 t_frc_tz4_330443010
  2. 3ffb341 Add METADATA to neon_2_sse: BSD=NOTICE am: c6dbb123bd am: b4f8cb4dff am: 5e2d02c27d am: 68fd0d0a12 by Bob Badour · 2 years, 9 months ago android-s-beta-4 android-s-beta-5 android-s-beta-1 android-s-beta-2 android-s-beta-3 android-s-beta-4 android-s-beta-5 android-s-preview-1
  3. 68fd0d0 Add METADATA to neon_2_sse: BSD=NOTICE am: c6dbb123bd am: b4f8cb4dff am: 5e2d02c27d by Bob Badour · 2 years, 9 months ago
  4. 5e2d02c Add METADATA to neon_2_sse: BSD=NOTICE am: c6dbb123bd am: b4f8cb4dff by Bob Badour · 2 years, 9 months ago
  5. b4f8cb4 Add METADATA to neon_2_sse: BSD=NOTICE am: c6dbb123bd by Bob Badour · 2 years, 9 months ago android-r-beta-2 android-r-beta-3

The NEON_2_SSE.h file is intended to simplify ARM->IA32 porting. It makes the correspondence (or a real port) between ARM NEON intrinsics (as defined in “arm_neon.h”) header and x86 SSE (up to SSE4.2) intrinsic functions as defined in corresponding x86 compilers headers files.


To take advantage of this file just include it in your project that uses ARM NEON intinsics instead of “arm_neon.h”, compile it as usual and enjoy the result.

For significant performance improvement in some cases you might need to define USE_SSE4 in your project settings. Otherwise SIMD up to SSSE3 to be used.

If NEON2SSE_DISABLE_PERFORMANCE_WARNING macro is defined, then the performance warnings are disabled.

For more information and license please read the NEON_2_SSE.h content.