Closed Bug 1518994 Opened 5 years ago Closed 5 years ago

Enable NEON in AudioNodeEngine on aarch64

Categories

(Core :: Web Audio, enhancement, P2)

ARM64
Android
enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

References

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → m_kato
OS: Unspecified → Android
Hardware: Unspecified → ARM64
Summary: Enable → Enable NEON in AudioNodeEngine on aarch64

OpenMAX IL doesn't fully support on aarch64 and we don't define BUILD_ARM_NEON on aarch64 (bug 1303952)...

s/OpenMAX IL/OpenMAX DL/

ffmpeg has aarch64 assembly for FFTs. We'd need to import fft_init_aarch64.c and fft_neon.S from libavcodec/aarch64 into ffvpx, similarly to some of what was done in bug 1476231.

Although we don't define BUILD_ARM_NEON on aarch64 (bug 1303952), aarch64
supports NEON, so we should turn on NEON for AudioNodeEngine.

OpenMAX DL doesn't support aarch64 since we modify some codes.  So FFTBlock.h
still use ARM32 only.

Also, MSVC cannot use arm_neon.h header, doesn't allow
`float32x4_t zero = {0, 0, 0, 0};` and throws compiler warning.
So we need some workarounds to use this on MSVC.
Rank: 15
Priority: -- → P2
Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/ebca585ed555
Enable NEON in AudioNodeEngine on aarch64. r=drno
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Depends on: 1520021
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: